styles.css 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. @font-face {
  2. font-family: "Helvetica Neue";
  3. src: url('../fonts/helveticaneuecyr-light.otf');
  4. }
  5. @font-face {
  6. font-family: "AvenirNextLTPro-Demi";
  7. src: url('../fonts/AvenirNextLTPro-Demi.otf');
  8. }
  9. body{
  10. font-family: Helvetica;
  11. margin: 0;
  12. }
  13. h1,h2,h3{
  14. margin: 0;
  15. }
  16. ul,li {
  17. margin: 0;
  18. padding: 0;
  19. }
  20. body * {
  21. box-sizing: border-box;
  22. }
  23. /* navbar */
  24. .navbar {
  25. position: fixed;
  26. top: 0;
  27. width: 100%;
  28. height: 50px;
  29. background-color: #F3F3F5;
  30. }
  31. .navbar .fa-bars {
  32. display: inline-block;
  33. cursor: pointer;
  34. color: #010101;
  35. width: 10%;
  36. padding-left: 25px;
  37. padding-top: 15px;
  38. text-align: left;
  39. font-size: 22px;
  40. }
  41. .navbar .logo {
  42. display: inline-block;
  43. font-family: "Helvetica Neue",Arial,sans-serif;
  44. font-weight: bold;
  45. font-size: 25px;
  46. letter-spacing: 0.1em;
  47. width: 80%;
  48. text-align: center;
  49. }
  50. .navbar .undefined-btn {
  51. width: 80%;
  52. display: inline-block;
  53. }
  54. /* navbar */
  55. /* navmenu */
  56. .nav-menu {
  57. position: fixed;
  58. top: 0;
  59. left: 0;
  60. height: 100vh;
  61. width: 281px;
  62. background-color: #1D1D1F;
  63. padding: 50px;
  64. padding-top: 100px;
  65. transform: translateX(-281px);
  66. }
  67. .nav-menu li {
  68. list-style-type: none;
  69. padding: 15px 0;
  70. }
  71. .nav-menu li a {
  72. font-family: "AvenirNextLTPro-Demi", Arial, sans-serif;
  73. color: #fff;
  74. text-decoration: none;
  75. }
  76. /* navmenu */
  77. .open-menu {
  78. transition: all 1s cubic-bezier(.645,.045,.355,1);
  79. transform: translateX(281px);
  80. }
  81. .close-menu {
  82. transition: all 1s cubic-bezier(.645,.045,.355,1);
  83. transform: translateX(0px);
  84. }