styles/_base.scss (66 lines of code) (raw):
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
@use 'colors';
* {
box-sizing: border-box;
}
body {
color: colors.$text-color;
background: colors.$background-color;
font-family: 'Inter', sans-serif;
text-rendering: optimizeLegibility;
margin: 0;
padding: 0;
}
code, pre {
font-family: 'Inconsolata', monospace;
}
a[href],
a[href]:visited {
color: colors.$link-text-color;
font-weight: bold;
}
a[href].email {
font-family: 'Inconsolata', monospace;
font-weight: normal;
}
p {
line-height: 1.5;
margin: 1em 0;
}
p > img:only-child,
figure {
width: 100%;
max-width: 600px;
}
figure img,
figure video {
width: 100%;
}
figcaption {
font-size: 80%;
font-style: italic;
}
li {
line-height: 1.5;
}
dt {
font-weight: bold;
line-height: 1.5;
}
dd {
line-height: 1.5;
margin: 1em 2em;
margin-top: 0.5em;
}
.readable-content {
width: 100%;
max-width: 1366px;
margin-left: auto;
margin-right: auto;
padding-left: 0.25in;
padding-right: 0.25in;
}
/* Style appropriately for printing */
@media print {
body {
font-size: 11pt;
}
}