This commit is contained in:
Raphael Goetter 2017-10-18 08:26:01 +02:00
parent 7a2cca515b
commit 86c5ab4d22
3 changed files with 209 additions and 309 deletions

View file

@ -7,7 +7,7 @@
/* ==Table Of Content */ /* ==Table Of Content */
/* ----------------------------- */ /* ----------------------------- */
/* /*
1- Normalize (basic reset) 1- Reboot (basic reset)
2- Libraries : 2- Libraries :
- Base - Base
- Print - Print
@ -30,444 +30,343 @@
- Alerts - Alerts
- Grillade (Grid System) - Grillade (Grid System)
*/ */
/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */ *,
/* Document *::before,
========================================================================== */ *::after {
/** -webkit-box-sizing: border-box;
* 1. Correct the line height in all browsers. box-sizing: border-box;
* 2. Prevent adjustments of font size after orientation changes in }
* IE on Windows Phone and in iOS.
*/ html {
html { font-family: sans-serif;
line-height: 1.15; line-height: 1.15;
/* 1 */ -webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%; -ms-text-size-adjust: 100%;
/* 2 */ -ms-overflow-style: scrollbar;
-webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent;
/* 2 */ }
@-ms-viewport {
width: device-width;
}
article, aside, dialog, figcaption, figure, footer, header, hgroup, main, nav, section {
display: block;
} }
/* Sections
========================================================================== */
/**
* Remove the margin in all browsers (opinionated).
*/
body { body {
margin: 0; margin: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-size: 1rem;
font-weight: 400;
line-height: 1.5;
color: #212529;
text-align: left;
background-color: #fff;
} }
/** [tabindex="-1"]:focus {
* Add the correct display in IE 9-. outline: none !important;
*/
article,
aside,
footer,
header,
nav,
section {
display: block;
} }
/**
* Correct the font size and margin on `h1` elements within `section` and
* `article` contexts in Chrome, Firefox, and Safari.
*/
h1 {
font-size: 2em;
margin: 0.67em 0;
}
/* Grouping content
========================================================================== */
/**
* Add the correct display in IE 9-.
* 1. Add the correct display in IE.
*/
figcaption,
figure,
main {
/* 1 */
display: block;
}
/**
* Add the correct margin in IE 8.
*/
figure {
margin: 1em 40px;
}
/**
* 1. Add the correct box sizing in Firefox.
* 2. Show the overflow in Edge and IE.
*/
hr { hr {
-webkit-box-sizing: content-box; -webkit-box-sizing: content-box;
box-sizing: content-box; box-sizing: content-box;
/* 1 */
height: 0; height: 0;
/* 1 */
overflow: visible; overflow: visible;
/* 2 */
} }
/** h1, h2, h3, h4, h5, h6 {
* 1. Correct the inheritance and scaling of font size in all browsers. margin-top: 0;
* 2. Correct the odd `em` font sizing in all browsers. margin-bottom: 0.5rem;
*/
pre {
font-family: monospace, monospace;
/* 1 */
font-size: 1em;
/* 2 */
} }
/* Text-level semantics p {
========================================================================== */ margin-top: 0;
/** margin-bottom: 1rem;
* 1. Remove the gray background on active links in IE 10.
* 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
*/
a {
background-color: transparent;
/* 1 */
-webkit-text-decoration-skip: objects;
/* 2 */
} }
/** abbr[title],
* 1. Remove the bottom border in Chrome 57- and Firefox 39-. abbr[data-original-title] {
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/
abbr[title] {
border-bottom: none;
/* 1 */
text-decoration: underline; text-decoration: underline;
/* 2 */
-webkit-text-decoration: underline dotted; -webkit-text-decoration: underline dotted;
text-decoration: underline dotted; text-decoration: underline dotted;
/* 2 */ cursor: help;
border-bottom: 0;
} }
/** address {
* Prevent the duplicate application of `bolder` by the next rule in Safari 6. margin-bottom: 1rem;
*/ font-style: normal;
b, line-height: inherit;
strong { }
font-weight: inherit;
ol,
ul,
dl {
margin-top: 0;
margin-bottom: 1rem;
}
ol ol,
ul ul,
ol ul,
ul ol {
margin-bottom: 0;
}
dt {
font-weight: 700;
}
dd {
margin-bottom: .5rem;
margin-left: 0;
}
blockquote {
margin: 0 0 1rem;
}
dfn {
font-style: italic;
} }
/**
* Add the correct font weight in Chrome, Edge, and Safari.
*/
b, b,
strong { strong {
font-weight: bolder; font-weight: bolder;
} }
/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
code,
kbd,
samp {
font-family: monospace, monospace;
/* 1 */
font-size: 1em;
/* 2 */
}
/**
* Add the correct font style in Android 4.3-.
*/
dfn {
font-style: italic;
}
/**
* Add the correct background and color in IE 9-.
*/
mark {
background-color: #ff0;
color: #000;
}
/**
* Add the correct font size in all browsers.
*/
small { small {
font-size: 80%; font-size: 80%;
} }
/**
* Prevent `sub` and `sup` elements from affecting the line height in
* all browsers.
*/
sub, sub,
sup { sup {
position: relative;
font-size: 75%; font-size: 75%;
line-height: 0; line-height: 0;
position: relative;
vertical-align: baseline; vertical-align: baseline;
} }
sub { sub {
bottom: -0.25em; bottom: -.25em;
} }
sup { sup {
top: -0.5em; top: -.5em;
} }
/* Embedded content a {
========================================================================== */ color: #007bff;
/** text-decoration: none;
* Add the correct display in IE 9-. background-color: transparent;
*/ -webkit-text-decoration-skip: objects;
audio,
video {
display: inline-block;
} }
/** a:hover {
* Add the correct display in iOS 4-7. color: #0056b3;
*/ text-decoration: underline;
audio:not([controls]) { }
display: none;
height: 0; a:not([href]):not([tabindex]) {
color: inherit;
text-decoration: none;
}
a:not([href]):not([tabindex]):focus, a:not([href]):not([tabindex]):hover {
color: inherit;
text-decoration: none;
}
a:not([href]):not([tabindex]):focus {
outline: 0;
}
pre,
code,
kbd,
samp {
font-family: monospace, monospace;
font-size: 1em;
}
pre {
margin-top: 0;
margin-bottom: 1rem;
overflow: auto;
-ms-overflow-style: scrollbar;
}
figure {
margin: 0 0 1rem;
} }
/**
* Remove the border on images inside links in IE 10-.
*/
img { img {
vertical-align: middle;
border-style: none; border-style: none;
} }
/**
* Hide the overflow in IE.
*/
svg:not(:root) { svg:not(:root) {
overflow: hidden; overflow: hidden;
} }
/* Forms a,
========================================================================== */ area,
/**
* 1. Change the font styles in all browsers (opinionated).
* 2. Remove the margin in Firefox and Safari.
*/
button, button,
input, [role="button"],
optgroup, input:not([type="range"]),
label,
select, select,
summary,
textarea { textarea {
font-family: sans-serif; -ms-touch-action: manipulation;
/* 1 */ touch-action: manipulation;
font-size: 100%; }
/* 1 */
line-height: 1.15; table {
/* 1 */ border-collapse: collapse;
margin: 0; }
/* 2 */
caption {
padding-top: 0.75rem;
padding-bottom: 0.75rem;
color: #868e96;
text-align: left;
caption-side: bottom;
}
th {
text-align: inherit;
}
label {
display: inline-block;
margin-bottom: .5rem;
}
button {
border-radius: 0;
}
button:focus {
outline: 1px dotted;
outline: 5px auto -webkit-focus-ring-color;
}
input,
button,
select,
optgroup,
textarea {
margin: 0;
font-family: inherit;
font-size: inherit;
line-height: inherit;
} }
/**
* Show the overflow in IE.
* 1. Show the overflow in Edge.
*/
button, button,
input { input {
/* 1 */
overflow: visible; overflow: visible;
} }
/**
* Remove the inheritance of text transform in Edge, Firefox, and IE.
* 1. Remove the inheritance of text transform in Firefox.
*/
button, button,
select { select {
/* 1 */
text-transform: none; text-transform: none;
} }
/**
* 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
* controls in Android 4.
* 2. Correct the inability to style clickable types in iOS and Safari.
*/
button, button,
html [type="button"], html [type="button"],
[type="reset"], [type="reset"],
[type="submit"] { [type="submit"] {
-webkit-appearance: button; -webkit-appearance: button;
/* 2 */
} }
/**
* Remove the inner border and padding in Firefox.
*/
button::-moz-focus-inner, button::-moz-focus-inner,
[type="button"]::-moz-focus-inner, [type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner { [type="submit"]::-moz-focus-inner {
border-style: none;
padding: 0; padding: 0;
border-style: none;
} }
/** input[type="radio"],
* Restore the focus styles unset by the previous rule. input[type="checkbox"] {
*/
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
outline: 1px dotted ButtonText;
}
/**
* Correct the padding in Firefox.
*/
fieldset {
padding: 0.35em 0.75em 0.625em;
}
/**
* 1. Correct the text wrapping in Edge and IE.
* 2. Correct the color inheritance from `fieldset` elements in IE.
* 3. Remove the padding so developers are not caught out when they zero out
* `fieldset` elements in all browsers.
*/
legend {
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
/* 1 */
color: inherit;
/* 2 */
display: table;
/* 1 */
max-width: 100%;
/* 1 */
padding: 0; padding: 0;
/* 3 */
white-space: normal;
/* 1 */
} }
/** input[type="date"],
* 1. Add the correct display in IE 9-. input[type="time"],
* 2. Add the correct vertical alignment in Chrome, Firefox, and Opera. input[type="datetime-local"],
*/ input[type="month"] {
progress { -webkit-appearance: listbox;
display: inline-block;
/* 1 */
vertical-align: baseline;
/* 2 */
} }
/**
* Remove the default vertical scrollbar in IE.
*/
textarea { textarea {
overflow: auto; overflow: auto;
resize: vertical;
} }
/** fieldset {
* 1. Add the correct box sizing in IE 10-. min-width: 0;
* 2. Remove the padding in IE 10-.
*/
[type="checkbox"],
[type="radio"] {
-webkit-box-sizing: border-box;
box-sizing: border-box;
/* 1 */
padding: 0; padding: 0;
/* 2 */ margin: 0;
border: 0;
}
legend {
display: block;
width: 100%;
max-width: 100%;
padding: 0;
margin-bottom: .5rem;
font-size: 1.5rem;
line-height: inherit;
color: inherit;
white-space: normal;
}
progress {
vertical-align: baseline;
} }
/**
* Correct the cursor style of increment and decrement buttons in Chrome.
*/
[type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button { [type="number"]::-webkit-outer-spin-button {
height: auto; height: auto;
} }
/**
* 1. Correct the odd appearance in Chrome and Safari.
* 2. Correct the outline style in Safari.
*/
[type="search"] { [type="search"] {
-webkit-appearance: textfield;
/* 1 */
outline-offset: -2px; outline-offset: -2px;
/* 2 */ -webkit-appearance: none;
} }
/**
* Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
*/
[type="search"]::-webkit-search-cancel-button, [type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration { [type="search"]::-webkit-search-decoration {
-webkit-appearance: none; -webkit-appearance: none;
} }
/**
* 1. Correct the inability to style clickable types in iOS and Safari.
* 2. Change font properties to `inherit` in Safari.
*/
::-webkit-file-upload-button { ::-webkit-file-upload-button {
-webkit-appearance: button;
/* 1 */
font: inherit; font: inherit;
/* 2 */ -webkit-appearance: button;
} }
/* Interactive output {
========================================================================== */ display: inline-block;
/*
* Add the correct display in IE 9-.
* 1. Add the correct display in Edge, IE, and Firefox.
*/
details,
menu {
display: block;
} }
/*
* Add the correct display in all browsers.
*/
summary { summary {
display: list-item; display: list-item;
} }
/* Scripting
========================================================================== */
/**
* Add the correct display in IE 9-.
*/
canvas {
display: inline-block;
}
/**
* Add the correct display in IE.
*/
template { template {
display: none; display: none;
} }
/* Hidden
========================================================================== */
/**
* Add the correct display in IE 10-.
*/
[hidden] { [hidden] {
display: none; display: none !important;
} }
/* ----------------------------- */ /* ----------------------------- */
/* ==Base (basic styles) */ /* ==Base (basic styles) */
/* ----------------------------- */ /* ----------------------------- */
@ -492,6 +391,7 @@ html {
} }
body { body {
margin: 0;
font-size: 1.6rem; font-size: 1.6rem;
background-color: #fff; background-color: #fff;
color: #212529; color: #212529;

File diff suppressed because one or more lines are too long

View file

@ -32,7 +32,7 @@
- Grillade (Grid System) - Grillade (Grid System)
*/ */
@import "_vendor/_reboot.css"; // Bootstrap reboot (basic reset) @import "_vendor/_reboot"; // Bootstrap reboot (basic reset)
// WARNING : you should comment the following @import (variables) // WARNING : you should comment the following @import (variables)
// and move variables file from knacss folder to your own project folder! // and move variables file from knacss folder to your own project folder!