addons-server/media/css/mkt/typography.less

120 строки
2.3 KiB
Plaintext

@import 'lib';
@font-face {
font-family: 'Open Sans';
src: url('fonts/OpenSans-Light-webfont.eot');
src: url('fonts/OpenSans-Light-webfont.eot?#iefix') format('embedded-opentype'),
url('fonts/OpenSans-Light-webfont.woff') format('woff'),
url('fonts/OpenSans-Light-webfont.ttf') format('truetype'),
url('fonts/OpenSans-Light-webfont.svg#OpenSansLight') format('svg');
font-weight: 300;
font-style: normal;
}
@font-face {
font-family: 'Open Sans';
src: url('fonts/OpenSans-Regular-webfont.eot');
src: url('fonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
url('fonts/OpenSans-Regular-webfont.woff') format('woff'),
url('fonts/OpenSans-Regular-webfont.ttf') format('truetype'),
url('fonts/OpenSans-Regular-webfont.svg#OpenSansRegular') format('svg');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'Open Sans';
src: url('fonts/OpenSans-Semibold-webfont.eot');
src: url('fonts/OpenSans-Semibold-webfont.eot?#iefix') format('embedded-opentype'),
url('fonts/OpenSans-Semibold-webfont.woff') format('woff'),
url('fonts/OpenSans-Semibold-webfont.ttf') format('truetype'),
url('fonts/OpenSans-Semibold-webfont.svg#OpenSansSemibold') format('svg');
font-weight: 600;
font-style: normal;
}
body {
font-family: @open-stack;
font-weight: 300;
font-size: 13px;
}
// Headers
h1, h2, h3, h4 {
font-weight: 300;
}
@media (max-width: @4col) {
body, h1, h2, h3, h4 {
font-weight: 400;
}
}
h1 {
font-size: 24px;
line-height: 26px;
}
h2 {
font-size: 28px;
line-height: 120%;
}
h3 {
font-size: 24px;
}
.listing h3 {
font-size: 18px;
}
h4 {
color: @dark-gray;
font-size: 16px;
}
b, strong {
font-weight: 600;
}
address {
color: @medium-gray;
font-style: normal;
}
.policy-statement {
line-height: 1.4;
padding: 5px;
}
dl {
margin: 0;
}
dt {
font-weight: bold;
}
dd {
color: @dark-gray;
margin: 0 0 10px;
}
/*
.linefit {
overflow: hidden;
position: relative;
span {
.transform-origin(0, 50%);
display: block;
position: absolute;
left: 0;
white-space: nowrap;
}
}
*/
.lineclamp.author {
overflow: hidden;
}