tech-ingolf-wagner-de/src/lessc/page/main.less

102 lines
1.5 KiB
Plaintext
Raw Normal View History

2021-07-19 20:21:28 +02:00
@import "color.less";
@import "media-types.less";
@import "font.less";
2021-08-25 07:34:16 +02:00
2021-08-24 20:08:43 +02:00
@import "main-navigation.less";
2021-08-24 21:18:56 +02:00
@import "main-hack.less";
@import "main-toc.less";
@import "main-listing.less";
2021-08-25 20:06:33 +02:00
@import "chroma-highlighting-syntax.less";
2021-07-19 20:21:28 +02:00
2021-08-28 09:57:01 +02:00
@import "custom-iphone.less";
2021-09-05 14:18:54 +02:00
//* {
// text-rendering: geometricPrecision;
//}
2021-09-05 13:58:20 +02:00
2021-09-01 20:17:58 +02:00
html {
2021-09-05 13:58:20 +02:00
-webkit-text-size-adjust: 100%;
2021-08-25 07:34:16 +02:00
font-family: @font-normal;
2021-09-05 13:58:20 +02:00
font-style: normal;
2021-09-05 14:18:54 +02:00
line-height: 1.5em;
@media @desktop{
font-size: 16px;
}
2021-09-05 14:18:54 +02:00
font-size: 13px;
2021-09-01 20:17:58 +02:00
background-color: @color-body-background;
2021-08-25 07:34:16 +02:00
color: @color-body-font;
2021-09-01 20:17:58 +02:00
}
2021-09-01 20:17:58 +02:00
body {
padding-bottom: 3em;
2021-07-19 20:21:28 +02:00
header {
width: 100%;
@media @desktop {
width: 800px;
};
2021-08-24 21:18:56 +02:00
margin-left: auto;
margin-right: auto;
2021-07-19 20:21:28 +02:00
}
2021-07-19 20:21:28 +02:00
.content {
@media @desktop {
2021-08-24 21:18:56 +02:00
width: 800px;
};
width: 100%;
margin-left: auto;
margin-right: auto;
2021-08-25 07:34:16 +02:00
}
2021-08-25 07:34:16 +02:00
.content-big {
@media @desktop {
width: 1000px;
};
width: 100%;
2021-08-25 07:34:16 +02:00
margin-left: auto;
margin-right: auto;
2021-07-19 20:21:28 +02:00
}
}
h1, h2, h3, h4 {
2021-08-24 21:18:56 +02:00
font-family: @font-header;
2021-07-19 20:21:28 +02:00
}
2021-08-25 20:06:33 +02:00
.publishing_date {
font-family: @font-publishing-date;
font-size: 0.8rem;
color: @color-publishing-date;
}
2021-07-19 20:21:28 +02:00
table.comparison {
width: 100%;
margin-left: 0;
margin-right: 0;
2021-07-19 20:21:28 +02:00
.good {
background: @color-comparison-good;
text-align: center;
}
2021-07-19 20:21:28 +02:00
.bad {
background: @color-comparison-bad;
text-align: center;
}
2021-07-19 20:21:28 +02:00
.ok {
background: @color-comparison-ok;
text-align: center;
}
}
2021-08-27 15:23:16 +02:00
figure {
2021-09-05 15:08:40 +02:00
widows: 98%;
margin-top: 1em;
margin-bottom: 1em;
margin-left: 0;
margin-right: 0;
2021-08-27 15:23:16 +02:00
}