left_small.css 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. .navbar {
  2. display: flex;
  3. flex-direction: column;
  4. width: var(--nav-size);
  5. height: calc(100vh - (3 * var(--unit-size)));
  6. position: fixed;
  7. background: rgb(51,61,71);
  8. background: -moz-linear-gradient(80deg, rgba(51,61,71,1) 0%, rgba(39,46,54,1) 90%);
  9. background: -webkit-linear-gradient(80deg, rgba(51,61,71,1) 0%, rgba(39,46,54,1) 90%);
  10. background: linear-gradient(80deg, rgba(51,61,71,1) 0%, rgba(39,46,54,1) 90%);
  11. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#333d47",endColorstr="#272e36",GradientType=1);
  12. margin-top: calc(3 * var(--main-size));
  13. }
  14. .navbar .left-nav {
  15. flex: 1;
  16. }
  17. .navbar .left-nav a {
  18. margin-left: var(--unit-size);
  19. }
  20. .navbar .footer {
  21. display: flex;
  22. flex-wrap: wrap;
  23. flex-direction: row;
  24. font-size: var(--medium-size);
  25. padding: var(--unit-size);
  26. margin-bottom: var(--unit-size);
  27. }
  28. .navbar .footer a {
  29. margin-right: var(--unit-size);
  30. }
  31. .navbar {
  32. left: -100%;
  33. top:0;
  34. transition: 0.3s ease;
  35. }
  36. .navbar a {
  37. display: block;
  38. color: #91B9D0;
  39. font-size: var(--medium-size);
  40. }
  41. .navbar .left-nav a {
  42. margin-bottom: var(--unit-size);
  43. }
  44. .navbar .left-nav a:last-child {
  45. margin-bottom: 0;
  46. }
  47. .navbar .left-nav a:nth-child(1) {
  48. margin-top: var(--unit-size);
  49. }
  50. .navbar a:hover {
  51. color: #F6F6F6;
  52. transition: all 0.8s ease;
  53. }
  54. .icon-menu label {
  55. display: block;
  56. cursor: pointer;
  57. }
  58. #toggle {
  59. position: absolute;
  60. z-index: 2;
  61. cursor: pointer;
  62. opacity: 0;
  63. }
  64. .left-panel input[type=checkbox] {
  65. transform: scale(2);
  66. -ms-transform: scale(2);
  67. -webkit-transform: scale(2);
  68. padding: 10px;
  69. }
  70. #toggle:checked~.navbar {
  71. display: flex;
  72. left: 0;
  73. top: 0;
  74. transition: 0.3s ease;
  75. }
  76. .profile {
  77. display: flex;
  78. flex-wrap: wrap;
  79. background-color: rgba(0, 0, 0, 0.20);
  80. padding: var(--unit-size);
  81. font-size: var(--small-size);
  82. margin-bottom: var(--unit-size);
  83. vertical-align: middle;
  84. }
  85. .icon-avatar {
  86. order: 1;
  87. height: calc(5 * var(--unit-size));
  88. width: 25%;
  89. margin-right: var(--small-size);
  90. }
  91. .info {
  92. order: 2;
  93. }
  94. .info #nick {
  95. order: 1;
  96. margin-bottom: var(--small-size);
  97. }
  98. .info .tags {
  99. order: 2;
  100. margin-bottom: var(--small-size);
  101. }
  102. .info .stats {
  103. order: 3;
  104. }
  105. .info .tags i {
  106. color: #91B9D0;
  107. }
  108. .info .tags i:last-child {
  109. margin-left: var(--small-size);
  110. }
  111. .stats span:last-child {
  112. margin-left: var(--small-size);
  113. }
  114. input {
  115. filter: none;
  116. }