Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

282 lines
4.7KB

  1. :root {
  2. --bg: #f4f7fb;
  3. --bg-accent: #ebf2ff;
  4. --surface: #ffffff;
  5. --surface-alt: #f7faff;
  6. --ink: #1f2937;
  7. --muted: #5f6d85;
  8. --line: #d9e3f5;
  9. --brand: #1363df;
  10. --brand-strong: #0b4fb5;
  11. --brand-soft: #eaf2ff;
  12. --danger: #b42318;
  13. --success: #15803d;
  14. --radius-sm: 10px;
  15. --radius-md: 14px;
  16. --radius-lg: 18px;
  17. --shadow-sm: 0 6px 18px rgba(20, 40, 80, 0.08);
  18. --shadow-md: 0 18px 40px rgba(20, 40, 80, 0.12);
  19. }
  20. *,
  21. *::before,
  22. *::after {
  23. box-sizing: border-box;
  24. }
  25. html,
  26. body {
  27. min-height: 100%;
  28. }
  29. body {
  30. margin: 0;
  31. color: var(--ink);
  32. font-family: "Manrope", "Segoe UI", sans-serif;
  33. background:
  34. radial-gradient(90rem 45rem at -20% -15%, #dbe9ff 0%, transparent 45%),
  35. radial-gradient(80rem 40rem at 120% -10%, #d8f0ff 0%, transparent 40%),
  36. linear-gradient(180deg, var(--bg-accent) 0%, var(--bg) 26rem, var(--bg) 100%);
  37. line-height: 1.55;
  38. }
  39. h1,
  40. h2,
  41. h3,
  42. h4,
  43. h5,
  44. h6,
  45. .h1,
  46. .h2,
  47. .h3,
  48. .h4,
  49. .h5,
  50. .h6 {
  51. color: #182032;
  52. letter-spacing: -0.02em;
  53. }
  54. h1,
  55. .h1,
  56. h2,
  57. .h2 {
  58. font-family: "Fraunces", Georgia, serif;
  59. }
  60. p,
  61. label,
  62. li {
  63. color: var(--ink);
  64. }
  65. .text-muted {
  66. color: var(--muted) !important;
  67. }
  68. a {
  69. color: var(--brand);
  70. text-decoration: none;
  71. transition: color 0.16s ease, opacity 0.16s ease;
  72. }
  73. a:hover {
  74. color: var(--brand-strong);
  75. }
  76. main.routekit-main {
  77. padding-top: 2rem;
  78. padding-bottom: 2.75rem;
  79. animation: page-fade 260ms ease-out;
  80. }
  81. .container {
  82. max-width: 1120px;
  83. }
  84. .rk-topnav {
  85. position: sticky;
  86. top: 0;
  87. z-index: 1000;
  88. backdrop-filter: blur(8px);
  89. background: linear-gradient(120deg, #102241 0%, #173a72 56%, #1c4c90 100%);
  90. border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  91. box-shadow: 0 8px 24px rgba(8, 20, 48, 0.26);
  92. }
  93. .rk-navbar-brand {
  94. font-weight: 800;
  95. letter-spacing: 0.03em;
  96. color: #ffffff !important;
  97. }
  98. .rk-navbar-brand span {
  99. color: #d5e6ff;
  100. font-weight: 600;
  101. margin-left: 0.35rem;
  102. }
  103. .navbar .nav-link {
  104. border-radius: 999px;
  105. color: rgba(238, 244, 255, 0.86) !important;
  106. font-weight: 600;
  107. padding: 0.35rem 0.8rem !important;
  108. }
  109. .navbar .nav-link:hover {
  110. color: #ffffff !important;
  111. background-color: rgba(255, 255, 255, 0.13);
  112. }
  113. .navbar .nav-link.active {
  114. color: #fff !important;
  115. background: rgba(255, 255, 255, 0.2);
  116. }
  117. .dropdown-menu {
  118. border: 1px solid var(--line);
  119. border-radius: var(--radius-sm);
  120. box-shadow: var(--shadow-sm);
  121. }
  122. .dropdown-item {
  123. border-radius: 8px;
  124. }
  125. .card {
  126. border: 1px solid var(--line);
  127. border-radius: var(--radius-md);
  128. background: var(--surface);
  129. box-shadow: var(--shadow-sm);
  130. }
  131. .card.border-danger {
  132. border-color: #f5c2c7 !important;
  133. }
  134. .card .card-title {
  135. color: #1a2440;
  136. }
  137. .btn {
  138. border-radius: 11px;
  139. font-weight: 700;
  140. letter-spacing: 0.01em;
  141. }
  142. .btn-primary {
  143. border-color: var(--brand);
  144. background: linear-gradient(180deg, #2a7dff 0%, var(--brand) 100%);
  145. }
  146. .btn-primary:hover,
  147. .btn-primary:focus {
  148. border-color: var(--brand-strong);
  149. background: linear-gradient(180deg, #1f6fe8 0%, var(--brand-strong) 100%);
  150. }
  151. .btn-outline-secondary {
  152. border-color: #bcc9df;
  153. color: #33435f;
  154. }
  155. .btn-outline-secondary:hover,
  156. .btn-outline-secondary:focus {
  157. border-color: #8fa4c9;
  158. background: #edf3ff;
  159. color: #243552;
  160. }
  161. .btn-danger {
  162. background: #c9312a;
  163. border-color: #b42318;
  164. }
  165. .form-control {
  166. border-color: #c9d6ef;
  167. border-radius: var(--radius-sm);
  168. padding: 0.62rem 0.82rem;
  169. }
  170. .form-control:focus {
  171. border-color: #8eb3ef;
  172. box-shadow: 0 0 0 0.2rem rgba(19, 99, 223, 0.14);
  173. }
  174. code,
  175. pre {
  176. border-radius: 8px;
  177. }
  178. pre {
  179. background: #eff4ff;
  180. border: 1px solid #d7e3fb;
  181. padding: 0.72rem;
  182. }
  183. .alert {
  184. border-radius: var(--radius-sm);
  185. border-width: 1px;
  186. }
  187. .alert-danger {
  188. color: #5f1014;
  189. background-color: #fdebec;
  190. border-color: #f8cfd3;
  191. }
  192. .alert-success {
  193. color: #113d21;
  194. background-color: #e7f8ee;
  195. border-color: #cdeedb;
  196. }
  197. .row.gy-3 > [class*="col-"] .card,
  198. .row.g-3 > [class*="col-"] .card {
  199. animation: rise-in 280ms ease-out both;
  200. }
  201. .row.gy-3 > [class*="col-"]:nth-child(2) .card,
  202. .row.g-3 > [class*="col-"]:nth-child(2) .card {
  203. animation-delay: 50ms;
  204. }
  205. .row.gy-3 > [class*="col-"]:nth-child(3) .card,
  206. .row.g-3 > [class*="col-"]:nth-child(3) .card {
  207. animation-delay: 100ms;
  208. }
  209. @keyframes page-fade {
  210. from {
  211. opacity: 0;
  212. transform: translateY(8px);
  213. }
  214. to {
  215. opacity: 1;
  216. transform: translateY(0);
  217. }
  218. }
  219. @keyframes rise-in {
  220. from {
  221. opacity: 0;
  222. transform: translateY(12px);
  223. }
  224. to {
  225. opacity: 1;
  226. transform: translateY(0);
  227. }
  228. }
  229. @media (max-width: 991.98px) {
  230. .navbar .navbar-collapse {
  231. margin-top: 0.65rem;
  232. border-top: 1px solid rgba(255, 255, 255, 0.18);
  233. padding-top: 0.6rem;
  234. }
  235. .navbar .nav-link {
  236. display: inline-flex;
  237. margin-bottom: 0.35rem;
  238. }
  239. }

Powered by TurnKey Linux.