tabs to spaces + editorconfig
This commit is contained in:
parent
1bc094e9df
commit
5fa49413b6
24 changed files with 1671 additions and 1672 deletions
|
@ -4,35 +4,35 @@
|
|||
|
||||
/* switching to border-box model for all elements */
|
||||
html {
|
||||
box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: inherit;
|
||||
box-sizing: inherit;
|
||||
}
|
||||
|
||||
ul,
|
||||
ol {
|
||||
padding-left: 2em;
|
||||
padding-left: 2em;
|
||||
}
|
||||
|
||||
ul.@{kna-namespace}unstyled {
|
||||
list-style: none;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
img {
|
||||
vertical-align: middle;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
/* height auto only for non SVG images */
|
||||
img:not([src$=".svg"]) {
|
||||
height: auto;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
blockquote,
|
||||
figure {
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
/* ----------------------------- */
|
||||
|
@ -41,34 +41,34 @@ figure {
|
|||
|
||||
html {
|
||||
|
||||
/* set base font-size to equiv "10px", which is adapted to rem unit */
|
||||
font-size: 62.5%;
|
||||
/* set base font-size to equiv "10px", which is adapted to rem unit */
|
||||
font-size: 62.5%;
|
||||
|
||||
/* IE9-IE11 math fixing. See http://bit.ly/1g4X0bX */
|
||||
/* thanks to @guardian, @victorbritopro and @eQRoeil */
|
||||
font-size: ~'calc(1em * .625)';
|
||||
/* IE9-IE11 math fixing. See http://bit.ly/1g4X0bX */
|
||||
/* thanks to @guardian, @victorbritopro and @eQRoeil */
|
||||
font-size: ~'calc(1em * .625)';
|
||||
|
||||
/* disallow text zooming on orientation change (non standard property) */
|
||||
-webkit-text-size-adjust: 100%;
|
||||
-ms-text-size-adjust: 100%;
|
||||
/* disallow text zooming on orientation change (non standard property) */
|
||||
-webkit-text-size-adjust: 100%;
|
||||
-ms-text-size-adjust: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
/* set body font-size in em (1.4em equiv "14px") */
|
||||
font-size: unit((@base-font-size / 10), em);
|
||||
/* set body font-size in em (1.4em equiv "14px") */
|
||||
font-size: unit((@base-font-size / 10), em);
|
||||
|
||||
background-color: @base-background;
|
||||
color: @base-color;
|
||||
font-family: @font-stack-common;
|
||||
line-height: @line-height;
|
||||
background-color: @base-background;
|
||||
color: @base-color;
|
||||
font-family: @font-stack-common;
|
||||
line-height: @line-height;
|
||||
}
|
||||
|
||||
a {
|
||||
color: @base-color-link;
|
||||
&:hover, &:focus, &:active {
|
||||
color: @base-color-link-hover;
|
||||
}
|
||||
color: @base-color-link;
|
||||
&:hover, &:focus, &:active {
|
||||
color: @base-color-link-hover;
|
||||
}
|
||||
}
|
||||
|
||||
/* font-sizing for content */
|
||||
|
@ -86,73 +86,73 @@ textarea,
|
|||
caption,
|
||||
details,
|
||||
figure {
|
||||
margin-top: 0.75em;
|
||||
margin-bottom: 0;
|
||||
line-height: @line-height;
|
||||
margin-top: 0.75em;
|
||||
margin-bottom: 0;
|
||||
line-height: @line-height;
|
||||
}
|
||||
|
||||
h1,
|
||||
.@{kna-namespace}h1-like {
|
||||
font-size: @h1-size;
|
||||
font-family: @font-stack-headings;
|
||||
font-size: @h1-size;
|
||||
font-family: @font-stack-headings;
|
||||
}
|
||||
|
||||
h2,
|
||||
.@{kna-namespace}h2-like {
|
||||
font-size: @h2-size;
|
||||
font-family: @font-stack-headings;
|
||||
font-size: @h2-size;
|
||||
font-family: @font-stack-headings;
|
||||
}
|
||||
|
||||
h3,
|
||||
.@{kna-namespace}h3-like {
|
||||
font-size: @h3-size;
|
||||
font-size: @h3-size;
|
||||
}
|
||||
|
||||
h4,
|
||||
.@{kna-namespace}h4-like {
|
||||
font-size: @h4-size;
|
||||
font-size: @h4-size;
|
||||
}
|
||||
|
||||
h5,
|
||||
.@{kna-namespace}h5-like {
|
||||
font-size: @h5-size;
|
||||
font-size: @h5-size;
|
||||
}
|
||||
|
||||
h6,
|
||||
.@{kna-namespace}h6-like {
|
||||
font-size: @h6-size;
|
||||
font-size: @h6-size;
|
||||
}
|
||||
|
||||
/* alternate font-sizing */
|
||||
.@{kna-namespace}smaller {
|
||||
font-size: 0.6em;
|
||||
font-size: 0.6em;
|
||||
}
|
||||
|
||||
.@{kna-namespace}small {
|
||||
font-size: 0.8em;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
.@{kna-namespace}big {
|
||||
font-size: 1.2em;
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
.@{kna-namespace}bigger {
|
||||
font-size: 1.5em;
|
||||
font-size: 1.5em;
|
||||
}
|
||||
|
||||
.@{kna-namespace}biggest {
|
||||
font-size: 2em;
|
||||
font-size: 2em;
|
||||
}
|
||||
|
||||
code,
|
||||
pre,
|
||||
samp,
|
||||
kbd {
|
||||
/* IE fix */
|
||||
white-space: pre-line;
|
||||
white-space: pre-wrap;
|
||||
font-family: @font-stack-monospace;
|
||||
line-height: normal;
|
||||
/* IE fix */
|
||||
white-space: pre-line;
|
||||
white-space: pre-wrap;
|
||||
font-family: @font-stack-monospace;
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
em,
|
||||
|
@ -161,7 +161,7 @@ address,
|
|||
cite,
|
||||
i,
|
||||
var {
|
||||
font-style: italic;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/* ----------------------------- */
|
||||
|
@ -170,25 +170,25 @@ var {
|
|||
|
||||
/* hidden but not for an assistive technology like a screen reader, Yahoo! method */
|
||||
.@{kna-namespace}visually-hidden {
|
||||
position: absolute !important;
|
||||
border: 0 !important;
|
||||
height: 1px !important;
|
||||
width: 1px !important;
|
||||
padding: 0 !important;
|
||||
overflow: hidden !important;
|
||||
clip: rect(1px, 1px, 1px, 1px) !important;
|
||||
position: absolute !important;
|
||||
border: 0 !important;
|
||||
height: 1px !important;
|
||||
width: 1px !important;
|
||||
padding: 0 !important;
|
||||
overflow: hidden !important;
|
||||
clip: rect(1px, 1px, 1px, 1px) !important;
|
||||
}
|
||||
|
||||
@media (max-width: @small-screen) {
|
||||
.@{kna-namespace}no-small-screen {
|
||||
display: none;
|
||||
}
|
||||
.@{kna-namespace}no-small-screen {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: @large-screen) {
|
||||
.@{kna-namespace}no-large-screen {
|
||||
display: none;
|
||||
}
|
||||
.@{kna-namespace}no-large-screen {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* ----------------------------- */
|
||||
|
@ -215,9 +215,9 @@ h5,
|
|||
.@{kna-namespace}h5-like,
|
||||
h6,
|
||||
.@{kna-namespace}h6-like {
|
||||
&:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
&:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* avoid margins on nested elements */
|
||||
|
@ -225,8 +225,8 @@ li p,
|
|||
li .@{kna-namespace}p-like,
|
||||
li ul,
|
||||
li ol {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* max values */
|
||||
|
@ -240,10 +240,10 @@ textarea,
|
|||
input,
|
||||
video,
|
||||
svg {
|
||||
max-width: 100%;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
/* margin-bottom on tables */
|
||||
table {
|
||||
margin-bottom: @medium-value;
|
||||
margin-bottom: @medium-value;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue