|
1 | 1 | @charset "UTF-8"; |
2 | 2 |
|
3 | | -/* VARIABLES -------------------------------------------------------------- */ |
| 3 | +/** |
| 4 | + * css_template.css |
| 5 | + * |
| 6 | + * Decscription and notes... |
| 7 | + * |
| 8 | + * Sections |
| 9 | + * - Varibales |
| 10 | + * - Typography |
| 11 | + * - Links |
| 12 | + * - Buttons |
| 13 | + * - Lists |
| 14 | + * - Tables |
| 15 | + * - Images |
| 16 | + * - Layout |
| 17 | + * - Forms |
| 18 | + * - Components |
| 19 | + * - Cosmetic |
| 20 | + * - Utility |
| 21 | + * - State |
| 22 | + * - Animation |
| 23 | + * - Hacks |
| 24 | + * |
| 25 | + **/ |
| 26 | + |
| 27 | + |
| 28 | +/* -- Variables ----------------------------------------------------------- */ |
4 | 29 |
|
5 | 30 | :root { |
6 | 31 | --heading-font: 'Open Sans', sans-serif; |
|
14 | 39 | --emphasis-color-dark: rgb(100,100,120); |
15 | 40 | } |
16 | 41 |
|
17 | | - |
18 | | - |
19 | | -/* DEFAULTS --------------------------------------------------------------- */ |
| 42 | +/* -- Typography ---------------------------------------------------------- */ |
20 | 43 |
|
21 | 44 | html { |
22 | 45 | color: var(--body-color); |
|
46 | 69 | padding: 0; |
47 | 70 | } |
48 | 71 |
|
49 | | - |
50 | | - |
51 | | -/* TYPOGRAPHY ------------------------------------------------------------- */ |
52 | | - |
53 | 72 | .small-allcaps { |
54 | 73 | color: var(--heading-color); |
55 | 74 | font-size: .85rem; |
|
59 | 78 | margin: 0; |
60 | 79 | } |
61 | 80 |
|
62 | | - |
63 | | - |
64 | | -/* LINKS & BUTTONS -------------------------------------------------------- */ |
| 81 | +/* -- Links --------------------------------------------------------------- */ |
65 | 82 |
|
66 | 83 | .primary-link:link, |
67 | 84 | .primary-link:visited { |
|
75 | 92 | text-decoration: underline; |
76 | 93 | } |
77 | 94 |
|
| 95 | +/* -- Buttons ------------------------------------------------------------- */ |
| 96 | + |
78 | 97 | .btn { |
79 | 98 | background: none; |
80 | 99 | border-radius: 2px; |
@@ -127,18 +146,15 @@ ul { |
127 | 146 | background: var(--emphasis-color-dark); |
128 | 147 | } |
129 | 148 |
|
| 149 | +/* -- Lists --------------------------------------------------------------- */ |
130 | 150 |
|
| 151 | +/* -- Tables -------------------------------------------------------------- */ |
131 | 152 |
|
132 | | -/* LAYOUT ----------------------------------------------------------------- */ |
| 153 | +/* -- Images -------------------------------------------------------------- */ |
133 | 154 |
|
134 | | -.flex { |
135 | | - display: flex; |
136 | | - flex-wrap: wrap; |
137 | | -} |
| 155 | +/* -- Layout -------------------------------------------------------------- */ |
138 | 156 |
|
139 | | - |
140 | | - |
141 | | -/* COMPONENTS ------------------------------------------------------------ */ |
| 157 | +/* -- Forms --------------------------------------------------------------- */ |
142 | 158 |
|
143 | 159 | .subscribe-form { |
144 | 160 | width: 100%; |
@@ -177,25 +193,22 @@ ul { |
177 | 193 | background: var(--emphasis-color-dark); |
178 | 194 | } |
179 | 195 |
|
| 196 | +/* -- Components ---------------------------------------------------------- */ |
180 | 197 |
|
181 | | - |
182 | | -/* COSMETIC --------------------------------------------------------------- */ |
| 198 | +/* -- Cosmetic ------------------------------------------------------------ */ |
183 | 199 |
|
184 | 200 | .gradient-bg { |
185 | 201 | background: var(--emphasis-color); |
186 | 202 | background: linear-gradient(to bottom right, var(--emphasis-color-dark), var(--emphasis-color)); |
187 | 203 | } |
188 | 204 |
|
189 | | - |
190 | | - |
191 | | -/* UTILITY ---------------------------------------------------------------- */ |
| 205 | +/* -- Utility ------------------------------------------------------------- */ |
192 | 206 |
|
193 | 207 | .u-nomargin { |
194 | 208 | margin: 0; |
195 | 209 | } |
196 | 210 |
|
197 | | - |
198 | | -/* STATE ------------------------------------------------------------------ */ |
| 211 | +/* -- State --------------------------------------------------------------- */ |
199 | 212 |
|
200 | 213 | .is-hidden { |
201 | 214 | display: none; |
|
215 | 228 | border: 0; |
216 | 229 | } |
217 | 230 |
|
| 231 | +/* -- Animations --------------------------------------------------------------- */ |
| 232 | + |
218 | 233 | @keyframes slide_from_bottom { |
219 | 234 | 0% { |
220 | 235 | transform: translateY(300%); |
|
229 | 244 | .animate { |
230 | 245 | animation: slide_from_bottom 1s; |
231 | 246 | } |
| 247 | + |
| 248 | +/* -- Hacks --------------------------------------------------------------- */ |
0 commit comments