breezewiki-docs/custom-style.css

100 lines
1.5 KiB
CSS

html {
font-size: 18px;
}
body {
display: grid;
justify-content: center;
grid-template-columns: auto minmax(auto, 750px);
gap: 20px;
padding-bottom: 10vh;
}
.tocset, .maincolumn {
float: none;
margin: 0;
}
.tocviewlist table {
font-size: 1rem;
}
.tocviewsublist table,
.tocviewsublistonly table,
.tocviewsublisttop table,
.tocviewsublistbottom table {
font-size: 0.85rem;
}
.toclink, .toptoclink, .tocviewlink, .tocviewselflink {
text-decoration: none;
}
.toclink:hover, .toptoclink:hover, .tocviewlink:hover, .tocviewselflink:hover {
text-decoration: underline;
}
.maincolumn {
width: auto;
}
h3 {
font-size: 1.6em;
}
h4 {
font-size: 1.3em;
}
h5 {
font-size: 1.1em;
}
.boxed, .SVerbatim, .stt {
background-color: rgb(232, 232, 255);
font-size: 0.90em;
}
.user-table {
border-collapse: collapse;
}
.user-table--title tr:first-child td {
font-weight: bold;
}
.user-table td {
border: solid black;
padding: 4px;
border-width: 1px 0px;
}
.user-table td + td {
padding-left: 8px;
}
.block-note {
background-color: #e1e1e1;
position: relative;
margin: 0;
padding: 8px 8px 8px 40px;
}
.block-note::before {
content: "🛈";
position: absolute;
top: 0;
bottom: 0;
width: 0;
left: 20px;
display: flex;
align-items: center;
justify-content: center;
line-height: 1;
}
.block-note p {
margin: 0;
}
@media (max-width: 600px) {
body {
grid-template-columns: 1fr;
}
.tocset {
width: auto;
}
}