base.css 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. html {
  2. background-color: #fdf5e6;
  3. height: 100%;
  4. }
  5. body {
  6. min-height: 100%;
  7. }
  8. .navbar {
  9. margin-top: -1.4vw;
  10. background-color: #dcb495;
  11. display: inline-flex;
  12. height: 8vw;
  13. }
  14. #navbar {
  15. margin-top: -80px;
  16. position: fixed;
  17. width: 100%;
  18. transition: top 0.3s;
  19. opacity: .9;
  20. border-bottom: 1px solid #bf9c81;
  21. }
  22. .auth_button {
  23. color: #ffffff;
  24. font-size: 1.5vw;
  25. transition: color 0.5s ease-in, border-bottom 0.5s ease-in;
  26. }
  27. .auth_button:hover {
  28. color: #694a2d;
  29. border-bottom: 3px solid #f3c79e;
  30. text-decoration: none;
  31. }
  32. .footer {
  33. background-color: #171717;
  34. height: 15vw;
  35. }
  36. .footer_block {
  37. height: 100%;
  38. width: 90%;
  39. margin-left: 5%;
  40. display: flex;
  41. align-content: center;
  42. align-items: center;
  43. }
  44. .footer_logo, .nav_logo {
  45. width: 7vw;
  46. height: 6vw;
  47. }
  48. .footer_rights {
  49. color: #ffffff;
  50. font-size: 1.5vw;
  51. width: 85%;
  52. text-align: center;
  53. }
  54. .nav_panel {
  55. width: 100%;
  56. display: inline-flex;
  57. justify-content: center;
  58. }
  59. .nav_user {
  60. display: flex;
  61. flex-direction: row;
  62. justify-content: center;
  63. height: 100%;
  64. align-items: center;
  65. }
  66. .nav_user_name {
  67. margin-left: 1vw;
  68. align-self: center;
  69. }
  70. .nav_chapter_text {
  71. height: 100%;
  72. font-style: bold;
  73. color: #946137;
  74. font-size: 2vw;
  75. transition: color 0.3s ease-in;
  76. }
  77. .nav_chapter_text:hover {
  78. color: #f3d5be;
  79. }
  80. .nav_chapter {
  81. text-align: center;
  82. width: 30%;
  83. border-bottom: 0.2vw solid #d49d51;
  84. transition: border-bottom 0.3s ease-in;
  85. }
  86. .nav_chapter:hover {
  87. text-decoration: none;
  88. border-bottom: 0.2vw solid #face7d;
  89. }
  90. .nav_user_name_div {
  91. height: 100%;
  92. }
  93. body::-webkit-scrollbar {
  94. width: 0.8vw; /* ширина scrollbar */
  95. }
  96. body::-webkit-scrollbar-thumb {
  97. background-color: #d49d51; /* цвет плашки */
  98. border-radius: 5vw; /* закругления плашки */
  99. border: 0.25vw solid #ffffff;
  100. }