base.css 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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-family: Georgia, 'Times New Roman', Times, serif;
  73. font-style: bold;
  74. color: #946137;
  75. font-size: 2vw;
  76. transition: color 0.3s ease-in;
  77. }
  78. .nav_chapter_text:hover {
  79. color: #f3d5be;
  80. }
  81. .nav_chapter {
  82. text-align: center;
  83. width: 30%;
  84. border-bottom: 0.2vw solid #d49d51;
  85. transition: border-bottom 0.3s ease-in;
  86. }
  87. .nav_chapter:hover {
  88. text-decoration: none;
  89. border-bottom: 0.2vw solid #face7d;
  90. }
  91. .nav_user_name_div {
  92. height: 100%;
  93. }
  94. body::-webkit-scrollbar {
  95. width: 0.8vw; /* ширина scrollbar */
  96. }
  97. body::-webkit-scrollbar-thumb {
  98. background-color: #d49d51; /* цвет плашки */
  99. border-radius: 5vw; /* закругления плашки */
  100. border: 0.25vw solid #ffffff;
  101. }