diskfloppy.me/public/css/master.css

394 lines
5.3 KiB
CSS

/*@import "colorschemes/catppuccin-macchiato.css";*/
body {
font-family: sans-serif;
margin: 0;
color: var(--foreground);
background-color: var(--background);
text-align: left;
}
ul {
list-style-type: square;
}
div.page {
min-width: 780px;
max-width: 800px;
padding-left: 0.5em;
padding-right: 0.5em;
margin: auto;
}
h1.inline {
margin-top: 0;
clear: none;
display: inline;
}
h1,
h2,
h3 {
margin-top: 1em;
clear: left;
}
img {
border: none;
max-width: 100%;
}
img.right {
float: right;
margin-left: 0.5em;
}
table.form td {
border: none;
}
/* -------------------------------------------------------------------------- */
div.code-block {
background-color: var(--background);
border: 2px solid var(--foreground);
padding: 10px;
display: inline-block;
text-align: left;
max-width: 90%;
min-width: 400px;
margin: 10px;
}
div.code-block hr {
margin-top: 5px;
margin-bottom: 5px;
}
div.code-block h1 {
margin: 0;
font-family: monospace;
}
div.code-block h1 small {
color: var(--foreground);
font-size: 12px;
}
div.code-block pre hr {
margin-bottom: 5px;
}
div.code-block pre code {
background-color: var(--background);
}
pre {
display: inline;
max-width: 95%;
overflow: auto;
}
.header a {
text-decoration: none;
}
.theme-selector {
text-align: right;
vertical-align: middle;
}
.nav-wrapper {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-template-rows: 1fr;
grid-column-gap: 0;
grid-row-gap: 0;
}
.theme-selector label {
font-weight: bold;
}
.theme-selector label::after {
content: ': ';
}
nav {
margin-bottom: 0.3em;
text-align: left;
}
nav img {
width: 32px;
}
nav h1 {
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue",
sans-serif;
font-weight: normal;
font-size: 30px;
margin: 10px 10px 10px 0;
}
div.date {
text-align: center;
}
div.note {
font-style: italic;
}
table {
border-collapse: collapse;
border-color: var(--foreground);
}
table.weather th {
font-weight: normal;
}
table.weather td {
font-weight: bold;
text-align: right;
}
div.rss {
position: absolute;
top: 1em;
right: 1em;
}
div.archived {
margin-top: 0.5em;
}
div.archived span.date {
font-style: italic;
margin-right: 0.2em;
}
video {
max-width: 100%;
}
table td {
border: 1px solid var(--foreground);
}
td {
padding: 0;
vertical-align: top;
}
.header .title {
color: var(--foreground);
}
.header {
font-size: 100%;
font-weight: normal;
padding-bottom: 0;
text-align: center;
}
h1 {
font-size: 150%;
}
h1 {
font-size: 150%;
}
h2 {
font-size: 130%;
}
h3 {
font-size: 115%;
}
table.computers {
width: 100%;
}
td.computer {
width: 50%;
border: 0;
}
div.footer {
text-align: center;
margin-bottom: 5px;
}
table.commits tr td {
border: none;
padding-right: 5px;
}
a {
color: var(--links);
text-decoration: none;
}
table.gb-entry-form tr td {
border: none;
}
table.gb-entry-form tr td label {
padding-right: 5px;
}
table.gb-entry-form tr td span.text-danger {
padding-left: 5px;
color: var(--warning);
}
table.gb-entry-form tr td textarea,
table.gb-entry-form tr td input {
margin-bottom: 5px;
}
table.gb-entry-form-container {
width: 100%;
}
table.gb-entry-form-container tr td {
border: none;
vertical-align: top;
}
table.gb-entry-form-container tr td p,
table.gb-entry-form-container tr td ul {
margin: 0;
}
table.gb-entry-form tbody tr td textarea {
width: 210px;
}
table.gb-entry tr td {
border: solid var(--foreground) 1px;
width: 500px;
vertical-align: top;
padding: 5px;
}
table.gb-entry {
margin-bottom: 5px;
}
table.gb-admin {
margin-bottom: 5px;
width: 500px;
border: var(--foreground) solid;
}
table.gb-admin tr td {
border-right: none;
border-bottom: none;
vertical-align: top;
padding: 5px;
}
table.gb-admin tr td.gb-del {
border-left: none;
vertical-align: top;
padding: 5px;
width: 32px;
}
table.gb-admin tr td.gb-message {
border-top: none;
vertical-align: top;
padding: 5px;
}
table.info-table tr td {
border: none;
padding-right: 5px;
}
table.info-table tr td h1,
table.info-table tr td h2,
table.info-table tr td small {
margin: 0;
}
caption h1,
caption h2 {
margin: 0;
}
caption {
text-align: left;
}
table.info-table tr td small {
margin-bottom: 5px;
}
.hljs {
background: none !important;
}
.me img {
float: right;
margin: 5px;
}
.me p {
text-align: justify;
}
a:hover {
text-decoration: underline;
}
.computer {
width: 100%;
}
.computer td {
border: none;
}
.computer h1,
.computer hr {
margin: 0;
}
.computer .computer-image {
width: 256px;
}
.spec {
padding-left: 20px;
}
.spec-title {
font-weight: bold;
}
.computer-specs {
margin-top: 5px;
}
.error-box {
width: 500px;
border: 5px solid var(--warning-box-border);
background-color: var(--warning-box-bg);
padding: 5px;
}
.error-box a,
.error-box p {
margin: 0;
color: var(--foreground)
}
.never-said caption {
width: 400px;
}