Advertisement
Guest User

12

a guest
Feb 27th, 2020
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.61 KB | None | 0 0
  1. @import url(https://fonts.googleapis.com/css?family=Roboto:400,400i,700,700i&display=swap);
  2.  
  3. body {
  4. font-family: "Roboto", sans-serif;
  5. background: url(media/back.jpg) no-repeat;
  6. margin: 0;
  7. padding: 0;
  8. }
  9.  
  10. /* --------------------------- HEADER ------------------------- */
  11.  
  12. .container {
  13. max-width: 1000px;
  14. height: 100%;
  15. width: 1fr;
  16. margin: 0 auto;
  17. }
  18.  
  19. .header {
  20. display: flex;
  21. flex-direction: row;
  22. justify-content: space-around;
  23. border: 1px solid;
  24. }
  25.  
  26. .header__logo {
  27. flex-basis: 33%;
  28. border: 1px solid;
  29. display: flex;
  30. justify-content: center;
  31. align-items: center;
  32. }
  33.  
  34. .header__search {
  35. flex-basis: 33%;
  36. border: 1px solid;
  37. display: flex;
  38. justify-content: center;
  39. align-items: center;
  40. }
  41.  
  42. .header__menu {
  43. flex-basis: 33%;
  44. border: 1px solid;
  45. display: flex;
  46. justify-content: center;
  47. align-items: center;
  48. }
  49.  
  50. .header__menu__nav {
  51. display: flex;
  52. flex-flow: row wrap;
  53. }
  54.  
  55. .header__menu__nav--li {
  56. list-style-type: none;
  57. margin-left: 20px;
  58. }
  59.  
  60.  
  61. /* ------------------------------GRID MAIN ------------------------ */
  62.  
  63. div.xuy {
  64. height: 100%;
  65. display: grid;
  66. grid-template: repeat(3,1fr) / repeat(3, 1fr);
  67. grid-template-areas:
  68. "one two three"
  69. "one two three"
  70. "one list table1"
  71. }
  72.  
  73. div.block__table{
  74. grid-area: table1;
  75. }
  76.  
  77. .block__list {
  78. grid-area: list;
  79. border: 0.5px solid;
  80.  
  81. }
  82.  
  83. .block__img {
  84. grid-area: img_;
  85. border: 0.5px solid;
  86.  
  87. }
  88.  
  89. .block__text {
  90. grid-area: text_;
  91. border: 0.5px solid;
  92.  
  93. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement