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

154 lines
1.9 KiB
CSS
Raw Normal View History

2022-09-14 16:54:11 -04:00
/* desktop devices */
@media (min-width: 768px) {
2022-09-14 17:13:15 -04:00
aside {
2022-09-20 12:34:16 -04:00
flex: 200px 0 0;
2022-09-14 17:13:15 -04:00
}
2022-10-26 08:56:44 -04:00
header {
margin: 10px;
}
aside {
margin: 10px;
}
article {
margin: 10px;
}
footer {
margin: 10px;
}
2022-09-14 16:54:11 -04:00
}
/* mobile devices */
@media (max-width: 768px) {
2022-09-14 17:13:15 -04:00
aside {
width: 100%;
}
aside div {
padding: 2px;
}
aside div a {
font-size: 135%;
margin-top: 13px;
margin-bottom: 13px;
}
2022-09-14 16:54:11 -04:00
}
2022-09-14 16:48:15 -04:00
body {
--accent-color: #d26c6c;
background-color: #e3e3e3;
accent-color: var(--accent-color);
2022-09-14 16:48:15 -04:00
2022-09-20 12:34:16 -04:00
display: flex;
flex-flow: row wrap;
2022-09-14 16:48:15 -04:00
}
header {
2022-09-20 12:34:16 -04:00
flex-grow: 1;
flex-basis: 100%;
2022-09-14 16:48:15 -04:00
}
aside {
background-color: white;
2022-09-14 16:48:15 -04:00
2022-09-14 17:13:30 -04:00
text-align: center;
border: 1px solid black;
border-radius: 3px;
padding: 15px;
2022-09-14 16:48:15 -04:00
}
article {
background-color: white;
border: 1px solid black;
border-radius: 3px;
padding: 15px;
2022-09-20 12:34:16 -04:00
2022-10-25 17:45:27 -04:00
flex: 2 0;
2022-09-14 16:48:15 -04:00
}
footer {
background-color: white;
2022-09-20 12:34:16 -04:00
flex-grow: 1;
flex-basis: 100%;
2022-10-27 10:44:07 -04:00
border: 1px solid black;
border-radius: 3px;
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;
}
.article-img {
2022-09-21 10:37:36 -04:00
width: 100%;
height: auto;
2022-09-21 10:37:36 -04:00
}
2022-10-25 16:05:48 -04:00
.gallery-img {
border: 1px black solid;
border-radius: 5px;
}
2022-10-25 16:08:36 -04:00
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 solid gray;
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: #e2d9d9;
}
2022-10-25 17:31:00 -04:00
table {
width: 100%;
}
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;
}
#f-list * {
display: inline;
margin-left: 1em;
margin-right: 1em;
}