
* upgrade to bootstrap 3.3.6 * new Header, port website LESS - Add the new header - Modify sub-header in order to handle “back” button and version switcher - Port website’s Less: * Use same variables’ names * Review fonts and colours in order to fit the new style * add new footer * Review and optimise JS code in order properly handle the new header, footer and card.top animations * replace banner images
59 lines
1.3 KiB
Plaintext
59 lines
1.3 KiB
Plaintext
// =============================================================================
|
|
// Typography
|
|
// =============================================================================
|
|
|
|
// Font rendering
|
|
// ----------------------------------------
|
|
body {
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
// Headings
|
|
// ----------------------------------------
|
|
h1, h2, h3, h4, h5, h6,
|
|
.h1, .h2, .h3, .h4, .h5, .h6 {
|
|
text-rendering: geometricPrecision;
|
|
letter-spacing: -0.01em;
|
|
line-height: 1.4;
|
|
|
|
@media (min-width: @screen-lg-min) {
|
|
.has_code_col &{
|
|
color: white;
|
|
}
|
|
}
|
|
}
|
|
|
|
h1, h2, .h1, .h2 {
|
|
margin-top: @line-height-computed * 1.5;
|
|
font-weight: @fw_light;
|
|
b, strong, a {
|
|
font-weight: @fw_regular;
|
|
}
|
|
}
|
|
|
|
h3, .h3, h4, .h4, h5, h6, .h5, .h6 {
|
|
font-weight: @fw_regular;
|
|
b, strong, a {
|
|
font-weight: @fw_medium;
|
|
}
|
|
}
|
|
h4, .h4, h5, h6, .h5, .h6 {
|
|
margin-top: @line-height-computed;
|
|
margin-bottom: (@line-height-computed / 3);
|
|
}
|
|
|
|
// Lists
|
|
// ----------------------------------------
|
|
|
|
ul, ol {
|
|
&:not(:empty) {
|
|
margin-bottom: (@line-height-computed / 2);
|
|
}
|
|
ul, ol {
|
|
&:not(:empty) {
|
|
margin-bottom: (@line-height-computed / 3);
|
|
}
|
|
}
|
|
}
|