|
1 | 1 | /* Typography */
|
2 | 2 |
|
3 | 3 | .block-title {
|
4 |
| - @apply text-primaryText text-3xl font-bold tracking-normal; |
| 4 | + @apply text-primaryText text-3xl font-bold tracking-normal; |
5 | 5 | }
|
| 6 | + |
6 | 7 | .block-big-title {
|
7 |
| - @apply text-primaryText text-4xl xl:text-5xl font-bold tracking-normal; |
| 8 | + @apply text-primaryText text-4xl xl:text-5xl font-bold tracking-normal; |
8 | 9 | }
|
| 10 | + |
9 | 11 | .block-subtitle {
|
10 |
| - @apply text-xs text-secondaryColor tracking-wider font-bold uppercase; |
| 12 | + @apply text-xs text-secondaryColor tracking-wider font-bold uppercase; |
11 | 13 | }
|
| 14 | + |
12 | 15 | .content-title {
|
13 |
| - @apply text-primaryText text-lg font-bold tracking-normal; |
| 16 | + @apply text-primaryText text-lg font-bold tracking-normal; |
14 | 17 | }
|
| 18 | + |
15 | 19 | .content-text-white {
|
16 |
| - @apply text-primaryText text-base leading-relaxed; |
| 20 | + @apply text-primaryText text-base leading-relaxed; |
17 | 21 | }
|
| 22 | + |
18 | 23 | .content-text-gray {
|
19 |
| - @apply text-gray-400 text-base; |
| 24 | + @apply text-gray-400 text-base; |
20 | 25 | }
|
21 | 26 |
|
22 | 27 | /* Borders */
|
23 | 28 |
|
24 | 29 | .main-border-gray {
|
25 |
| - @apply border border-solid border-mainBorder; |
| 30 | + @apply border border-solid border-mainBorder; |
26 | 31 | }
|
| 32 | + |
27 | 33 | .main-border-gray-darker {
|
28 |
| - @apply border border-solid border-mainBorderDarker; |
| 34 | + @apply border border-solid border-mainBorderDarker; |
29 | 35 | }
|
30 | 36 |
|
31 | 37 | /* Buttons */
|
32 | 38 |
|
33 | 39 | .contained-button {
|
34 |
| - @apply rounded-lg font-bold bg-primaryColor text-primaryText flex justify-center items-center hover:bg-[#7274f3] cursor-pointer transition; |
| 40 | + @apply rounded-lg font-bold bg-primaryColor text-primaryText flex justify-center items-center hover:bg-[#7274f3] cursor-pointer transition; |
35 | 41 | }
|
| 42 | + |
36 | 43 | .outlined-button {
|
37 |
| - @apply text-primaryText main-border-gray rounded-xl bg-bgDark2 hover:bg-bgDark3 border-gray-700 text-sm; |
| 44 | + @apply text-primaryText main-border-gray rounded-xl bg-bgDark2 hover:bg-bgDark3 border-gray-700 text-sm; |
38 | 45 | }
|
39 | 46 |
|
40 | 47 | /* Preventing FOUC */
|
41 | 48 | @font-face {
|
42 |
| - font-display: var(--fontsource-Inter-font-display, optional); |
| 49 | + font-display: var(--fontsource-Inter-font-display, optional); |
| 50 | +} |
| 51 | + |
| 52 | +/* Custom */ |
| 53 | + |
| 54 | +.rainbow-text-gradient { |
| 55 | + --scaling: 500%; |
| 56 | + background: linear-gradient(90deg, |
| 57 | + /* #ff3b3b, |
| 58 | + #ff803b, |
| 59 | + #ffff3b, |
| 60 | + #80ff3b, |
| 61 | + #3bff3b, |
| 62 | + #3bff80, |
| 63 | + #3bffff, |
| 64 | + #3b80ff, |
| 65 | + #3b3bff, |
| 66 | + #803bff, |
| 67 | + #ff3bff, |
| 68 | + #ff3b80, |
| 69 | + #ff3b3b */ |
| 70 | + #ef505c, |
| 71 | + #9c45e4, |
| 72 | + #185fee, |
| 73 | + #2ff5ec, |
| 74 | + #11d68b, |
| 75 | + #ffcc16, |
| 76 | + #ef505c); |
| 77 | + background-size: var(--scaling) 100%; |
| 78 | + background-position: 0 0; |
| 79 | + -webkit-background-clip: text; |
| 80 | + -webkit-text-fill-color: transparent; |
| 81 | + animation: rainbow 35s linear infinite; |
| 82 | + display: inline-block; |
| 83 | + /* filter: drop-shadow(0 0 0.5px #fff) drop-shadow(0 1px 1.5px #fff) |
| 84 | + brightness(1.5); */ |
| 85 | + filter: saturate(0.6) brightness(1.3) drop-shadow(0 1px 1.5px #000); |
| 86 | +} |
| 87 | + |
| 88 | +@keyframes rainbow { |
| 89 | + 0% { |
| 90 | + background-position-x: 0%; |
| 91 | + } |
| 92 | + |
| 93 | + 100% { |
| 94 | + background-position-x: var(--scaling); |
| 95 | + } |
| 96 | +} |
| 97 | + |
| 98 | +.retro-text-gradient { |
| 99 | + background: linear-gradient(180deg, |
| 100 | + #f7eef1 20%, |
| 101 | + #daa9f3 30%, |
| 102 | + #5e2ec5 55%, |
| 103 | + #7400b7 80%); |
| 104 | + background-clip: text; |
| 105 | + -webkit-background-clip: text; |
| 106 | + -webkit-text-fill-color: transparent; |
| 107 | + display: inline-block; |
| 108 | + filter: drop-shadow(0 0.75px 0 #1c0d36) drop-shadow(0 -0.75px 0 #d8a5ec); |
| 109 | +} |
| 110 | + |
| 111 | +.token.plain { |
| 112 | + display: inline-block; |
| 113 | + margin-left: 1ch; |
| 114 | +} |
| 115 | + |
| 116 | +.token.plain+.token.plain { |
| 117 | + margin-left: 2ch; |
| 118 | +} |
| 119 | + |
| 120 | +.token.plain:first-child { |
| 121 | + margin-left: 2ch; |
| 122 | +} |
| 123 | + |
| 124 | +pre code { |
| 125 | + overflow-x: auto; |
| 126 | + -webkit-overflow-scrolling: touch; |
| 127 | +} |
| 128 | + |
| 129 | +*::-webkit-scrollbar { |
| 130 | + width: 7px; |
| 131 | + height: 7px; |
| 132 | +} |
| 133 | + |
| 134 | +*::-webkit-scrollbar-thumb { |
| 135 | + background: #353535; |
| 136 | + border-radius: 10px; |
| 137 | +} |
| 138 | + |
| 139 | +*::-webkit-scrollbar-thumb:hover { |
| 140 | + background: #494949; |
| 141 | +} |
| 142 | + |
| 143 | +/* Hide scrollbar edge */ |
| 144 | +*::-webkit-scrollbar-corner { |
| 145 | + background: transparent; |
43 | 146 | }
|
0 commit comments