Update CSS "Main" from version "12.0.1-beta.1" to "12.0.2-beta.1"
This commit is contained in:
parent
32f241c938
commit
aa2dd477bf
328
main.css
328
main.css
@ -1,315 +1,319 @@
|
|||||||
/* Inferencium - Website - CSS - Main */
|
/* Inferencium - Website - CSS - Main */
|
||||||
/* Version: 12.0.1-beta.1 */
|
/* Version: 12.0.2-beta.1 */
|
||||||
|
|
||||||
/* Copyright 2022 Jake Winters */
|
/* Copyright 2022 Jake Winters */
|
||||||
/* SPDX-License-Identifier: BSD-3-Clause */
|
/* SPDX-License-Identifier: BSD-3-Clause */
|
||||||
|
|
||||||
|
|
||||||
|
/* Display Size - Large
|
||||||
|
Colour Scheme - Dark */
|
||||||
/* Body */
|
/* Body */
|
||||||
body {
|
body {
|
||||||
padding-top: 40px;
|
padding-top: 40px;
|
||||||
margin-left: min(400px, 45vw);
|
margin-left: min(400px, 45vw);
|
||||||
margin-right: min(150px, 12vw);
|
margin-right: min(150px, 12vw);
|
||||||
font-family: Roboto, sans-serif;
|
font-family: Roboto, sans-serif;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
line-height: 130%;
|
line-height: 130%;
|
||||||
background-color: #121212;
|
background-color: #121212;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Headings */
|
/* Headings */
|
||||||
h1, h1 a, h1 a:visited, h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited, h4, h4 a, h4 a:visited, h5, h5 a, h5 a:visited, h6, h6 a, h6 a:visited {
|
h1, h1 a, h1 a:visited, h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited, h4, h4 a, h4 a:visited, h5, h5 a, h5 a:visited,
|
||||||
text-align: left;
|
h6, h6 a, h6 a:visited {
|
||||||
line-height: 130%;
|
text-align: left;
|
||||||
color: #ffffff;
|
line-height: 130%;
|
||||||
|
color: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1, h1 a, h1 a:visited {
|
h1, h1 a, h1 a:visited {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
h2, h2 a, h2 a:visited {
|
h2, h2 a, h2 a:visited {
|
||||||
font-size: 22px;
|
font-size: 22px;
|
||||||
}
|
}
|
||||||
|
|
||||||
h3, h3 a, h3 a:visited {
|
h3, h3 a, h3 a:visited {
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
h4, h4 a, h4 a:visited {
|
h4, h4 a, h4 a:visited {
|
||||||
font-size: 19px;
|
font-size: 19px;
|
||||||
}
|
}
|
||||||
|
|
||||||
h5, h5 a, h5 a:visited {
|
h5, h5 a, h5 a:visited {
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
h6, h6 a, h6 a:visited {
|
h6, h6 a, h6 a:visited {
|
||||||
font-size: 17px;
|
font-size: 17px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Paragraph */
|
/* Paragraph */
|
||||||
p {
|
p {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Blockquote */
|
/* Blockquote */
|
||||||
blockquote {
|
blockquote {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Code */
|
/* Code */
|
||||||
code, pre {
|
code, pre {
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
background-color: #424242;
|
background-color: #424242;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Links */
|
/* Links */
|
||||||
a {
|
a {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
color: #90caf9;
|
color: #90caf9;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:visited {
|
a:visited {
|
||||||
color: #ce93d8;
|
color: #ce93d8;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:hover {
|
a:hover {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Lists */
|
/* Lists */
|
||||||
li {
|
li {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul li::before {
|
ul li::before {
|
||||||
margin-left: -1em;
|
margin-left: -1em;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 1em;
|
width: 1em;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Tables */
|
/* Tables */
|
||||||
table, th, td {
|
table, th, td {
|
||||||
border: 2px solid;
|
border: 2px solid;
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
border-color: #ffffff;
|
border-color: #ffffff;
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
th {
|
th {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
td {
|
td {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
td.desc {
|
td.desc {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
td.desc-small {
|
td.desc-small {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
td.green {
|
td.green {
|
||||||
background-color: #00a70a
|
background-color: #00a70a
|
||||||
}
|
}
|
||||||
|
|
||||||
td.red {
|
td.red {
|
||||||
background-color: #e50000;
|
background-color: #e50000;
|
||||||
}
|
}
|
||||||
|
|
||||||
colgroup col.small {
|
colgroup col.small {
|
||||||
width: 10%;
|
width: 10%;
|
||||||
}
|
}
|
||||||
|
|
||||||
colgroup col.med {
|
colgroup col.med {
|
||||||
width: 15%;
|
width: 15%;
|
||||||
}
|
}
|
||||||
|
|
||||||
colgroup col.lrg {
|
colgroup col.lrg {
|
||||||
width: 65%;
|
width: 65%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Image */
|
/* Image */
|
||||||
img.avatar {
|
img.avatar {
|
||||||
width: 10%;
|
width: 10%;
|
||||||
height: 10%;
|
height: 10%;
|
||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
margin-right: 15px;
|
margin-right: 15px;
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
img.logo-small {
|
img.logo-small {
|
||||||
transform: translate(0px, 13px);
|
transform: translate(0px, 13px);
|
||||||
margin-right: 15px;
|
margin-right: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Navigation bar */
|
/* Navigation bar */
|
||||||
nav.navbar {
|
nav.navbar {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 250px;
|
width: 250px;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
left: 0;
|
left: 0;
|
||||||
top: 0;
|
top: 0;
|
||||||
padding-top: 55px;
|
padding-top: 55px;
|
||||||
background-color: #909090;
|
background-color: #909090;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
z-index: 99;
|
z-index: 99;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav.navbar div, nav.navbar div a, nav.navbar div a:visited {
|
nav.navbar div, nav.navbar div a, nav.navbar div a:visited {
|
||||||
padding: 6px;
|
padding: 6px;
|
||||||
font-family: Roboto, sans-serif;
|
font-family: Roboto, sans-serif;
|
||||||
font-size: 22px;
|
font-size: 22px;
|
||||||
color: #000000;
|
color: #000000;
|
||||||
display: block;
|
display: block;
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav.navbar div.title a, nav.navbar div.title a:visited {
|
nav.navbar div.title a, nav.navbar div.title a:visited {
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
font-family: Roboto, sans-serif;
|
font-family: Roboto, sans-serif;
|
||||||
font-size: 28px;
|
font-size: 28px;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav.navbar div.logo a img, nav.navbar div.logo a img {
|
nav.navbar div.logo a img, nav.navbar div.logo a img {
|
||||||
width: 110px;
|
width: 110px;
|
||||||
height: 110px;
|
height: 110px;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav.navbar div.sitemap a, nav.navbar div.sitemap a:visited {
|
nav.navbar div.sitemap a, nav.navbar div.sitemap a:visited {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 120px;
|
bottom: 120px;
|
||||||
left: 90px;
|
left: 90px;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
div.sitemap-small {
|
div.sitemap-small {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Media */
|
/* Display Size - Small */
|
||||||
@media (max-width: 600px) {
|
@media (max-width: 600px) {
|
||||||
|
|
||||||
body {
|
body {
|
||||||
padding-top: 60px;
|
padding-top: 60px;
|
||||||
margin: 15px;
|
margin: 15px;
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow-x: scroll;
|
overflow-x: scroll;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav.navbar {
|
nav.navbar {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding-top: 6px;
|
padding-top: 6px;
|
||||||
padding-bottom: 6px;
|
padding-bottom: 6px;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
height: 35px;
|
height: 35px;
|
||||||
overflow-y: hidden;
|
overflow-y: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav.navbar div.logo a img {
|
nav.navbar div.logo a img {
|
||||||
width: 30px;
|
width: 30px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav.navbar .title {
|
nav.navbar .title {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav.navbar div.sitemap {
|
nav.navbar div.sitemap {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav.navbar div a {
|
nav.navbar div a {
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
h2, h3, h4, h5, h6 {
|
h2, h3, h4, h5, h6 {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.sitemap-small, div.sitemap-small a {
|
div.sitemap-small, div.sitemap-small a {
|
||||||
display: block;
|
display: block;
|
||||||
padding-top: 20px;
|
padding-top: 20px;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
width: 50%;
|
width: 50%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
img.avatar {
|
img.avatar {
|
||||||
display: block;
|
display: block;
|
||||||
width: 30%;
|
width: 30%;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.update_date {
|
.update_date {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
table {
|
table {
|
||||||
width: 200vw;
|
width: 200vw;
|
||||||
}
|
}
|
||||||
|
|
||||||
table.lrg {
|
table.lrg {
|
||||||
width: 300vw;
|
width: 300vw;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* Colour Scheme - Light */
|
||||||
@media (prefers-color-scheme: light) {
|
@media (prefers-color-scheme: light) {
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background-color: #fafafa;
|
background-color: #fafafa;
|
||||||
color: #000000;
|
color: #000000;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1, h1 a, h1 a:visited, h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited, h4, h4 a, h4 a:visited, h5, h5 a, h5 a:visited, h6, h6 a, h6 a:visited, code {
|
h1, h1 a, h1 a:visited, h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited, h4, h4 a, h4 a:visited, h5, h5 a,
|
||||||
color: #000000;
|
h5 a:visited, h6, h6 a, h6 a:visited, code {
|
||||||
}
|
color: #000000;
|
||||||
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: #1565c0;
|
color: #1565c0;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:visited {
|
a:visited {
|
||||||
color: #6a1b9a;
|
color: #6a1b9a;
|
||||||
}
|
}
|
||||||
|
|
||||||
code, pre {
|
code, pre {
|
||||||
background-color: #e0e2ec;
|
background-color: #e0e2ec;
|
||||||
}
|
}
|
||||||
|
|
||||||
table, th, td {
|
table, th, td {
|
||||||
border-color: #000000;
|
border-color: #000000;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user