2
* www.KNACSS.com V2.9.3 (2014-02) @author: Raphael Goetter, Alsacreations
3
* Licence WTFPL http://www.wtfpl.net/
6
/* ----------------------------- */
10
/* ----------------------------- */
12
/* switching box model for all elements */
15
-webkit-box-sizing: border-box;
16
-moz-box-sizing: border-box;
17
box-sizing: border-box;
38
vertical-align: middle;
45
display: inline-block;
56
/* ----------------------------- */
60
/* ----------------------------- */
62
/* base font-size corresponds to 10px and is adapted to rem unit */
66
-webkit-text-size-adjust: 100%;
67
-ms-text-size-adjust: 100%;
71
background-color: #ffffff;
73
font-family: Helvetica, Arial, sans-serif;
78
/* font-sizing for content */
80
/* preserve vertical-rythm, thanks to http://soqr.fr/vertical-rhythm/ */
103
margin-top: 0.65625em;
135
margin-top: 1.1666666666666667em;
138
line-height: 1.1666666666666667;
143
margin-top: 1.3125em;
149
/* alternate font-sizing */
152
font-size: 0.7142857142857143em;
156
font-size: 0.8571428571428571em;
160
font-size: 1.1428571428571428em;
164
font-size: 1.2857142857142858em;
168
font-size: 1.4285714285714286em;
175
white-space: pre-line;
177
white-space: pre-wrap;
178
font-family: Consolas, 'DejaVu Sans Mono', Courier, monospace;
198
border: 1px solid #999;
203
background: rgba(0, 0, 0, 0.04);
226
/* ----------------------------- */
228
/* == hiding content */
230
/* ----------------------------- */
240
[dir=rtl] .visually-hidden {
249
/* hidden on desktop */
251
/* ----------------------------- */
253
/* == skip links styling */
255
/* ----------------------------- */
267
text-decoration: none;
270
.skip-links a:focus {
274
/* ----------------------------- */
276
/* == browsers consistency */
278
/* ----------------------------- */
280
/* avoid top margins on first content element */
286
blockquote:first-child,
297
/* avoid margins on nested elements */
320
/* margin-bottom on tables */
323
margin-bottom: 1.5em;
326
/* Google Gmap3 bug fix on images */
328
:not(.gm-style) img {
329
height: auto !important;
332
.ie678 .gm-style img {
340
max-width: none !important;
346
display: none !important;
349
/* ----------------------------- */
351
/* ==layout and modules */
353
/* ----------------------------- */
357
/* module, gains superpower "BFC" Block Formating Context */
363
/* blocks that needs to be placed under floats */
371
/* blocks that must contain floats */
398
display: inline-block;
402
/* alignments (blocks and inline) */
404
/* ------------------------------ */
448
/* ----------------------------- */
450
/* == width helpers */
452
/* .. use only when needed */
454
/* ----------------------------- */
456
/* blocks widths (percentage and pixels) */
574
/* ----------------------------- */
576
/* == spacing helpers */
578
/* .. use only when needed */
580
/* ----------------------------- */
584
a,t,r,b,l = all,top,right,bottom,left
585
s,m,l,n = small(10px),medium(20px),large(30px),none(0)
586
source https://github.com/stubbornella/oocss/blob/master/core/spacing/space.css
756
padding-bottom: 10px;
761
padding-bottom: 20px;
766
padding-bottom: 30px;
789
/* ----------------------------- */
793
/* ----------------------------- */
795
/* Make sure you are using Conditional Classes in your HTML */
797
/* see : http://www.alsacreations.com/astuce/lire/988-classes-conditionnelles-HTML.html */
801
font-size: 2.2857142857142856em;
811
font-size: 1.7142857142857142em;
816
font-size: 1.4285714285714286em;
821
font-size: 1.2857142857142858em;
826
font-size: 1.1428571428571428em;
829
/* hasLayout for IE6/IE7 */
839
/* inline-block and table-cell for IE6/IE7 */
841
/* warning: .col needs width on IE6/IE7 */
852
/* @bugfix for IE8 */
855
/* Active box-sizing for IE6/IE7 */
857
/* @source https://github.com/Schepp/box-sizing-polyfill */
861
behavior: url(/lib/box-sizing-polyfill/boxsizing.htc);
865
/* ----------------------------- */
867
/* == quick print reset */
869
/* ----------------------------- */
881
page-break-inside: avoid;
888
page-break-after: avoid;
896
outline: 3px solid maroon;
899
/* ---------------------------------- */
901
/* ==classic grids */
903
/* .. use it when gutter size matters */
905
/* ---------------------------------- */
907
/* grids inspired from SUIT https://github.com/suitcss/suit */
909
/* font-family hack explained here : https://github.com/raphaelgoetter/KNACSS/issues/37 */
913
font-family: FreeSans, Arimo, "Droid Sans", Helvetica, Arial, sans-serif;
922
letter-spacing: -0.31em;
923
text-rendering: optimizespeed;
930
word-spacing: -0.43em;
934
display: inline-block;
944
letter-spacing: normal;
945
word-spacing: normal;
946
text-rendering: auto;
947
font-family: Helvetica, Arial, sans-serif;
982
/* unequal grids (1-2, 2-1, 1-3 and 3-1) for 2 blocks */
984
.grid2-1 > *:first-child,
989
.grid1-2 > *:first-child,
994
.grid1-3 > *:first-child,
999
.grid3-1 > *:first-child,
1004
/* Responsiv-o-matic */
1006
@media (max-width: 1280px) {
1016
@media (max-width: 768px) {
1028
@media (max-width: 480px) {
1030
width: 100% !important;
1034
/* ---------------------------------- */
1038
/* .. to automatically justify blocs */
1040
/* ---------------------------------- */
1042
/* Demo : http://codepen.io/raphaelgoetter/pen/Kqehf */
1044
[class*="autogrid"] {
1045
text-align: justify;
1046
font-family: FreeSans, Arimo, "Droid Sans", Helvetica, Arial, sans-serif;
1047
letter-spacing: -0.31em;
1048
text-rendering: optimizespeed;
1053
[class*="autogrid"]:-o-prefocus {
1054
word-spacing: -0.43em;
1057
[class*="autogrid"]:after {
1059
display: inline-block;
1063
[class*="autogrid"] > * {
1064
display: inline-block;
1068
font-family: Helvetica, Arial, sans-serif;
1069
letter-spacing: normal;
1070
word-spacing: normal;
1071
vertical-align: top;
1072
text-rendering: auto;
1107
@media (max-width: 1280px) {
1117
@media (max-width: 768px) {
1127
@media (max-width: 480px) {
1128
[class*="autogrid"] > * {
1133
/* ----------------------------- */
1137
/* ----------------------------- */
1142
table-layout: fixed;
1143
border-collapse: collapse;
1144
vertical-align: top;
1155
table#recaptcha_table,
1167
border: 1px solid #ccc;
1171
border-left: 1px solid #ccc;
1178
border-bottom: 1px solid #ccc;
1185
/* alternate tables */
1192
border: 1px solid #ccc;
1195
.alternate thead tr > * + * {
1199
.alternate tbody tr > * + * {
1200
border-left: 1px solid #ccc;
1203
/* alternate-vert tables */
1207
border-right: 1px solid #ccc;
1210
.alternate-vert tr > :first-child {
1214
.alternate-vert tr > * + * {
1215
border-top: 1px solid #ccc;
1218
/* striped tables */
1220
.striped tbody tr:nth-child(odd) {
1222
background: rgba(0, 0, 0, 0.05);
1225
/* striped-vert tables */
1227
.striped-vert tr > :first-child {
1229
background: rgba(0, 0, 0, 0.05);
1232
/* ----------------------------- */
1236
/* ----------------------------- */
1238
/* thanks to HTML5boilerplate,
1239
* github.com/nathansmith/formalize
1240
* and www.sitepen.com
1246
display: inline-block;
1261
vertical-align: middle;
1262
font-family: inherit;
1267
display: inline-block;
1268
vertical-align: middle;
1274
white-space: normal;
1279
/* Removes default vertical scrollbar on empty textarea in IE6/7/8/9 */
1281
vertical-align: top;
1282
font-family: inherit;
1288
input[type="button"],
1289
input[type="reset"],
1290
input[type="submit"] {
1292
-webkit-appearance: button;
1293
/* clickable input types in iOS */
1296
input[type="checkbox"],
1297
input[type="radio"] {
1299
/* Corrects excess space around these inputs in IE8/9 */
1302
input[type="search"] {
1303
-webkit-appearance: textfield;
1306
/* if select styling bugs on WebKit */
1308
/* 'x' appears on right of search input when text is entered. This removes it */
1310
input[type="search"]::-webkit-search-decoration,
1311
input[type="search"]::-webkit-search-cancel-button,
1312
input[type="search"]::-webkit-search-results-button,
1313
input[type="search"]::-webkit-search-results-decoration {
1317
::-webkit-input-placeholder {
1321
input:-moz-placeholder,
1322
textarea:-moz-placeholder {
1326
/* Removes inner padding and border in FF3+ */
1328
button::-moz-focus-inner,
1329
input[type='button']::-moz-focus-inner,
1330
input[type='reset']::-moz-focus-inner,
1331
input[type='submit']::-moz-focus-inner {
1336
/* ----------------------------- */
1338
/* ==icons and bullets */
1340
/* ----------------------------- */
1343
display: inline-block;
1349
display: inline-block;
1350
vertical-align: middle;
1353
margin: 0 0.3em 0 0;
1354
font: 1.4em/1 sans-serif;
1356
text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.1);
1360
@media (min-device-width: 768px) {
1363
font: 1em/0.6 sans-serif;
1364
-webkit-transform: rotateZ(0.05deg);
1372
.icon.after:before {
1373
content: "" !important;
1377
.icon-rate.after:after {
1381
.icon-unrate:before,
1382
.icon-unrate.after:after {
1387
.icon-check.after:after {
1391
.icon-uncheck:before,
1392
.icon-uncheck.after:after {
1397
.icon-cloud.after:after {
1402
.icon-dl.after:after {
1408
.icon-cross.after:after {
1413
.icon-arrow1:before,
1414
.icon-arrow1.after:after {
1420
.icon-arrow2:before,
1421
.icon-arrow2.after:after {
1425
.icon-arrow3:before,
1426
.icon-arrow3.after:after {
1430
.icon-bracket1:before,
1431
.icon-bracket1.after:after {
1439
.icon-bracket2:before,
1440
.icon-bracket2.after:after {
1449
.icon-up.after:after {
1454
.icon-down.after:after {
1459
.icon-bull.after:after {
1466
.icon-bull2.after:after {
1472
.icon-bull3.after:after {
1479
.icon-nav.after:after {
1484
.icon-losange:before,
1485
.icon-losange.after:after {
1489
.icon-asteri:before,
1490
.icon-asteri.after:after {
1496
.icon-mail.after:after {
1502
/* ----------------------------- */
1504
/* ==desktop and retina medias */
1506
/* ----------------------------- */
1508
@media (min-width: 768px) {
1509
/* here go rules for big resources and big screens like: background-images, font-faces, etc. */
1512
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi), (min-resolution: 2dppx) {
1513
/* Style adjustments for retina devices */
1516
/* ---------------------------------- */
1518
/* ==Responsive large / medium / tiny */
1520
/* ---------------------------------- */
1522
@media (min-width: 1280px) {
1523
/* layouts for large screens */
1526
display: none !important;
1530
display: block !important;
1538
display: inline-block;
1540
vertical-align: top;
1545
table-layout: fixed;
1546
width: 100% !important;
1550
display: table-cell;
1551
vertical-align: top;
1554
/* widths for large screens */
1557
width: 25% !important;
1561
width: 33.3333% !important;
1565
width: 50% !important;
1569
width: 66.6666% !important;
1573
width: 75% !important;
1578
display: block !important;
1579
float: none !important;
1580
clear: none !important;
1581
width: auto !important;
1582
margin-left: 0 !important;
1583
margin-right: 0 !important;
1587
/* margins for large screens */
1590
margin: 0 !important;
1594
@media (max-width: 768px) {
1595
/* quick reset in small resolution and less */
1606
/* layouts for small screens */
1609
display: none !important;
1613
display: block !important;
1621
display: inline-block;
1623
vertical-align: top;
1627
display: table !important;
1628
table-layout: fixed !important;
1629
width: 100% !important;
1633
display: table-cell !important;
1634
vertical-align: top !important;
1637
/* you shall not pass */
1647
word-wrap: break-word;
1648
-webkit-hyphens: auto;
1654
/* widths for small screens */
1657
width: 25% !important;
1661
width: 33.3333% !important;
1665
width: 50% !important;
1669
width: 66.6666% !important;
1673
width: 75% !important;
1678
display: block !important;
1679
float: none !important;
1680
clear: none !important;
1681
width: auto !important;
1682
margin-left: 0 !important;
1683
margin-right: 0 !important;
1687
/* margins for small screens */
1690
margin: 0 !important;
1694
@media (max-width: 480px) {
1695
/* quick tiny resolution reset */
1700
display: block !important;
1701
float: none !important;
1702
clear: none !important;
1703
width: auto !important;
1704
margin-left: 0 !important;
1705
margin-right: 0 !important;
1717
display: block !important;
1718
width: 100% !important;
1721
/* layouts for tiny screens */
1724
display: none !important;
1728
display: block !important;
1736
display: inline-block;
1738
vertical-align: top;
1742
display: table !important;
1743
table-layout: fixed !important;
1744
width: 100% !important;
1748
display: table-cell !important;
1749
vertical-align: top !important;
1754
display: block !important;
1755
width: auto !important;
1756
text-align: left !important;
1763
/* widths for tiny screens */
1766
width: 25% !important;
1770
width: 33.3333% !important;
1774
width: 50% !important;
1778
width: 66.6666% !important;
1782
width: 75% !important;
1787
display: block !important;
1788
float: none !important;
1789
clear: none !important;
1790
width: auto !important;
1791
margin-left: 0 !important;
1792
margin-right: 0 !important;
1796
/* margins for tiny screens */
1799
margin: 0 !important;
1804
Tutorial: http://knacss.com/demos/tutoriel.html#flex */
1807
display: -webkit-box;
1808
display: -webkit-flex;
1810
display: -ms-flexbox;
1815
-webkit-box-orient: horizontal;
1816
-webkit-box-direction: normal;
1817
-webkit-flex-direction: row;
1818
-moz-box-orient: horizontal;
1819
-moz-box-direction: normal;
1820
-ms-flex-direction: row;
1821
flex-direction: row;
1825
-webkit-box-orient: vertical;
1826
-webkit-box-direction: normal;
1827
-webkit-flex-direction: column;
1828
-moz-box-orient: vertical;
1829
-moz-box-direction: normal;
1830
-ms-flex-direction: column;
1831
flex-direction: column;
1835
-webkit-box-flex: 1;
1843
-webkit-box-ordinal-group: 0;
1845
-moz-box-ordinal-group: 0;
1851
-webkit-box-ordinal-group: 2;
1853
-moz-box-ordinal-group: 2;
1859
-webkit-box-ordinal-group: 43;
1861
-moz-box-ordinal-group: 43;
1866
/* quick print reset */
1870
background: transparent !important;
1871
-webkit-box-shadow: none !important;
1872
box-shadow: none !important;
1873
text-shadow: none !important;
1877
width: auto !important;
1878
margin: auto !important;
1881
background-color: #fff !important;
1882
color: #333 !important;
1895
color: #000 !important;
1896
margin: auto !important;
1901
/* displaying .print elements */
1905
-webkit-filter: grayscale(100%);
1906
-moz-filter: grayscale(100%);
1907
-ms-filter: grayscale(100%);
1908
-o-filter: grayscale(100%);
1909
filter: grayscale(100%);
1923
page-break-inside: avoid;
1924
/* no breaks inside these elements */
1928
page-break-before: always;
1929
/* page break before main headers */
1936
page-break-after: avoid;
1937
/* no breaks after these elements */
1941
color: #000 !important;
1942
text-decoration: underline !important;
1946
content: " (" attr(href) ")";
1947
/* displaying URLs */
1950
a[href^="javascript:"]:after,
1951
a[href^="#"]:after {
1956
/* ----------------------------- */
1958
/* ==own stylesheet */
1960
/* ----------------------------- */
1962
/* Here should go your own CSS styles */
1964
/* You can also link them with a LESS @import */
1966
/* @import "my-styles.less"; */
b'\\ No newline at end of file'