base_small.css 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  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: 2em;
  9. --nav-size: 100%;
  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. flex-wrap: wrap;
  68. width: 100%;
  69. align-items: center;
  70. }
  71. .icon-menu {
  72. position: relative;
  73. width: var(--unit-size);
  74. height: var(--unit-size);
  75. }
  76. .icon-menu label {
  77. width: var(--unit-size);
  78. height: 2px;
  79. background: #F6F6F6;
  80. transition: all .5s ease-in-out;
  81. }
  82. .icon-menu label::before,
  83. .icon-menu label::after {
  84. content: '';
  85. position: absolute;
  86. width: var(--unit-size);
  87. height: 2px;
  88. background: #F6F6F6;
  89. transition: all .5s ease-in-out;
  90. }
  91. .icon-menu label::before {
  92. transform: translateY(-6px);
  93. }
  94. .icon-menu label::after {
  95. transform: translateY(6px);
  96. }
  97. #toggle:checked+div label{
  98. width: 0px;
  99. }
  100. #toggle:checked+div label::before {
  101. transform: rotate(45deg);
  102. }
  103. #toggle:checked+div label::after {
  104. transform: rotate(-45deg);
  105. }
  106. #instance {
  107. order: 2;
  108. }
  109. #instance b {
  110. margin: 0;
  111. padding: 0;
  112. vertical-align: middle;
  113. margin-left: calc(0.2 * var(--unit-size));
  114. }
  115. .icon-logo {
  116. margin: 0;
  117. padding: 0;
  118. display: inline-block;
  119. width: var(--unit-size);
  120. height: var(--unit-size);
  121. stroke-width: 0;
  122. stroke: currentColor;
  123. fill: currentColor;
  124. vertical-align: middle;
  125. }
  126. #left-panel {
  127. order: 2;
  128. }
  129. #search {
  130. order: 3;
  131. }
  132. .icon-search {
  133. margin: 0;
  134. padding: 0;
  135. display: inline-block;
  136. width: var(--unit-size);
  137. height: var(--unit-size);
  138. stroke-width: 0;
  139. stroke: currentColor;
  140. fill: currentColor;
  141. }