redstrate.com/themes/red/assets/css/site.css

441 lines
6.6 KiB
CSS
Raw Normal View History

2022-09-14 16:54:11 -04:00
/* desktop devices */
@media (min-width: 768px) {
2022-10-26 08:56:44 -04:00
header {
2023-02-23 17:39:20 -05:00
margin: 5px;
2022-10-26 08:56:44 -04:00
}
aside {
2023-02-23 17:39:20 -05:00
margin: 5px;
flex: 15em 0 0;
2022-10-26 08:56:44 -04:00
}
article {
2023-02-23 17:39:20 -05:00
margin: 5px;
2022-10-26 08:56:44 -04:00
}
footer {
2023-02-23 17:39:20 -05:00
margin: 5px;
2022-10-26 08:56:44 -04:00
}
#content {
display: flex;
flex-direction: row;
2023-04-03 17:40:40 -04:00
align-items: flex-start;
2022-11-06 22:10:08 -05:00
}
2022-11-06 22:10:08 -05:00
body {
max-width: 100em;
}
2023-03-06 21:49:04 -05:00
.featured-art {
height: 256px;
width: auto;
}
2023-03-06 22:06:56 -05:00
.grid-sizer, .grid-item {
width: 400px;
2023-03-06 22:06:56 -05:00
}
2022-09-14 16:54:11 -04:00
}
/* mobile devices */
@media (max-width: 768px) {
aside div {
padding: 2px;
}
aside div a {
font-size: 135%;
margin-top: 13px;
margin-bottom: 13px;
}
2022-11-07 08:47:02 -05:00
header {
2023-02-23 17:39:20 -05:00
margin: 5px;
2022-11-07 08:47:02 -05:00
}
aside {
2023-02-23 17:39:20 -05:00
margin: 5px;
2022-11-07 08:47:02 -05:00
}
article {
2023-02-23 17:39:20 -05:00
margin: 5px;
2022-11-07 08:47:02 -05:00
}
footer {
2023-02-23 17:39:20 -05:00
margin: 5px;
2022-11-07 08:47:02 -05:00
}
2023-03-06 21:49:04 -05:00
.featured-art {
height: auto;
width: 100%;
}
2023-03-06 22:06:56 -05:00
.grid-sizer, .grid-item {
width: 100%;
height: auto;
}
2022-09-14 16:54:11 -04:00
}
2022-09-14 16:48:15 -04:00
body {
2022-11-06 17:25:01 -05:00
background-color: var(--background-primary);
accent-color: var(--accent-color);
2022-09-14 16:48:15 -04:00
2022-11-06 17:25:01 -05:00
color: var(--text-color);
}
2022-11-06 17:25:01 -05:00
:root {
--primary-accent: #9f5858;
--secondary-accent: #c99192;
2023-02-23 17:39:20 -05:00
--border-color: black;
--background-primary: #ab4a2f;
--background-secondary: #fdfdfd;
--background-tertiary: #f0f0f0;
2022-11-06 17:25:01 -05:00
--text-color: #363131;
--link-visited: #460b0b;
--extra-color: #efe4e4;
2023-02-23 17:39:20 -05:00
--border: 3px double var(--border-color);
--shadow: 3px 3px 0px black;
2022-11-06 17:25:01 -05:00
}
@media (prefers-color-scheme: dark) {
:root {
--primary-accent: #ce4545;
--secondary-accent: #c99192;
--background-primary: #34313a;
--background-secondary: #3c3a44;
--background-tertiary: #2e2c34;
2022-11-06 17:25:01 -05:00
--border-color: #515860;
--text-color: #fbeded;
--link-visited: #ad1616;
--extra-color: #504e5a;
}
.ext-link {
filter: invert(100%);
}
}
a:link {
color: var(--primary-accent);
}
a:visited {
color: var(--link-visited);
2022-09-14 16:48:15 -04:00
}
header {
2022-09-20 12:34:16 -04:00
flex-grow: 1;
flex-basis: 100%;
2023-02-23 17:39:20 -05:00
color: var(--background-secondary);
}
header img {
height: 3em;
width: auto;
vertical-align: middle;
box-shadow: var(--shadow);
border: var(--border);
background-color: var(--background-secondary);
}
header h1 {
display: inline;
vertical-align: middle;
margin-left: 0.25em;
2022-09-14 16:48:15 -04:00
}
2023-03-06 21:42:18 -05:00
@media (prefers-color-scheme: dark) {
header h1 {
color: white;
}
}
2022-09-14 16:48:15 -04:00
aside {
2022-11-06 17:25:01 -05:00
background-color: var(--background-secondary);
2022-09-14 16:48:15 -04:00
2022-09-14 17:13:30 -04:00
text-align: center;
2023-02-23 17:39:20 -05:00
border: var(--border);
box-shadow: var(--shadow);
border-radius: 3px;
padding: 15px;
2022-09-14 16:48:15 -04:00
}
article {
2022-11-06 17:25:01 -05:00
background-color: var(--background-secondary);
2023-02-23 17:39:20 -05:00
border: var(--border);
border-radius: 3px;
2023-02-23 17:39:20 -05:00
box-shadow: var(--shadow);
padding: 15px;
2022-09-20 12:34:16 -04:00
min-width: 0;
flex: 1 1 auto;
2022-09-14 16:48:15 -04:00
}
footer {
2022-11-06 17:25:01 -05:00
background-color: var(--background-secondary);
2022-09-20 12:34:16 -04:00
flex-grow: 1;
flex-basis: 100%;
2022-10-27 10:44:07 -04:00
2023-02-23 17:39:20 -05:00
border: var(--border);
2022-10-27 10:44:07 -04:00
border-radius: 3px;
2023-02-23 17:39:20 -05:00
box-shadow: var(--shadow);
2022-10-27 10:44:07 -04:00
padding: 15px;
2022-09-14 16:48:15 -04:00
}
.site-menu {
width: 100%;
border: 1px solid gray;
border-radius: 5px;
margin-top: 5px;
margin-bottom: 5px;
}
2022-10-25 16:05:48 -04:00
.gallery-img {
border: 1px inset black;
2022-10-25 16:05:48 -04:00
border-radius: 5px;
}
2022-10-25 16:08:36 -04:00
.article-img {
max-width: 100%;
max-height: 100%;
height: auto;
}
figure {
flex-grow: 1;
text-align: center;
margin: 25px;
}
figure figcaption {
text-align: center;
}
2022-10-25 16:08:36 -04:00
.gallery-con {
display: flex;
flex-wrap: wrap;
border: 1px dashed gray;
border-radius: 5px;
background-color: var(--background-tertiary);
2022-10-25 17:25:20 -04:00
}
2022-12-27 21:47:12 -05:00
.generic-con {
border: 1px dashed gray;
border-radius: 5px;
background-color: var(--background-tertiary);
2022-12-27 21:47:12 -05:00
padding: 20px;
}
.year-con {
overflow-x: auto;
overflow-y: hidden;
white-space: nowrap;
}
.grid-item {
margin-bottom: 10px;
border: 1px inset black;
border-radius: 3px;
2022-12-27 21:47:12 -05:00
}
.grid {
padding-top: 20px;
margin: 0 auto;
}
2022-10-25 17:25:20 -04:00
td {
text-align: center;
2022-10-25 17:31:00 -04:00
}
tr:nth-child(even) {
background-color: var(--extra-color) !important;
}
tbody > tr {
background-color: var(--background-secondary);
}
2022-10-25 17:31:00 -04:00
table {
width: 100%;
border: 1px solid black;
border-radius: 3px;
background-color: var(--background-tertiary);
}
td {
border: 1px inset black;
}
2022-11-03 15:13:15 -04:00
#f-badges {
text-align: center;
}
#f-badges * {
display: inline;
margin-left: 0.2em;
margin-right: 0.2em;
}
#f-list {
text-align: center;
}
h2 {
margin-top: 0.2em;
2023-02-23 17:39:20 -05:00
margin-bottom: 0.2em;
}
2022-11-07 08:50:07 -05:00
iframe {
border: 1px solid gray;
}
hr {
background-color: var(--border-color);
height: 1px;
border: 0;
}
2022-11-15 16:21:04 -05:00
code {
white-space: pre-wrap;
}
pre {
background-color: var(--background-primary);
padding: 5px;
2022-12-27 21:47:12 -05:00
}
2023-01-02 16:22:42 -05:00
.buttons {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
margin: auto;
}
.blurb {
2023-03-01 14:02:08 -05:00
border: 1px solid gray;
2023-01-02 16:22:42 -05:00
border-radius: 3px;
padding: 1em;
margin: .5em;
2023-03-01 14:02:08 -05:00
box-shadow: var(--shadow)
2023-01-02 16:22:42 -05:00
}
.nice-list {
2023-01-02 16:22:42 -05:00
display: inline;
list-style: none;
padding-left: 0;
margin-bottom: 0;
margin-top: 0;
}
.nice-list li {
2023-01-02 16:22:42 -05:00
display: inline-block;
}
.nice-list li:not(:last-child) {
2023-01-02 16:22:42 -05:00
margin-left: 0;
margin-right: 0;
}
2023-03-27 15:07:15 -04:00
.toot-header .toot-profile img {
border-radius: 9999px;
width: 48px;
height: auto;
}
.toot-blockquote {
line-height: 1.35em;
margin: 1.5rem auto;
padding: 1rem;
border: 2px solid gray;
border-radius: 12px;
}
.toot-header .toot-author {
display: flex;
flex-direction: column;
flex-grow: 1;
margin-left: 10px;
margin-top: 3px;
}
.toot-header .toot-author .toot-author-name {
font-weight: 700;
}
.toot-header .toot-author .toot-author-handle {
line-height: 1;
}
.toot-header {
display: flex;
}
.nice-list li:not(:last-child):not(:only-child)::after {
2023-01-02 16:22:42 -05:00
content: "·";
}
2023-02-23 18:41:33 -05:00
#about-pic {
float: left;
margin: 10px;
border: 1px inset black;
}
.external-link {
vertical-align: sub;
margin-left: 2px;
}
2023-03-28 19:25:14 -04:00
.art-button-container {
display: flex;
flex-flow: row;
gap: 10px;
}
.art-button {
width: 100%;
height: 50px;
line-height: 50px;
text-align: center;
border: 1px outset black;
2023-03-28 19:25:14 -04:00
border-radius: 5px;
margin-top: 10px;
margin-bottom: 10px;
}
.new-banner {
border: 1px outset black;
border-radius: 5px;
padding: 5px;
text-align: center;
margin-bottom: 10px;
}
.no-decoration {
text-decoration: none;
}
2023-04-10 17:04:03 -04:00
#banner-alert-icon {
vertical-align: middle;
margin-left: 5px;
margin-right: 5px;
}
2023-04-12 23:35:57 -04:00
model-viewer {
2023-04-13 11:45:52 -04:00
height: 100vh;
width: 100%;
margin-left: auto;
margin-right: auto;
2023-04-12 23:35:57 -04:00
}