|
| 1 | +@import url('https://cdn.cache.lol/css/type.css'); |
| 2 | + |
| 3 | +:root { |
| 4 | + --background-color: #282a36; |
| 5 | + --main-color: #44475a; |
| 6 | + --forground: #f8f8f2; |
| 7 | + --comment: #6272a4; |
| 8 | + --cyan: #8be9fd; |
| 9 | + --green: #50fa7b; |
| 10 | + --orange: #ffb86c; |
| 11 | + --pink: #ff79c6; |
| 12 | + --purple: #bd93f9; |
| 13 | + --red: #ff5555; |
| 14 | + --yellow: #f1fa8c; |
| 15 | +} |
| 16 | + |
| 17 | +* { |
| 18 | + box-sizing: border-box; |
| 19 | +} |
| 20 | + |
| 21 | +::selection { |
| 22 | + background: var(--purple); |
| 23 | + color: var(--forground); |
| 24 | +} |
| 25 | + |
| 26 | +body { |
| 27 | + font-size: 1.2em; |
| 28 | + margin: 0; |
| 29 | + padding: 2em; |
| 30 | + font-family: 'Mint Grotesk', sans-serif; |
| 31 | + font-weight: 300; |
| 32 | + background: var(--background-color); |
| 33 | + background-repeat: no-repeat; |
| 34 | + background-attachment: fixed; |
| 35 | + height: 100%; |
| 36 | + overflow-wrap: break-word; |
| 37 | + color: var(--forground); |
| 38 | +} |
| 39 | + |
| 40 | +main { |
| 41 | + display: block; |
| 42 | + max-width: 60em; |
| 43 | + border-radius: 1em; |
| 44 | + margin: 2em auto; |
| 45 | + background: var(--main-color); |
| 46 | + padding: 2em; |
| 47 | +} |
| 48 | + |
| 49 | +h1 { |
| 50 | + margin: 0; |
| 51 | +} |
| 52 | + |
| 53 | +#profile-items { |
| 54 | + /*border-top: 1px solid #666;*/ |
| 55 | + padding: .5em 0 0 0; |
| 56 | + margin: 1.5em 0 0 0; |
| 57 | +} |
| 58 | + |
| 59 | +#profile-items :is(h1, h2, h3, h4, h5, h6) { |
| 60 | + text-align: left; |
| 61 | + margin: 0; |
| 62 | +} |
| 63 | + |
| 64 | +#profile-items h1 { font-size: 1.2em; } |
| 65 | +#profile-items h2 { font-size: 1.2em; } |
| 66 | +#profile-items h3 { font-size: 1.2em; } |
| 67 | +#profile-items h4 { font-size: 1.1em; } |
| 68 | +#profile-items h5 { font-size: 1.1em; } |
| 69 | +#profile-items h6 { font-size: 1.1em; } |
| 70 | + |
| 71 | +#profile-picture-container { |
| 72 | + margin: auto; |
| 73 | + color: var(--main-color); |
| 74 | + margin-bottom: 1em; |
| 75 | +} |
| 76 | + |
| 77 | +#profile-picture { |
| 78 | + border-radius: 0.25em; |
| 79 | + height: 8.7em; |
| 80 | +} |
| 81 | + |
| 82 | +#pronouns { |
| 83 | + margin: 0; |
| 84 | + font-weight: 400; |
| 85 | + color: var(--purple); |
| 86 | +} |
| 87 | + |
| 88 | +#pronouns a:link, |
| 89 | +#pronouns a:visited, |
| 90 | +#pronouns a:hover, |
| 91 | +#pronouns a:active { |
| 92 | + color: var(--comment); |
| 93 | +} |
| 94 | + |
| 95 | +#details { |
| 96 | + margin: 1em 0; |
| 97 | +} |
| 98 | + |
| 99 | +#location { |
| 100 | + display: inline-block; |
| 101 | +} |
| 102 | + |
| 103 | +#occupation { |
| 104 | + display: inline-block; |
| 105 | +} |
| 106 | + |
| 107 | +#location, #occupation { |
| 108 | + margin: .5em; |
| 109 | + padding: 0 .5em; |
| 110 | +} |
| 111 | + |
| 112 | +#bio { |
| 113 | + text-align: center; |
| 114 | + font-size: 110%; |
| 115 | + line-height: 140%; |
| 116 | +} |
| 117 | + |
| 118 | +#footer { |
| 119 | + margin: 0; |
| 120 | + margin-top: 5em; |
| 121 | + font-size: 90%; |
| 122 | + font-weight: 300; |
| 123 | + color: var(--comment); |
| 124 | +} |
| 125 | + |
| 126 | +#footer a:link, |
| 127 | +#footer a:visited, |
| 128 | +#footer a:hover, |
| 129 | +#footer a:active { |
| 130 | + color: var(--comment); |
| 131 | + text-decoration: none; |
| 132 | + border: 0; |
| 133 | +} |
| 134 | + |
| 135 | +#footer .fa-plug { |
| 136 | + transform: rotate(0deg); |
| 137 | + transition: all 0.3s ease; |
| 138 | +} |
| 139 | + |
| 140 | +#footer:hover .fa-plug { |
| 141 | + transform: rotate(90deg); |
| 142 | + transition: all 0.3s ease; |
| 143 | +} |
| 144 | + |
| 145 | +a:link, |
| 146 | +a:visited { |
| 147 | + color: var(--forground); |
| 148 | + text-decoration-color: var(--forground); |
| 149 | + text-decoration: none; |
| 150 | + border-bottom: 1px dotted var(--comment); |
| 151 | +} |
| 152 | +a:hover, |
| 153 | +a:active { |
| 154 | + color: var(--forground); |
| 155 | + text-decoration-color: var(--forground); |
| 156 | + text-decoration: none; |
| 157 | + border-bottom: 2px solid var(--comment); |
| 158 | +} |
| 159 | + |
| 160 | +/* |
| 161 | +.omg-icon-li { |
| 162 | + position: relative; |
| 163 | + border: 0px solid var(--green); |
| 164 | +} |
| 165 | +
|
| 166 | +.omg-icon { |
| 167 | + display: inline-block; |
| 168 | + width: 1em; |
| 169 | + position: absolute; |
| 170 | + top: -0.1em; |
| 171 | + left: -1.5em; |
| 172 | +} |
| 173 | +
|
| 174 | +.omg-icon::before { |
| 175 | + display: none; |
| 176 | +} |
| 177 | +*/ |
| 178 | + |
| 179 | +/* |
| 180 | +@media (prefers-color-scheme: dark) { |
| 181 | + .omg-icon svg { |
| 182 | + fill: #fff; |
| 183 | + } |
| 184 | +} |
| 185 | +*/ |
| 186 | + |
| 187 | +@media (prefers-color-scheme: dark) { |
| 188 | + .omg-icon.rainbow-me svg { |
| 189 | + fill: var(--forground); |
| 190 | + } |
| 191 | +} |
| 192 | + |
| 193 | +@media (max-width: 500px) { |
| 194 | + body { |
| 195 | + font-size: 1em; |
| 196 | + padding: 1em; |
| 197 | + } |
| 198 | + main { |
| 199 | + padding: 1.5em; |
| 200 | + } |
| 201 | +} |
| 202 | + |
| 203 | +h1#name a i.fa-badge-check, .omg-verified { |
| 204 | + color: var(--purple) !important; |
| 205 | +} |
0 commit comments