This repository has been archived on 2026-04-30. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
mechaimmensewarfare.com/public_html/styles/shared.css
T
Ratstail91 06bb8b8ed0 Hid TOC on desktops & tablets, read more
* I switched the markdown engine to markdown-it.
* I used a plugin from the new engine called markdown-it-container to generate a div tag around the TOC
* Configured the plugin to generate the classname mobileOnly
* Recreated semantic's mobile only option using CSS.
2017-03-22 20:07:55 +11:00

68 lines
697 B
CSS

body {
display: flex;
min-height: 100vh;
flex-direction: column;
}
#content {
margin-top: 1rem;
margin-bottom: 1rem;
flex: 1;
}
h1 {
font-size: 24px;
font-weight: bold;
}
h2 {
font-size: 16px;
font-weight: bold;
}
p {
font-size: 14px;
}
.scrollable {
margin-top: 1rem;
max-width: 100%;
overflow: auto;
}
thead {
font-weight: bold;
}
th {
min-width: 50px;
}
th:nth-child(1) {
min-width: 120px;
}
th:nth-child(4) {
min-width: 250px;
}
footer {
text-align: center;
}
/* Up and Down Arrows */
.descend:after{
content: "\25B2";
}
.ascend:after{
content: "\25BC";
}
/* device only features */
@media screen and (min-width: 480px) {
.mobileOnly {
display: none;
}
}