cyberfrog.me/static/main.css

123 lines
1.9 KiB
CSS

* {
margin: 0rem;
}
/* Magic fix which forces outer most element to full view size for background scaling */
/* NOTE: min-height and min-width here prevent body/site-content overflow and background breaking */
html {
min-height: 100%;
min-width: 100%;
display: flex;
justify-content: center;
}
body {
font-family: monospace;
padding: 2rem;
font-size: 18px;
max-width: 55rem;
line-height: 1.4;
/* Fancy background CSS colouring lives here */
background: linear-gradient(to bottom right, rgba(0,0,0, 1), rgba(65,15,75, 1) 40%, rgba(65,15,90, 1) 50%, rgba(30,15,80, 1) 60%, rgba(0,0,0, 1));
}
li {
list-style-type: none;
}
ul {
padding: 0rem;
}
a {
color: #4361ee;
text-decoration: none;
font-weight: bold;
}
a:visited {
color: #6d49ca;
}
a:hover {
text-decoration: underline;
}
#site-content {
color: #e4e4e4;
padding: 2rem;
border-radius: 1rem;
background: rgba(0,0,0, 0.78);
box-shadow: 1rem 1rem 1rem 1rem rgba(0,0,0, 0.5);
}
#ascii-header {
font-size: 10px;
color: #e4e4e4;
text-decoration: none;
padding: 1rem;
text-align: center;
}
#ascii-header a {
color: #e4e4e4;
text-decoration: none;
}
#ascii-header a:visited {
color: #e4e4e4;
text-decoration: none;
}
#welcome-message {
padding: 1rem;
font-weight: bold;
text-align: center;
}
#blog-page-title {
padding-bottom: 0.5rem;
text-align: center;
}
#blog-post-content {
padding-top: 1.5rem;
}
#blog-post-content p {
padding: 1rem;
}
#blog-post-content li {
list-style-type: disc;
}
#blog-post-content ul {
padding: 1rem;
padding-top: 0rem;
/* Align the inner il elements correctly */
margin-left: 1rem;
}
.dotted-border {
border-bottom: #e4e4e4 8px dotted;
width: 100%;
}
.title {
letter-spacing: -2px;
text-align: center;
}
.blog-entry-container {
padding: 1rem;
padding-top: 2rem;
}
.blog-entry-title {
padding-top: 2rem;
}
.blog-post-date {
text-align: center;
}