brendan.mcdevitt.tech/css/screen.css
Brendan McDevitt a7aaccd2d5 update
2024-03-02 00:18:32 -05:00

446 lines
6.8 KiB
CSS

/*****************************************************************************/
/*
/* Common
/*
/*****************************************************************************/
/* Global Reset */
* {
margin: 0;
padding: 0;
}
html, body {
height: 100%;
}
body {
background-color: white;
font: 13.34px helvetica, arial, clean, sans-serif;
*font-size: small;
text-align: center;
}
h1, h2, h3, h4, h5, h6 {
font-size: 100%;
}
h1 {
margin-bottom: 1em;
}
p {
margin: 1em 0;
}
a {
color: #00a;
}
a:hover {
color: black;
}
a:visited {
color: #a0a;
}
table {
font-size: inherit;
font: 100%;
}
hr {
margin-top: 10px;
margin-bottom: 10px;
}
/*****************************************************************************/
/*
/* Home
/*
/*****************************************************************************/
# posts
ul.posts {
list-style-type: none;
margin-bottom: 2em;
}
ul.posts li {
line-height: 1.75em;
}
ul.posts span {
color: #aaa;
font-family: Monaco, "Courier New", monospace;
font-size: 80%;
}
# homelab
ul.homelab {
list-style-type: none;
margin-bottom: 2em;
}
ul.homelab li {
line-height: 1.75em;
}
ul.homelab span {
color: #aaa;
font-family: Monaco, "Courier New", monospace;
font-size: 80%;
}
# programming
ul.programming {
list-style-type: none;
margin-bottom: 2em;
}
ul.programming li {
line-height: 1.75em;
}
ul.programming span {
color: #aaa;
font-family: Monaco, "Courier New", monospace;
font-size: 80%;
}
# security
ul.security {
list-style-type: none;
margin-bottom: 2em;
}
ul.security li {
line-height: 1.75em;
}
ul.security span {
color: #aaa;
font-family: Monaco, "Courier New", monospace;
font-size: 80%;
}
/*****************************************************************************/
/*
/* Site
/*
/*****************************************************************************/
.site {
font-size: 110%;
text-align: justify;
width: 42em;
margin: 3em auto 2em auto;
line-height: 1.5em;
}
.title {
color: #a00;
font-weight: bold;
margin-bottom: 2em;
}
.site .title a {
color: #009933;
text-decoration: none;
}
.site .title a:hover {
color: black;
}
.site .title a.extra {
color: #aaa;
text-decoration: none;
margin-left: 1em;
}
.site .title a.extra:hover {
color: black;
}
.site .meta {
color: #aaa;
}
.site .footer {
font-size: 80%;
color: #666;
border-top: 4px solid #eee;
margin-top: 2em;
overflow: hidden;
}
.site .footer .contact {
float: left;
margin-right: 3em;
}
.site .footer .contact a {
color: #8085C1;
}
.site .footer .rss {
margin-top: 1.1em;
margin-right: -.2em;
float: right;
}
.site .footer .rss img {
border: 0;
}
/*****************************************************************************/
/*
/* Posts
/*
/*****************************************************************************/
#post {
}
/* standard */
#post pre {
border: 1px solid #ddd;
background-color: #eef;
padding: 0 .4em;
}
#post ul,
#post ol {
margin-left: 1.35em;
}
#post code {
border: 1px solid #ddd;
background-color: #eef;
font-size: 85%;
padding: 0 .2em;
}
#post pre code {
border: none;
}
#post img {
width: auto ;
height: auto ;
max-width: 42em;
padding: 1em 0;
}
/* terminal */
#post pre.terminal {
border: 1px solid black;
background-color: #333;
color: white;
}
#post pre.terminal code {
background-color: #333;
}
#related {
margin-top: 2em;
}
#related h2 {
margin-bottom: 1em;
}
/*****************************************************************************/
/*
/* Homelab Posts
/*
/*****************************************************************************/
#homelab {
}
/* standard */
#homelab pre {
border: 1px solid #ddd;
background-color: #eef;
padding: 0 .4em;
}
#homelab ul,
#homelab ol {
margin-left: 1.35em;
}
#homelab code {
border: 1px solid #ddd;
background-color: #eef;
font-size: 85%;
padding: 0 .2em;
}
#homelab pre code {
border: none;
}
#homelab img {
max-width: 42em;
padding: 1em 0;
}
/* terminal */
#homelab pre.terminal {
border: 1px solid black;
background-color: #333;
color: white;
}
#homelab pre.terminal code {
background-color: #333;
}
#related {
margin-top: 2em;
}
#related h2 {
margin-bottom: 1em;
}
/*****************************************************************************/
/*
/* Security
/*
/*****************************************************************************/
#security {
}
/* standard */
#security pre {
border: 1px solid #ddd;
background-color: #eef;
padding: 0 .4em;
}
#security ul,
#security ol {
margin-left: 1.35em;
}
#security code {
border: 1px solid #ddd;
background-color: #eef;
font-size: 85%;
padding: 0 .2em;
}
#security pre code {
border: none;
}
#security img {
max-width: 42em;
padding: 1em 0;
}
/* terminal */
#security pre.terminal {
border: 1px solid black;
background-color: #333;
color: white;
}
#security pre.terminal code {
background-color: #333;
}
#related {
margin-top: 2em;
}
#related h2 {
margin-bottom: 1em;
}
/
/* Style the button that is used to open and close the collapsible content */
.collapsible {
background-color: #eee;
color #444;
cursor: pointer;
padding: 18px;
width: 100%;
border: none;
text-align: left;
outline: none;
font-size: 15px;
}
/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .collapsible:hover {
background-color: #ccc;
}
/* Style the collapsible content. Note: hidden by default */
.content {
padding: 0 18px;
display: none;
overflow: hidden;
background-color: #f1f1f1;
} /* Style the button that is used to open and close the collapsible content */
.collapsible {
background-color: #eee;
color #444;
cursor: pointer;
padding: 18px;
width: 100%;
border: none;
text-align: left;
outline: none;
font-size: 15px;
}
/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .collapsible:hover {
background-color: #ccc;
}
/* Style the collapsible content. Note: hidden by default */
.content {
padding: 0 18px;
display: none;
overflow: hidden;
background-color: #f1f1f1;
}
/*@media only screen and (max-width: 481px) {
body {
padding: 24px;
}
/
*/
@import "minima";
@media screen and (max-width: 900px) {
.site-nav {
position: absolute;
right: 90px;
}
}