base_mid.css 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. :root {
  2. --head-font: 'Montserrat', sans-serif;
  3. --main-font: 'Open Sans', sans-serif;
  4. --main-size: 1.2em;
  5. --medium-size: 0.85em;
  6. --small-size: 0.65em;
  7. --unit-size: 1em;
  8. --side-margin: 5em;
  9. --nav-size: 15em;
  10. }
  11. body,
  12. html {
  13. background: #2E3945;
  14. background: -moz-linear-gradient(80deg, #2E3945 0%, #61778C 100%);
  15. background: -webkit-linear-gradient(80deg, #2E3945 0%, #61778C 100%);
  16. background: linear-gradient(80deg, #2E3945 0%, #61778C 100%);
  17. background-attachment: fixed;
  18. background-size: cover;
  19. color: #F6F6F6;
  20. font-family: var(--main-font);
  21. font-size: var(--main-size);
  22. margin: 0;
  23. padding: 0;
  24. }
  25. ul {
  26. text-decoration: none;
  27. margin: 0;
  28. padding: 0;
  29. list-style: none;
  30. }
  31. li {
  32. margin: 0;
  33. padding: 0;
  34. }
  35. a:link {
  36. text-decoration: none;
  37. outline: 0;
  38. color: #F6F6F6;
  39. margin: 0;
  40. padding: 0;
  41. }
  42. a:visited {
  43. outline: 0;
  44. color: #F6F6F6;
  45. margin: 0;
  46. padding: 0;
  47. }
  48. b {
  49. font-family: var(--head-font);
  50. font-weight: 800;
  51. }
  52. /*-------------------------------------*/
  53. /* HEADER -----------------------------*/
  54. #header {
  55. position: fixed;
  56. top: 0;
  57. left: 0;
  58. right: 0;
  59. background-color: #272E36;
  60. box-shadow: 0px 0px 60px -20px rgba(0, 0, 0, 0.75);
  61. padding: var(--main-size);
  62. height: var(--main-size);
  63. }
  64. #top {
  65. display: flex;
  66. justify-content: space-between;
  67. align-items: center;
  68. flex-wrap: wrap;
  69. width: 100%;
  70. }
  71. .icon-menu {
  72. position: relative;
  73. display: flex;
  74. align-items: center;
  75. width: var(--unit-size);
  76. height: var(--unit-size);
  77. cursor: pointer;
  78. transition: all .5s ease-in-out;
  79. }
  80. .icon-menu label {
  81. width: var(--unit-size);
  82. height: 2px;
  83. background: #F6F6F6;
  84. transition: all .5s ease-in-out;
  85. }
  86. .icon-menu label::before,
  87. .icon-menu label::after {
  88. content: '';
  89. position: absolute;
  90. width: var(--unit-size);
  91. height: 2px;
  92. background: #F6F6F6;
  93. transition: all .5s ease-in-out;
  94. }
  95. .icon-menu label::before {
  96. transform: translateY(-6px);
  97. }
  98. .icon-menu label::after {
  99. transform: translateY(6px);
  100. }
  101. #toggle:checked+div label{
  102. width: 0px;
  103. }
  104. #toggle:checked+div label::before {
  105. transform: rotate(45deg);
  106. }
  107. #toggle:checked+div label::after {
  108. transform: rotate(-45deg);
  109. }
  110. #instance {
  111. order: 2;
  112. }
  113. #instance b {
  114. margin: 0;
  115. padding: 0;
  116. vertical-align: middle;
  117. margin-left: calc(0.2 * var(--unit-size));
  118. }
  119. .icon-logo {
  120. margin: 0;
  121. padding: 0;
  122. display: inline-block;
  123. width: var(--unit-size);
  124. height: var(--unit-size);
  125. stroke-width: 0;
  126. stroke: currentColor;
  127. fill: currentColor;
  128. vertical-align: middle;
  129. }
  130. #left-panel {
  131. order: 2;
  132. }
  133. #search {
  134. order: 3;
  135. }
  136. .icon-search {
  137. margin: 0;
  138. padding: 0;
  139. display: inline-block;
  140. width: var(--unit-size);
  141. height: var(--unit-size);
  142. stroke-width: 0;
  143. stroke: currentColor;
  144. fill: currentColor;
  145. align-self: center;
  146. }