common.css 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');
  2. *{
  3. margin: 0;
  4. }
  5. body{
  6. width: 100%;
  7. background-color: #202225;
  8. font-family: "Poppins";
  9. color: #ffffff;
  10. /*overflow-x: hidden;*/
  11. }
  12. a{
  13. text-decoration: none;
  14. color: #ffffff;
  15. }
  16. a:hover{
  17. color: #66ddcc;
  18. }
  19. #wallpaper{
  20. position: fixed;
  21. top: 0;
  22. left: 0;
  23. width: 100vw;
  24. height: 100vh;
  25. background-size: cover;
  26. background-repeat: no-repeat;
  27. background-position: center center;
  28. }
  29. #main-container{
  30. width: 100vw;
  31. }
  32. header{
  33. position: fixed;
  34. top: 0;
  35. left: 0;
  36. width: 100vw;
  37. padding-left: 12%;
  38. padding-right: 12%;
  39. box-sizing: border-box;
  40. background-color: transparent;
  41. z-index: 2;
  42. }
  43. #bar{
  44. list-style: none;
  45. text-align: right;
  46. }
  47. #nav-logo{
  48. transition: 0.3s ease;
  49. margin-left: calc(6vh*-1);
  50. margin-top: -6%;
  51. width: 18vw;
  52. height: 12vh;
  53. background-image: url("icons/sus.png");
  54. background-size: contain;
  55. background-repeat: no-repeat;
  56. transform: scaleY(-1);
  57. display: inline-block;
  58. }
  59. #nav-logo:hover{
  60. margin-top: 0;
  61. }
  62. #bar li:first-child{
  63. float: left;
  64. padding: 0;
  65. }
  66. #bar li {
  67. padding-top: calc(6vh - 18px);
  68. display: inline-block;
  69. padding-left: 3%;
  70. font-size: 18px;
  71. }
  72. .now{
  73. color: #66ddcc;
  74. }
  75. #copyright{
  76. position: fixed;
  77. bottom: 0;
  78. margin: 0;
  79. padding-bottom: 12px;
  80. width: 100%;
  81. box-sizing: border-box;
  82. text-align: center;
  83. font-size: 12px;
  84. color: #eeeeee;
  85. background-color: transparent;
  86. z-index: 1;
  87. }
  88. ::selection{
  89. background-color: transparent;
  90. color: #66ddcc;
  91. }
  92. ::-webkit-scrollbar {
  93. display: none;
  94. }
  95. @media screen and (max-width: 850px) {
  96. #bar li{
  97. padding-left: 2%;
  98. font-size: 14px;
  99. }
  100. header, #copyright{
  101. background-color: rgba(32, 34, 37, 0.5);
  102. }
  103. }
  104. @media screen and (max-width: 620px) {
  105. #wallpaper{
  106. background-image: none;
  107. }
  108. /* #nav-logo{
  109. margin-top: 0;
  110. } */
  111. #bar li{
  112. padding-left: 1%;
  113. font-size: 12px;
  114. }
  115. }