website/static/simplesystems.css

338 lines
6.8 KiB
CSS
Raw Permalink Normal View History

* {
box-sizing: border-box;
}
html, body {
height: 100%;
}
body, body.light {
background: #f8f8f8;
color: #333;
}
body {
font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Oxygen-Sans,Cantarell,Ubuntu,Helvetica Neue,Roboto,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji !important;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
}
main {
flex: 1 0 auto;
padding-top: 64px;
}
a {
color: #2196f3;
text-decoration: none;
}
img { max-width: 100% !important }
p { text-align: justify }
p, p.light { color: #555 }
h1 { font-weight: normal; font-size: 2.5rem; }
h2 { font-weight: normal; font-size: 2.25rem; }
hr, hr.light {
border-color: rgba(0, 0, 0, 0.2);
border-width: thin 0 0 0;
border-style: solid;
display: block;
margin: 0;
max-height: 0px;
max-width: 100%;
}
.d-flex { display: flex !important }
.d-inline-flex { display: inline-flex !important }
.d-inline-block { display: inline-block !important }
.d-none { display: none !important }
.flex-column { display: flex !important; flex-direction: column !important }
.container {
margin: auto;
max-width: 1200px;
width: 100%;
}
.blog.container { max-width: 800px; padding-top: 2rem; }
.row {
display: flex;
flex-flow: row wrap;
}
.col { flex: 0 1 auto; padding: 0.75rem; }
.col.xs-12 { width: 100% !important }
.col.xs-6 { width: 50% !important }
.col.shrink { flex: 0 0 auto !important }
@media (min-width: 600px) {
.col.sm-content { flex-basis: content !important }
.col.sm-grow { flex-grow: 1 !important; flex-basis: 0 !important; }
.col.sm-shrink { flex: 0 0 auto !important; }
.col.sm-6 { width: 50% !important }
.col.sm-9 { width: 75% !important }
.col.sm-10 { width: 83.3334% !important }
.text-sm-center { text-align: center !important; }
.justify-sm-center { justify-content: center !important; }
}
@media (min-width: 950px) {
.col.md-content { flex-basis: content !important }
.col.md-grow { flex-grow: 1 !important; flex-basis: 0 !important; }
.col.md-shrink { flex: 0 0 auto !important; }
.col.md-3 { width: 25% !important }
.col.md-4 { width: 33.3334% !important }
.col.md-6 { width: 50% !important }
.col.md-8 { width: 66.6667% !important }
.col.md-9 { width: 75% !important }
.hide-md-and-up { display: none; }
}
@media (min-width: 1250px) {
.col.lg-6 { width: 50% !important }
}
@media (max-width: 949px) {
.hide-sm-and-down { display: none; }
}
.spacer { flex-grow: 1 !important }
.align-center { align-items: center !important }
.justify-center { justify-content: center !important }
.justify-end { justify-content: end !important }
.text-center { text-align: center !important }
.text-right { text-align: right !important }
.title { font-size: 1.25rem }
.headline { font-size: 1.5rem }
.mx-auto { margin: auto !important }
.ml-4 { margin-left: 1rem !important }
.mr-4 { margin-right: 1rem !important }
.mt-4 { margin-top: 1rem !important }
.mt-8 { margin-top: 2rem !important }
.pa-4 { padding: 1rem !important }
.pb-4 { padding-bottom: 1rem !important }
.pr-4 { padding-right: 1rem !important }
.overlay {
background-color: rgba(0,0,0,0.4);
display: flex;
position: fixed;
left: 0;
top: 0;
z-index: 5;
width: 100%;
height: 100%;
overflow: auto;
}
.card, .card.light {
--bgclr: white;
background: var(--bgclr);
border-radius: 4px;
color: #555;
display: block;
max-width: 100%;
outline: none;
overflow-wrap: break-word;
position: relative;
text-decoration: none;
width: 100%;
height: 100%;
transition-property: box-shadow;
transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
will-change: box-shadow;
box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
}
.card.blue { --bgclr: #1E88E5 !important; color: white !important; }
.card.outlined {
border: 1px solid rgba(0, 0, 0, 0.12);
box-shadow: none;
}
.card-title, .card-text {
padding: 1rem;
}
.card-title, .card-title.light {
background: #f2f2f2;
border-radius: 4px 4px 0 0 !important;
display: flex;
font-size: 1.5rem;
}
.card-text p {
text-indent: 12pt;
}
.navbar, .navbar.light {
color: white;
background: #222;
display: flex;
align-items: center;
padding: 1.1rem 1.5rem;
box-shadow: 0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.35),0 1px 10px 0 rgba(0,0,0,.12);
position: fixed;
top: 0;
width: 100%;
height: 64px !important;
z-index: 2;
}
.navbar-title {
font-size: 1.4rem;
}
.navbar-items {
font-size: 1.1rem;
}
.navbar-items a {
color: white;
margin-left: 2rem;
}
.navbar-items a:hover, .navbar-items.light a:hover { color: #555 }
#navDrawer { padding-top: 64px }
.drawer {
background: #333;
color: #ddd;
position: fixed;
top: 0;
right: 0;
z-index: 6;
min-width: 350px;
max-width: 350px;
max-height: 100%;
height: 100%;
transition: transform 0.3s;
transform: translate(100%);
}
.drawer-items a {
color: white;
display: block;
font-size: 1.25rem;
padding: 1rem;
padding-right: 3rem;
text-align: right;
}
.drawer-items a:hover {
background: grey;
}
.footer {
background: #111;
color: white !important;
flex-shrink: 0;
margin-top: 3rem;
padding-top: 2rem;
padding-bottom: 2rem;
}
.footer .contact {
padding-bottom: 2rem !important;
}
.jtron, .jtron.light {
background: linear-gradient(to bottom, rgba(25, 25, 25, 0.25), rgba(250, 250, 250, 0.75)), url(/img/background-grey.png) center center no-repeat;
}
.jtron {
padding-top: 9rem;
padding-bottom: 9rem;
}
.jtron h1 {
font-size: 4rem;
font-weight: normal;
}
.jtron h3 {
font-size: 2rem;
}
.jtron h3, .jtron h1 {
display: block;
margin: 0;
}
.jtron-content {
padding-top: 1rem;
padding-bottom: 1rem;
}
.jtron-left {
width: 100%;
max-width: 600px;
}
.jtron-right, .jtron-right.light {
background: rgba(190, 190, 190, 0.5);
font-size: 1.75rem;
max-width: 600px;
text-align: center;
height: 100%;
display: flex;
align-items: center;
padding: 1rem;
padding-top: 1.5rem;
padding-bottom: 1.5rem;
width: 100%;
margin: auto;
}
@media (max-width: 1249px) {
.jtron {
padding-top: 1.5rem;
padding-bottom: 1.5rem;
}
}
.article {}
.article h1,
.article h2,
.article h3 {
margin-top: 2.5rem;
margin-bottom: 1rem;
}
.article p {
text-indent: 16pt;
}
p.no-indent {
text-indent: 0;
}
.material-icons.sm { font-size: 0.925rem }
.material-icons { font-size: 1.75rem }
.material-icons.lg { font-size: 2.25rem }
.material-icons.xl { font-size: 3rem }
button::-moz-focus-inner, .btn::-moz-focus-inner {
border: none;
outline: 0 !important;
}
button, .btn {
--clr: #777;
border: 1px solid var(--clr);
border-radius: 4px;
background: var(--clr);
color: white;
cursor: pointer;
display: inline-flex;
align-items: center;
margin: 0;
padding: 0.5rem 1rem;
}
button.lg, .btn.lg { font-size: 1.1rem }
button.flat, .btn.flat {
background: none;
border: none;
padding: 0.25rem !important;
}
button.round, .btn.round {
border: none;
border-radius: 50%;
padding: 0.75rem;
}
.blue { --clr: #42A5F5 }