|
1 |
| -.App { |
2 |
| - text-align: center; |
| 1 | +@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100;200;400;600;800&display=swap'); |
| 2 | +@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;1,300&display=swap'); |
| 3 | +@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@200;400;500&display=swap'); |
| 4 | + |
| 5 | + |
| 6 | +:root { |
| 7 | + --primary-dark: #263238; |
| 8 | + --secondary-dark: #455a64; |
| 9 | + --primary-light: #cfd8dc; |
| 10 | + --secondary-light: #546e7a; |
| 11 | + --anchor-default: #1e88e5; |
| 12 | + --anchor-hover: #0d47a1; |
| 13 | + --anchor-visited: #880e4f; |
| 14 | + --black: #000; |
| 15 | + --white: #fff; |
| 16 | +} |
| 17 | + |
| 18 | + |
| 19 | +@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100;200;400;600;800&display=swap'); |
| 20 | +@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;1,300&display=swap'); |
| 21 | +@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@200;400;500&display=swap'); |
| 22 | + |
| 23 | + |
| 24 | +:root { |
| 25 | + --primary-dark: #263238; |
| 26 | + --secondary-dark: #455a64; |
| 27 | + --primary-light: #cfd8dc; |
| 28 | + --secondary-light: #546e7a; |
| 29 | + --anchor-default: #1e88e5; |
| 30 | + --anchor-hover: #0d47a1; |
| 31 | + --anchor-visited: #880e4f; |
| 32 | + --black: #000; |
| 33 | + --white: #fff; |
| 34 | +} |
| 35 | + |
| 36 | +html, |
| 37 | +body { |
| 38 | + margin: 0px; |
| 39 | + padding: 0px; |
| 40 | + padding-top: 2rem; |
| 41 | + padding-bottom: 2rem; |
| 42 | +} |
| 43 | + |
| 44 | +#root { |
| 45 | + display: flex; |
| 46 | + flex-direction: column; |
| 47 | + justify-content: center; |
| 48 | + height: 100%; |
| 49 | +} |
| 50 | + |
| 51 | +.spacing { |
| 52 | + padding: 2rem; |
| 53 | +} |
| 54 | + |
| 55 | +/* TEXT ############################################################################################### */ |
| 56 | +.text { |
| 57 | + margin: 0px; |
| 58 | + opacity: 1; |
| 59 | + /* transition: 0.1s all ease-in-out; */ |
| 60 | +} |
| 61 | + |
| 62 | +.text__title { |
| 63 | + font-weight: 800; |
| 64 | + font-size: 3rem; |
| 65 | + letter-spacing: 0.25rem; |
| 66 | + font-family: Roboto Slab, sans-serif; |
| 67 | +} |
| 68 | + |
| 69 | +/* If the screen size is 600px wide or less, set the font-size of <div> to 30px */ |
| 70 | +@media screen and (max-width: 600px) { |
| 71 | + .text__title { |
| 72 | + font-size: 2rem; |
| 73 | + } |
| 74 | +} |
| 75 | + |
| 76 | +.text__header { |
| 77 | + font-family: Roboto Slab, sans-serif; |
| 78 | + margin-top: 0.8em; |
| 79 | + color: var(--primary-dark); |
| 80 | +} |
| 81 | + |
| 82 | +.text__header1 { |
| 83 | + font-weight: 600; |
| 84 | + font-size: 2rem; |
| 85 | + letter-spacing: 0.1rem; |
3 | 86 | }
|
4 | 87 |
|
5 |
| -.App-logo { |
6 |
| - height: 40vmin; |
7 |
| - pointer-events: none; |
| 88 | +/* If the screen size is 600px wide or less, set the font-size of <div> to 30px */ |
| 89 | +@media screen and (max-width: 600px) { |
| 90 | + .text__header1 { |
| 91 | + font-size: 1.5rem; |
| 92 | + } |
8 | 93 | }
|
9 | 94 |
|
10 |
| -@media (prefers-reduced-motion: no-preference) { |
11 |
| - .App-logo { |
12 |
| - animation: App-logo-spin infinite 20s linear; |
13 |
| - } |
| 95 | +.text__header2 { |
| 96 | + font-weight: 600; |
| 97 | + font-size: 1.5rem; |
| 98 | + letter-spacing: 0.1rem; |
14 | 99 | }
|
15 | 100 |
|
16 |
| -.App-header { |
17 |
| - background-color: #282c34; |
18 |
| - min-height: 100vh; |
19 |
| - display: flex; |
20 |
| - flex-direction: column; |
21 |
| - align-items: center; |
22 |
| - justify-content: center; |
23 |
| - font-size: calc(10px + 2vmin); |
24 |
| - color: white; |
| 101 | +/* If the screen size is 600px wide or less, set the font-size of <div> to 30px */ |
| 102 | +@media screen and (max-width: 600px) { |
| 103 | + .text__header2 { |
| 104 | + font-size: 1rem; |
| 105 | + } |
25 | 106 | }
|
26 | 107 |
|
27 |
| -.App-link { |
28 |
| - color: #61dafb; |
| 108 | +.text__header3 { |
| 109 | + font-weight: 600; |
| 110 | + font-size: 1.25rem; |
| 111 | + letter-spacing: 0.1rem; |
29 | 112 | }
|
30 | 113 |
|
31 |
| -@keyframes App-logo-spin { |
32 |
| - from { |
33 |
| - transform: rotate(0deg); |
34 |
| - } |
35 |
| - to { |
36 |
| - transform: rotate(360deg); |
37 |
| - } |
| 114 | +/* If the screen size is 600px wide or less, set the font-size of <div> to 30px */ |
| 115 | +@media screen and (max-width: 600px) { |
| 116 | + .text__header3 { |
| 117 | + font-size: 0.9rem; |
| 118 | + } |
38 | 119 | }
|
| 120 | + |
| 121 | +.text__body { |
| 122 | + margin-top: 12px; |
| 123 | + font-weight: 400; |
| 124 | + font-size: 0.9rem; |
| 125 | + font-family: Roboto Slab, sans-serif; |
| 126 | + color: var(--black); |
| 127 | +} |
| 128 | + |
| 129 | +/* If the screen size is 600px wide or less, set the font-size of <div> to 30px */ |
| 130 | +@media screen and (max-width: 600px) { |
| 131 | + .text__body { |
| 132 | + font-size: 0.7rem; |
| 133 | + } |
| 134 | +} |
| 135 | + |
| 136 | +.text__light { |
| 137 | + font-weight: 200; |
| 138 | + font-size: 1rem; |
| 139 | + font-family: Roboto Slab, sans-serif; |
| 140 | + color: var(--secondary-light); |
| 141 | +} |
| 142 | + |
| 143 | +/* If the screen size is 600px wide or less, set the font-size of <div> to 30px */ |
| 144 | +@media screen and (max-width: 600px) { |
| 145 | + .text__light { |
| 146 | + font-size: 0.7rem; |
| 147 | + } |
| 148 | +} |
| 149 | + |
| 150 | +.text__ultra_light { |
| 151 | + font-weight: 100; |
| 152 | + font-size: 1rem; |
| 153 | + font-family: Roboto Slab, sans-serif; |
| 154 | + color: var(--secondary-light); |
| 155 | +} |
| 156 | + |
| 157 | +/* If the screen size is 600px wide or less, set the font-size of <div> to 30px */ |
| 158 | +@media screen and (max-width: 600px) { |
| 159 | + .text__ultra_light { |
| 160 | + font-size: 0.7rem; |
| 161 | + } |
| 162 | +} |
| 163 | + |
| 164 | +.card__header { |
| 165 | + word-break: break-all; |
| 166 | +} |
| 167 | + |
| 168 | +.card_description { |
| 169 | + font-size: 0.85rem; |
| 170 | +} |
| 171 | + |
| 172 | +.repo_card_truncate_overflow { |
| 173 | + overflow: hidden; |
| 174 | + text-overflow: ellipsis; |
| 175 | + display: -webkit-box; |
| 176 | + -webkit-line-clamp: 2; |
| 177 | + -webkit-box-orient: vertical; |
| 178 | +} |
| 179 | + |
| 180 | +::selection { |
| 181 | + color: var(--white); |
| 182 | + background-color: var(--secondary-dark); |
| 183 | +} |
| 184 | + |
| 185 | + |
| 186 | +/* IMAGE ############################################################################################### |
| 187 | +.image__profile { |
| 188 | + display: flex; |
| 189 | + align-items: center; |
| 190 | + justify-content: center; |
| 191 | +} */ |
0 commit comments