html {
margin: 0;
height: 100%;
background-repeat: no-repeat;
}
:root {
--text: #e0e0e0;
--border: #4a4a4a;
--accent: #cc0000;
--bg: #1e1e1e;
--gradientTop: #3a3a3a;
--gradientBottom: #2c2c2c;
}
* {
box-sizing: border-box;
}
body {
padding: 10px;
font-family: sans-serif;
color: var(--text);
background: #1e1e1e;
background-repeat: no-repeat;
background-attachment: fixed;
}
.container {
width: 95%;
margin: 5vw auto 12px auto;
border: 10px ridge var(--border);
outline: 5px solid var(--border);
outline-offset: 4px;
border-radius: 10px;
display: flex;
flex-wrap: wrap;
padding: 5px;
gap: 5px;
background-image: linear-gradient(135deg, var(--gradientTop), var(--gradientBottom));
min-height: 500px;
}
.small { flex: 1 1 9%; }
.large { flex: 1 1 82%; }
.full { flex: 1 1 100%; }
.half { flex: 1 1 49%; }
header {
background-size: cover;
background-position: center;
width: 100%;
height: 190px;
border: 2px ridge var(--border);
border-radius: 5px;
position: relative;
background-image: linear-gradient(135deg, var(--gradientTop), var(--gradientBottom));
display: flex;
justify-content: center;
align-items: center;
}
header span {
font-size: 2.5rem;
font-weight: bold;
text-shadow: 1px 1px black,
-1px 1px black,
1px -1px black,
-1px -1px black;
color: var(--accent);
text-align: center;
}
nav {
text-align: center;
border: 2px ridge var(--border);
border-radius: 5px;
padding: 5px;
background: linear-gradient(var(--gradientTop), var(--gradientBottom));
}
nav div {
text-align: center;
font-size: 1.25rem;
margin: 5px 5px 10px 5px;
}
nav a {
display: block;
margin: 5px;
background: linear-gradient(to right, #4a4a4a, #4a4a4a);
border-radius: 5px;
padding: 2px 4px;
text-decoration: none;
}
nav a:link, nav a:visited {
color: var(--text);
}
nav a:hover, nav a:focus {
background: linear-gradient(to right, var(--bg), var(--gradientBottom), var(--gradientTop));
}
div.small > img {
display: block;
margin: 5px auto;
border: 2px ridge var(--border);
border-radius: 5px;
}
section {
width: 100%;
border: 2px ridge var(--border);
border-radius: 5px;
background-image: linear-gradient(135deg, var(--gradientTop), var(--gradientBottom));
padding: 5px;
}
footer {
text-align: center;
margin-bottom: 5vw;
font-size: 0.8rem;
}
h1, h2, h3, h4, h5, h6, p {
margin: 5px;
line-height: 1.2;
}
h1 {
font-size: 1.4rem;
letter-spacing: 2px;
font-weight: normal;
text-align: center;
border-bottom: 2px ridge var(--border);
padding-bottom: 5px;
}
h2 {
font-size: 1.25rem;
font-weight: normal;
text-align: center;
margin-top: 20px;
margin-bottom: 10px;
}
h3 {
font-size: 1.1rem;
margin-top: 20px;
margin-bottom: 20px;
}
h4 {
font-size: 1rem;
color: var(--accent);
margin-top: 10px;
margin-bottom: 5px;
}
h6 {
font-size: 2rem;
letter-spacing: 0.3px;
font-weight: bold;
text-align: center;
border-bottom: 2px ridge var(--border);
padding-bottom: 5px;
white-space: pre;
color: var(--accent);
}
.preformatted {
background-color: #2c2c2c;
color: var(--text);
padding: 10px;
border: 1px solid var(--border);
border-radius: 5px;
overflow-x: auto;
white-space: pre-wrap;
}
img { max-width: 100%; }
pre { overflow-x: auto; }
a:hover, a:focus, a:hover, a {
color: var(--accent);
font-style: normal;
font-weight: bold;
}
hr.new1 {
border-top: 1px solid red;
}
pre {
background-color: #2c2c2c;
color: var(--text);
padding: 10px;
border: 1px solid var(--border);
border-radius: 5px;
}
.blog-header {
background-color: var(--gradientTop);
color: var(--text);
padding: 10px;
border-radius: 5px;
margin-bottom: 20px;
text-align: center;
font-weight: bold;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}
.header {
font-size: 1rem;
color: var(--accent);
margin-top: 10px;
margin-bottom: 5px;
}
table {
width: 100%;
border-collapse: collapse;
margin-bottom: 20px;
}
td {
border: 1px solid #ccc;
padding: 10px;
text-align: left;
}
td.term {
color: #f08080;
}
td.def {
color: var(--text);
}
p {
margin-bottom: 15px;
}
white-space: pre-wrap;