dairydemon.net/styles.css

139 lines
1.7 KiB
CSS
Raw Normal View History

2024-03-20 01:33:14 +00:00
html {
font-family: monospace;
font-size: large;
background: linear-gradient(to bottom right, turquoise, teal);
min-height: 100%;
}
2024-03-26 03:44:54 +00:00
header {
2024-05-27 23:35:52 +00:00
border: 3px black solid;
background: turquoise;
2024-05-27 21:56:31 +00:00
margin: 5px;
2024-03-20 01:33:14 +00:00
display: flex;
align-items: center;
2024-05-27 21:56:31 +00:00
box-shadow: 5px 5px 5px;
2024-03-20 01:33:14 +00:00
}
2024-05-27 20:24:03 +00:00
footer {
border: 3px black solid;
background: turquoise;
2024-05-27 21:56:31 +00:00
margin: 5px;
2024-05-27 20:24:03 +00:00
text-align: center;
2024-05-27 21:56:31 +00:00
box-shadow: 5px 5px 5px;
2024-05-27 20:24:03 +00:00
}
2024-03-20 01:33:14 +00:00
#headerimg {
2024-05-27 23:35:52 +00:00
border-right: 3px solid black;
2024-05-28 01:25:00 +00:00
max-height: 128px;
flex: initial;
2024-03-20 01:33:14 +00:00
}
#headermain {
text-align: center;
2024-05-28 01:25:00 +00:00
flex: auto;
2024-03-20 01:33:14 +00:00
}
#headermain a {
color: blue;
text-decoration: none;
text-transform: uppercase;
text-align: center;
}
#headermain a:hover {
text-decoration: underline;
}
#homelink {
font-size: xx-large;
font-weight: bold;
text-decoration: none;
}
nav {
font-size: x-large;
}
nav ul,
footer ul {
2024-03-20 01:33:14 +00:00
padding: 0;
}
nav ul li,
footer ul li {
2024-03-20 01:33:14 +00:00
display: inline;
}
nav ul li + li::before,
footer ul li + li::before {
2024-03-20 01:33:14 +00:00
content: " | ";
}
aside {
background: turquoise;
border: 3px black solid;
margin: 5px;
2024-03-20 01:33:14 +00:00
padding: 10px;
box-shadow: 5px 5px 5px;
}
article {
background: turquoise;
border: 3px black solid;
margin: 5px;
padding: 20px;
2024-03-20 01:33:14 +00:00
text-align: justify;
hyphens: auto;
box-shadow: 5px 5px 5px;
}
2024-03-20 01:33:14 +00:00
h1, h2, h3, h4, h5, h6 {
text-align: left;
}
2024-05-27 14:37:59 +00:00
ul {
padding-left: 2ch;
}
ol {
padding-left: 3ch;
}
ol ol {
list-style: lower-alpha
}
ol ol ol {
list-style: lower-roman
}
2024-03-20 01:33:14 +00:00
@media screen and (min-width: 80ch) {
body {
display: grid;
place-content: center;
}
2024-05-27 23:31:28 +00:00
#usbimg {
width: 256px;
}
2024-03-20 01:33:14 +00:00
main {
2024-05-27 22:16:06 +00:00
min-width: 100%;
2024-03-20 01:33:14 +00:00
display: flex;
align-items: start;
}
aside {
width: 30ch;
flex: auto;
position: sticky;
top: 10px;
}
article {
2024-05-27 22:16:06 +00:00
width: 80ch;
2024-05-28 01:25:00 +00:00
max-width: 80ch;
2024-03-20 01:33:14 +00:00
flex: auto;
}
}