diskfloppy.me/public/css/master.css

390 lines
5.3 KiB
CSS
Raw Normal View History

/*@import "colorschemes/catppuccin-macchiato.css";*/
2023-08-14 21:51:16 +00:00
2023-07-25 23:08:58 +00:00
body {
2023-07-28 22:44:35 +00:00
font-family: sans-serif;
margin: 0;
2023-08-14 21:51:16 +00:00
color: var(--foreground);
background-color: var(--background);
2023-08-14 22:45:31 +00:00
text-align: left;
2023-06-21 00:49:03 +00:00
}
2023-06-13 22:07:20 +00:00
ul {
list-style-type: square;
}
div.page {
2023-07-14 00:41:43 +00:00
min-width: 780px;
2023-07-25 23:08:58 +00:00
max-width: 800px;
2023-06-13 22:07:20 +00:00
padding-left: 0.5em;
padding-right: 0.5em;
2023-07-12 14:06:44 +00:00
margin: auto;
2023-06-13 22:07:20 +00:00
}
h1.inline {
2023-08-16 13:10:19 +00:00
margin-top: 0;
2023-06-13 22:07:20 +00:00
clear: none;
2023-07-12 14:06:44 +00:00
display: inline;
2023-06-13 22:07:20 +00:00
}
2023-07-25 23:08:58 +00:00
h1,
h2,
h3 {
2023-06-13 22:07:20 +00:00
margin-top: 1em;
2023-07-12 14:06:44 +00:00
clear: left;
2023-06-13 22:07:20 +00:00
}
img {
border: none;
max-width: 100%;
}
img.right {
float: right;
2023-07-12 14:06:44 +00:00
margin-left: 0.5em;
2023-06-13 22:07:20 +00:00
}
2023-07-12 14:06:44 +00:00
table.form td {
2023-06-13 22:07:20 +00:00
border: none;
}
2023-07-12 14:06:44 +00:00
/* -------------------------------------------------------------------------- */
2023-08-16 13:10:19 +00:00
div.code-block {
2023-08-14 21:51:16 +00:00
background-color: var(--background);
border: 2px solid var(--foreground);
2023-07-28 22:44:35 +00:00
padding: 10px;
display: inline-block;
text-align: left;
2023-07-25 23:08:58 +00:00
max-width: 90%;
2023-07-28 22:44:35 +00:00
min-width: 400px;
2023-08-14 21:51:16 +00:00
margin: 10px;
2023-07-28 22:44:35 +00:00
}
2023-08-16 13:10:19 +00:00
div.code-block hr {
2023-08-14 21:51:16 +00:00
margin-top: 5px;
margin-bottom: 5px;
2023-07-28 22:44:35 +00:00
}
2023-08-16 13:10:19 +00:00
div.code-block h1 {
2023-08-14 21:51:16 +00:00
margin: 0;
font-family: monospace;
}
2023-08-16 13:10:19 +00:00
div.code-block h1 small {
color: var(--foreground);
2023-07-28 22:44:35 +00:00
font-size: 12px;
}
2023-08-16 13:10:19 +00:00
div.code-block pre hr {
2023-07-28 22:44:35 +00:00
margin-bottom: 5px;
}
2023-08-16 13:10:19 +00:00
div.code-block pre code {
background-color: var(--background);
2023-07-12 14:06:44 +00:00
}
2023-06-13 22:07:20 +00:00
pre {
display: inline;
max-width: 95%;
2023-07-25 23:08:58 +00:00
overflow: auto;
2023-06-13 22:07:20 +00:00
}
.header a {
2023-07-25 23:08:58 +00:00
text-decoration: none;
2023-06-13 22:07:20 +00:00
}
.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: 0px;
grid-row-gap: 0px;
}
.theme-selector label {
font-weight: bold;
}
.theme-selector label::after {
content: ': ';
}
2023-06-13 22:07:20 +00:00
nav {
2023-07-25 23:08:58 +00:00
margin-bottom: 0.3em;
text-align: left;
}
nav img {
2023-07-25 23:08:58 +00:00
width: 32px;
2023-06-13 22:07:20 +00:00
}
nav h1 {
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue",
sans-serif;
2023-07-25 23:08:58 +00:00
font-weight: normal;
font-size: 30px;
2023-08-16 13:10:19 +00:00
margin: 10px 10px 10px 0;
2023-07-25 23:08:58 +00:00
}
div.date {
text-align: center;
2023-06-13 22:07:20 +00:00
}
div.note {
2023-07-25 23:08:58 +00:00
font-style: italic;
2023-06-13 22:07:20 +00:00
}
table {
2023-07-12 14:06:44 +00:00
border-collapse: collapse;
border-color: var(--foreground);
2023-06-13 22:07:20 +00:00
}
table.weather th {
2023-07-25 23:08:58 +00:00
font-weight: normal;
2023-06-13 22:07:20 +00:00
}
table.weather td {
font-weight: bold;
2023-07-25 23:08:58 +00:00
text-align: right;
2023-06-13 22:07:20 +00:00
}
div.rss {
position: absolute;
top: 1em;
2023-07-25 23:08:58 +00:00
right: 1em;
2023-06-13 22:07:20 +00:00
}
div.archived {
2023-07-25 23:08:58 +00:00
margin-top: 0.5em;
2023-06-13 22:07:20 +00:00
}
div.archived span.date {
font-style: italic;
2023-07-25 23:08:58 +00:00
margin-right: 0.2em;
2023-06-13 22:07:20 +00:00
}
video {
2023-07-25 23:08:58 +00:00
max-width: 100%;
2023-06-13 22:07:20 +00:00
}
table td {
border: 1px solid var(--foreground);
2023-06-13 22:07:20 +00:00
}
td {
padding: 0;
2023-06-13 22:07:20 +00:00
vertical-align: top;
}
2023-08-16 13:10:19 +00:00
.header .title {
color: var(--foreground);
2023-06-13 22:07:20 +00:00
}
.header {
font-size: 100%;
font-weight: normal;
2023-08-16 13:10:19 +00:00
padding-bottom: 0;
2023-07-12 14:06:44 +00:00
text-align: center;
2023-06-13 22:07:20 +00:00
}
2023-07-25 23:08:58 +00:00
h1 {
font-size: 150%;
}
h1 {
font-size: 150%;
}
2023-07-25 23:08:58 +00:00
h2 {
font-size: 130%;
}
h3 {
font-size: 115%;
}
2023-06-13 22:07:20 +00:00
table.computers {
width: 100%;
}
td.computer {
width: 50%;
border: 0;
2023-06-13 22:07:20 +00:00
}
2023-07-11 23:37:33 +00:00
div.footer {
text-align: center;
margin-bottom: 5px;
}
2023-07-12 00:16:52 +00:00
table.commits tr td {
border: none;
padding-right: 5px;
}
2023-07-12 14:06:44 +00:00
a {
color: var(--links);
2023-07-25 23:08:58 +00:00
text-decoration: none;
2023-07-12 14:06:44 +00:00
}
2023-08-16 13:10:19 +00:00
table.gb-entry-form tr td {
border: none;
}
2023-08-16 13:10:19 +00:00
table.gb-entry-form tr td label {
padding-right: 5px;
}
2023-08-16 13:10:19 +00:00
table.gb-entry-form tr td span.text-danger {
padding-left: 5px;
color: var(--warning);
}
2023-08-16 13:10:19 +00:00
table.gb-entry-form tr td textarea,
table.gb-entry-form tr td input {
margin-bottom: 5px;
}
2023-08-16 13:10:19 +00:00
table.gb-entry-form-container {
2023-07-25 23:08:58 +00:00
width: 100%;
}
2023-08-16 13:10:19 +00:00
table.gb-entry-form-container tr td {
2023-07-25 23:08:58 +00:00
border: none;
vertical-align: top;
}
2023-08-16 13:10:19 +00:00
table.gb-entry-form-container tr td p,
table.gb-entry-form-container tr td ul {
margin: 0;
2023-07-25 23:08:58 +00:00
}
2023-08-16 13:10:19 +00:00
table.gb-entry-form tbody tr td textarea {
2023-07-25 23:08:58 +00:00
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;
}
2023-07-16 20:02:51 +00:00
table.gb-admin {
2023-07-16 20:02:51 +00:00
margin-bottom: 5px;
width: 500px;
border: var(--foreground) solid;
2023-07-16 20:02:51 +00:00
}
table.gb-admin tr td {
2023-07-16 20:02:51 +00:00
border-right: none;
border-bottom: none;
vertical-align: top;
padding: 5px;
}
table.gb-admin tr td.gb-del {
2023-07-16 20:02:51 +00:00
border-left: none;
vertical-align: top;
padding: 5px;
width: 32px;
}
table.gb-admin tr td.gb-message {
2023-07-16 20:02:51 +00:00
border-top: none;
vertical-align: top;
padding: 5px;
}
2023-07-25 23:08:58 +00:00
2023-08-16 13:10:19 +00:00
table.info-table tr td {
2023-07-25 23:08:58 +00:00
border: none;
padding-right: 5px;
2023-07-28 22:44:35 +00:00
vertical-align: bottom;
2023-07-25 23:08:58 +00:00
}
2023-08-16 13:10:19 +00:00
table.info-table tr td h1,
table.info-table tr td h2,
table.info-table tr td small {
margin: 0;
2023-07-25 23:08:58 +00:00
}
2023-07-28 22:44:35 +00:00
2023-08-14 23:13:53 +00:00
caption h1,
caption h2 {
margin: 0;
}
caption {
text-align: left;
}
2023-08-16 13:10:19 +00:00
table.info-table tr td small {
2023-07-28 22:44:35 +00:00
margin-bottom: 5px;
}
2023-08-14 21:51:16 +00:00
.hljs {
background: none !important;
}
2023-08-14 22:45:31 +00:00
.me img {
float: right;
margin: 5px;
}
.me p {
text-align: justify;
}
2023-08-14 23:08:38 +00:00
a:hover {
text-decoration: underline;
}
2023-08-26 00:20:28 +00:00
.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)
}