decimals consistency

This commit is contained in:
Raphael Goetter 2014-05-03 11:17:44 +02:00
parent 5da21cf480
commit 7590ebbde6
4 changed files with 5 additions and 176 deletions

View file

@ -34,7 +34,7 @@
@basebg : #fff; // body background color @basebg : #fff; // body background color
// spacings // spacings
@tiny-value : .5em; // tiny value for margins / paddings @tiny-value : 0.5em; // tiny value for margins / paddings
@small-value : 1em; // small value for margins / paddings @small-value : 1em; // small value for margins / paddings
@medium-value : 2em; // medium value for margins / paddings @medium-value : 2em; // medium value for margins / paddings
@large-value : 4em; // large value for margins / paddings @large-value : 4em; // large value for margins / paddings

View file

@ -10,7 +10,7 @@
content: ""; content: "";
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
position: relative; top: -.1em; position: relative; top: -0.1em;
margin: 0 0.3em 0 0; margin: 0 0.3em 0 0;
font: 1.4em/1 sans-serif; font: 1.4em/1 sans-serif;
color: #000; color: #000;

View file

@ -1,171 +0,0 @@
@import "00-config";
// google maps boolean
& when (@gmaps = true) {
/* Google Gmap3 bug fix on images */
.gm-style img {
height: 100%;
}
:not(.gm-style) img {
height: auto;
}
.gm-style img,
.gmnoscreen img,
.gmnoprint img {
max-width: none !important;
}
}
// IE6, 7, 8 support boolean
& when (@ie678 = true) {
/* IE678 support */
.ie678 h1, .ie678 .h1-like {
.em(@h1-size);
}
.ie678 h2, .ie678 .h2-like {
.em(@h2-size);
}
.ie678 h3, .ie678 .h3-like {
.em(@h3-size);
}
.ie678 h4, .ie678 .h4-like {
.em(@h4-size);
}
.ie678 h5, .ie678 .h5-like {
.em(@h5-size);
}
.ie678 h6, .ie678 .h6-like {
.em(@h6-size);
}
.ie678 img {
width: auto; /* @bugfix for IE8 */
}
.ie678 .gm-style img {
height: 100%;
}
/* hasLayout for IE6/IE7 */
.clearfix,
.line,
.mod,
.row,
.col {
*zoom: 1;
}
/* inline-block and table-cell for IE6/IE7 */
/* warning: .col needs width on IE6/IE7 */
.btn,
.col,
.inbl {
*display: inline;
*zoom: 1;
}
.visually-hidden {
*clip: rect(1px 1px 1px 1px);
}
/* Active box-sizing for IE6/IE7 */
/* @source https://github.com/Schepp/box-sizing-polyfill */
/*
.ie67 * {
behavior: url(/lib/box-sizing-polyfill/boxsizing.htc);
}
*/
}
// skip-links boolean
& when (@skip-links = true) {
/* styling skip links */
.skip-links {
position: absolute;
a {
position: absolute;
left: -7000px;
padding: 0.5em;
background: black;
color: white;
text-decoration: none;
&:focus {
position: static;
}
}
}
}
// hyphens boolean
& when (@hyphens = true) {
@media (max-width: @small-screen) {
/* you shall not pass */
div, textarea, table, td, th, code, pre, samp {
word-wrap: break-word;
hyphens: auto;
}
}
}
// Styling boolean
& when (@styling = true) {
/* styling elements */
code, kbd, mark {
border-radius: 2px;
}
kbd {
padding: 0 2px;
border: 1px solid #999;
}
code {
padding: 2px 4px;
background: rgba(0,0,0,.04);
color: #b11;
}
pre code {
padding: none;
background: none;
color: inherit;
border-radius: 0;
}
mark {
padding:2px 4px;
background: #ff0;
}
sup,
sub {
vertical-align: 0;
position: relative;
}
sup {
bottom: 1ex;
}
sub {
top: .5ex;
}
blockquote {
margin-left: 0;
padding-left: 1em;
border-left: 4px solid rgba(0,0,0,.15);
font-style: italic;
}
q {
font-style: normal;
}
q,
.q {
quotes: "“\00a0" "\00a0”";
}
q:lang(fr),
.q:lang(fr) {
quotes: "«\00a0" "\00a0»";
}
hr {
display: block;
clear: both;
height: 1px;
margin: 1em 0 2em;
padding: 0;
border: 0;
color: #ccc;
background-color: #ccc;
}
}

View file

@ -12,7 +12,7 @@
} }
code { code {
padding: 2px 4px; padding: 2px 4px;
background: rgba(0,0,0,.04); background: rgba(0,0,0,0.04);
color: #b11; color: #b11;
} }
pre code { pre code {
@ -34,12 +34,12 @@
bottom: 1ex; bottom: 1ex;
} }
sub { sub {
top: .5ex; top: 0.5ex;
} }
blockquote { blockquote {
margin-left: 0; margin-left: 0;
padding-left: 1em; padding-left: 1em;
border-left: 4px solid rgba(0,0,0,.15); border-left: 4px solid rgba(0,0,0,0.15);
font-style: italic; font-style: italic;
} }
q { q {