go.charczuk.com@v0.0.0-20240327042549-bc490516bd1a/projects/chirp/pkg/static/_static/css/skeleton.css (about) 1 /* 2 * Copyright (c) 2023 - Present. Will Charczuk. All rights reserved. 3 * Use of this source code is governed by a MIT license that can be found in the LICENSE file at the root of the repository. 4 */ 5 /* Grid 6 –––––––––––––––––––––––––––––––––––––––––––––––––– */ 7 .container { 8 position: relative; 9 width: 100%; 10 max-width: 1080px; 11 margin: 0 auto; 12 padding: 0 20px; 13 box-sizing: border-box; 14 } 15 16 .column, 17 .columns { 18 width: 100%; 19 float: left; 20 box-sizing: border-box; 21 } 22 23 /* Clearing 24 –––––––––––––––––––––––––––––––––––––––––––––––––– */ 25 26 /* Self Clearing Goodness */ 27 .container:after, 28 .row:after, 29 .u-cf { 30 content: ""; 31 display: table; 32 clear: both; 33 } 34 35 /* For devices larger than 400px */ 36 @media (min-width: 400px) { 37 .container { 38 width: 85%; 39 padding: 0; 40 } 41 } 42 43 /* For devices larger than 550px */ 44 @media (min-width: 550px) { 45 .container { 46 width: 80%; 47 } 48 49 .column, 50 .columns { 51 margin-left: 4%; 52 } 53 54 .column:first-child, 55 .columns:first-child { 56 margin-left: 0; 57 } 58 59 .one.column, 60 .one.columns { 61 width: 4.66666666667%; 62 } 63 64 .two.columns { 65 width: 13.3333333333%; 66 } 67 68 .three.columns { 69 width: 22%; 70 } 71 72 .four.columns { 73 width: 30.6666666667%; 74 } 75 76 .five.columns { 77 width: 39.3333333333%; 78 } 79 80 .six.columns { 81 width: 48%; 82 } 83 84 .seven.columns { 85 width: 56.6666666667%; 86 } 87 88 .eight.columns { 89 width: 65.3333333333%; 90 } 91 92 .nine.columns { 93 width: 74.0%; 94 } 95 96 .ten.columns { 97 width: 82.6666666667%; 98 } 99 100 .eleven.columns { 101 width: 91.3333333333%; 102 } 103 104 .twelve.columns { 105 width: 100%; 106 margin-left: 0; 107 } 108 109 .one-third.column { 110 width: 30.6666666667%; 111 } 112 113 .two-thirds.column { 114 width: 65.3333333333%; 115 } 116 117 .one-half.column { 118 width: 48%; 119 } 120 121 /* Offsets */ 122 .offset-by-one.column, 123 .offset-by-one.columns { 124 margin-left: 8.66666666667%; 125 } 126 127 .offset-by-two.column, 128 .offset-by-two.columns { 129 margin-left: 17.3333333333%; 130 } 131 132 .offset-by-three.column, 133 .offset-by-three.columns { 134 margin-left: 26%; 135 } 136 137 .offset-by-four.column, 138 .offset-by-four.columns { 139 margin-left: 34.6666666667%; 140 } 141 142 .offset-by-five.column, 143 .offset-by-five.columns { 144 margin-left: 43.3333333333%; 145 } 146 147 .offset-by-six.column, 148 .offset-by-six.columns { 149 margin-left: 52%; 150 } 151 152 .offset-by-seven.column, 153 .offset-by-seven.columns { 154 margin-left: 60.6666666667%; 155 } 156 157 .offset-by-eight.column, 158 .offset-by-eight.columns { 159 margin-left: 69.3333333333%; 160 } 161 162 .offset-by-nine.column, 163 .offset-by-nine.columns { 164 margin-left: 78.0%; 165 } 166 167 .offset-by-ten.column, 168 .offset-by-ten.columns { 169 margin-left: 86.6666666667%; 170 } 171 172 .offset-by-eleven.column, 173 .offset-by-eleven.columns { 174 margin-left: 95.3333333333%; 175 } 176 177 .offset-by-one-third.column, 178 .offset-by-one-third.columns { 179 margin-left: 34.6666666667%; 180 } 181 182 .offset-by-two-thirds.column, 183 .offset-by-two-thirds.columns { 184 margin-left: 69.3333333333%; 185 } 186 187 .offset-by-one-half.column, 188 .offset-by-one-half.columns { 189 margin-left: 52%; 190 } 191 192 } 193 194 195 /* Base Styles 196 –––––––––––––––––––––––––––––––––––––––––––––––––– */ 197 /* NOTE 198 html is set to 62.5% so that all the REM measurements throughout Skeleton 199 are based on 10px sizing. So basically 1.5rem = 15px :) */ 200 html { 201 font-size: 62.5%; 202 } 203 204 body { 205 font-size: 1.5em; 206 /* currently ems cause chrome bug misinterpreting rems on body element */ 207 font-weight: 400; 208 font-family: "Raleway", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif; 209 color: #222; 210 } 211 212 /* Typography 213 –––––––––––––––––––––––––––––––––––––––––––––––––– */ 214 h1, 215 h2, 216 h3, 217 h4, 218 h5, 219 h6 { 220 margin-top: 0; 221 margin-bottom: 2rem; 222 font-weight: 300; 223 } 224 225 h1 { 226 font-size: 4.0rem; 227 line-height: 1.2; 228 letter-spacing: -.1rem; 229 } 230 231 h2 { 232 font-size: 3.6rem; 233 line-height: 1.25; 234 letter-spacing: -.1rem; 235 } 236 237 h3 { 238 font-size: 3.0rem; 239 line-height: 1.3; 240 letter-spacing: -.1rem; 241 } 242 243 h4 { 244 font-size: 2.4rem; 245 line-height: 1.35; 246 letter-spacing: -.08rem; 247 } 248 249 h5 { 250 font-size: 1.8rem; 251 line-height: 1.5; 252 letter-spacing: -.05rem; 253 } 254 255 h6 { 256 font-size: 1.5rem; 257 line-height: 1.6; 258 letter-spacing: 0; 259 } 260 261 /* Larger than phablet */ 262 @media (min-width: 550px) { 263 h1 { 264 font-size: 5.0rem; 265 } 266 267 h2 { 268 font-size: 4.2rem; 269 } 270 271 h3 { 272 font-size: 3.6rem; 273 } 274 275 h4 { 276 font-size: 3.0rem; 277 } 278 279 h5 { 280 font-size: 2.4rem; 281 } 282 283 h6 { 284 font-size: 1.5rem; 285 } 286 } 287 288 p { 289 margin-top: 0; 290 } 291 292 293 /* Utilities 294 –––––––––––––––––––––––––––––––––––––––––––––––––– */ 295 .u-full-width { 296 width: 100%; 297 box-sizing: border-box; 298 } 299 300 .u-max-full-width { 301 max-width: 100%; 302 box-sizing: border-box; 303 } 304 305 .u-pull-right { 306 float: right; 307 } 308 309 .u-pull-left { 310 float: left; 311 } 312 313 314 /* Misc 315 –––––––––––––––––––––––––––––––––––––––––––––––––– */ 316 hr { 317 margin-top: 3rem; 318 margin-bottom: 3.5rem; 319 border-width: 0; 320 border-top: 1px solid #E1E1E1; 321 } 322 323 /* Media Queries 324 –––––––––––––––––––––––––––––––––––––––––––––––––– */ 325 /* 326 Note: The best way to structure the use of media queries is to create the queries 327 near the relevant code. For example, if you wanted to change the styles for buttons 328 on small devices, paste the mobile query code up in the buttons section and style it 329 there. 330 */ 331 332 333 /* Larger than mobile */ 334 @media (min-width: 400px) {} 335 336 /* Larger than phablet (also point when grid becomes active) */ 337 @media (min-width: 550px) {} 338 339 /* Larger than tablet */ 340 @media (min-width: 750px) {} 341 342 /* Larger than desktop */ 343 @media (min-width: 1000px) {} 344 345 /* Larger than Desktop HD */ 346 @media (min-width: 1200px) {}