website-theme/assets/css/style.css

539 lines
9.7 KiB
CSS
Raw Normal View History

/*
** General
*/
2023-01-03 21:00:27 -05:00
:root {
--bg-color: #efefef;
--acent-color: #5c3c2e;
--text-color: #313131;
--text-font: 'IBM Plex Mono', sans-serif;
--header-font: 'IBM Plex Mono', monospace;
--header-color: black;
}
html, body {
2019-03-23 12:59:56 -04:00
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
2022-05-08 16:40:46 -04:00
min-height: 100vh;
2019-03-23 05:12:24 -04:00
margin: 0;
padding: 0;
2023-01-03 21:00:27 -05:00
box-sizing: border-box;
background-color: var(--bg-color);
/* background-image: url(/img/winter.png); */
background-color: #fafafa;
2023-01-03 21:00:27 -05:00
color: var(--text-color);
2019-03-23 05:12:24 -04:00
text-align: center;
2023-01-03 21:00:27 -05:00
font-family: var(--text-font);
font-weight: 300;
2019-03-23 05:12:24 -04:00
line-height: 1.5;
2023-01-03 21:00:27 -05:00
font-size: 16px;
2019-03-23 12:59:56 -04:00
word-wrap: break-word;
2018-09-23 07:11:35 -04:00
}
a .fa, a .fas, a .fab {
2023-01-03 21:00:27 -05:00
color: var(--acent-color);
}
2023-01-03 21:00:27 -05:00
a:link, a:visited, a:hover, a:active {
color: var(--text-color);
2018-09-23 07:11:35 -04:00
}
2023-01-03 21:00:27 -05:00
mark {
color: var(--text-color);
font-weight: bold;
2018-09-23 07:11:35 -04:00
}
2023-01-03 21:00:27 -05:00
strong {
font-weight: 700;
2018-09-23 07:11:35 -04:00
}
2023-01-03 21:00:27 -05:00
h1, h2, h3, h4, h5, h6 {
font-family: var(--header-font);
font-weight: 600;
2018-09-23 07:11:35 -04:00
}
2023-01-03 21:00:27 -05:00
.block-center {
margin-left: auto;
margin-right: auto;
}
2023-01-03 21:00:27 -05:00
.space-evenly {
display: flex;
justify-content: space-evenly;
flex-wrap: wrap;
}
2023-01-03 21:00:27 -05:00
/*
** HEADER
*/
.avatarMask {
clip-path: circle(48px at center);
-webkit-clip-path: circle(48px at center);
}
/* Topbar Header */
.header-top {
2022-11-22 23:25:30 -05:00
padding: 0.25rem;
padding-left: 3rem;
2023-01-03 21:00:27 -05:00
border-bottom: 1px dashed var(--acent-color);
background-color: #fafafa;
font-size: 0.9rem;
color: var(--header-color);
}
2023-01-03 21:00:27 -05:00
.header-top a { color: var(--header-color); }
.header-flex {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
align-items: center;
2023-01-03 21:00:27 -05:00
max-width: 62.5rem;
}
2023-01-03 21:00:27 -05:00
.header-top .title { margin-right: 1rem; max-width: 25rem; }
.header-top .h-card {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap-reverse;
2023-01-03 21:00:27 -05:00
width: 21.875rem;
}
@media (max-width: 550px) {
.header-top {
2023-01-03 21:00:27 -05:00
padding-left: 1.25rem;
}
.header-top .title { margin-right: 0; }
.header-flex { flex-direction: column; }
.header-top .h-card {
flex-direction: column-reverse;
2022-11-22 23:25:30 -05:00
width: auto;
}
}
/* END HEADER */
2018-09-23 07:11:35 -04:00
2022-05-08 16:40:46 -04:00
/*
** NAVIGATION
*/
.nav-home ul {
/* max-width: 300px; */
2023-01-03 21:00:27 -05:00
margin: 1.25rem auto;
2019-03-23 05:12:24 -04:00
padding: 0;
list-style: none;
2018-09-23 07:11:35 -04:00
}
2022-05-08 16:40:46 -04:00
.nav-home li {
2023-01-03 21:00:27 -05:00
margin: 0 0.625rem;
}
2022-05-08 16:40:46 -04:00
/* END NAVIGATION */
2022-05-08 18:13:52 -04:00
/*
** SEARCH
*/
2019-03-23 03:18:03 -04:00
#searchBox {
2019-03-23 05:12:24 -04:00
position: relative;
height: 30px;
margin: 20px auto;
2018-10-08 06:37:58 -04:00
}
2019-03-23 03:18:03 -04:00
#searchBox #searchBoxInput {
2019-03-23 05:12:24 -04:00
position: absolute;
width: 100%;
height: 100%;
2019-03-23 05:12:24 -04:00
padding: 0 35px 0 15px;
top: 0;
left: 0;
right: 0;
bottom: 0;
border-radius: 15px;
outline: 0;
/* font-size: 15px; */
2019-03-23 05:12:24 -04:00
color: #707070;
background-color:#f6f6f6;
border: solid 1px #c9c9c9;
box-sizing: border-box;
2018-10-08 06:37:58 -04:00
}
2019-03-23 03:18:03 -04:00
#searchBox #searchBoxInput::placeholder {
2019-03-23 05:12:24 -04:00
color: #c9c9c9;
2018-10-08 06:37:58 -04:00
}
2019-03-23 03:18:03 -04:00
#searchBox #searchBoxIcon {
2019-03-23 05:12:24 -04:00
position: absolute;
height: 20px;
width: 20px;
top: 5px;
right: 10px;
2019-03-23 03:18:03 -04:00
}
#searchResults {
2019-03-23 05:12:24 -04:00
display: none;
position: absolute;
max-width: 1000px;
2019-03-23 12:59:56 -04:00
/* min-width: 300px; */
2019-03-23 05:12:24 -04:00
margin: 0 auto;
top: 230px;
2019-03-23 05:12:24 -04:00
left: 0;
right: 0;
padding: 5px;
background-color:#f6f6f6;
border: solid 1px #c9c9c9;
border-radius: 5px;
text-align: left;
box-sizing: border-box;
2018-10-08 06:37:58 -04:00
}
2019-03-23 03:18:03 -04:00
#searchResults .searchResultPage {
2019-03-23 05:12:24 -04:00
padding: 20px
2018-10-08 06:37:58 -04:00
}
2019-03-23 03:18:03 -04:00
#searchResults .searchResultTitle {
2019-03-23 05:12:24 -04:00
font-weight: bold;
margin: 5px 0;
2018-10-08 06:37:58 -04:00
}
2019-03-23 03:18:03 -04:00
#searchResults .searchResultBody {
2019-03-23 05:12:24 -04:00
font-size: 14px;
2018-10-08 06:37:58 -04:00
}
2019-03-23 03:18:03 -04:00
#searchResults mark {
2019-03-23 05:12:24 -04:00
background-color: #dddfdf;
2018-10-08 06:37:58 -04:00
}
2022-05-08 18:13:52 -04:00
/* END SEARCH */
/*
** TAGS
*/
.tags {
text-align: left;
}
.tags ul {
margin: 0 auto;
display: flex;
padding: 0;
flex-wrap: wrap;
list-style: none;
}
.tags-page ul {
justify-content: center;
}
.tags li a {
display: block;
height: 24px;
margin: 5px;
padding: 0 5px;
2022-11-22 23:25:30 -05:00
padding-bottom: 5px;
border-radius: 5px;
2022-11-22 23:25:30 -05:00
font-size: 1.25rem;
2022-05-16 15:07:28 -04:00
border: 1px solid #888a8a;
text-decoration: none;
}
.tags li a:hover {
2022-05-16 15:07:28 -04:00
border: 1px solid black;
}
2022-05-08 18:13:52 -04:00
/* END TAGS */
/*
** BLOG LIST PAGE
*/
2022-11-22 23:25:30 -05:00
.bloglist-teaser {
2022-12-18 01:31:08 -05:00
font-size: 1.75rem;
2023-01-03 21:00:27 -05:00
max-width: 40.625rem;
text-align: left;
2022-11-22 23:25:30 -05:00
}
.bloglist-date {
font-size: 1.75rem;
font-weight: 600;
2023-01-03 21:00:27 -05:00
color: var(--acent-color);
2022-11-22 23:25:30 -05:00
}
.bloglist {
text-align: left;
2022-11-22 23:25:30 -05:00
font-size: 1.5rem;
2019-03-23 12:59:56 -04:00
padding: 20px 0;
2019-03-23 03:18:03 -04:00
}
.bloglist-item {
display: flex;
justify-content: space-between;
align-items: center;
2022-12-18 01:02:49 -05:00
}
2022-12-18 01:02:49 -05:00
.bloglist-item p {
margin-top: 0.25rem;
margin-bottom: 0.25rem;
}
.bloglist-item-tag a {
color: gray;
text-decoration: none;
font-size: 0.75em;
}
.bloglist-item-tag a:hover {
color: #555;
}
@media (max-width: 850px) {
.bloglist-item-tag {
display: none;
}
}
2022-11-22 23:25:30 -05:00
.bloglist hr.separator {
2019-03-23 05:12:24 -04:00
width: 10px;
margin: 30px auto;
2022-11-22 23:25:30 -05:00
border: solid 2 px #c9c9c9;
2019-03-23 03:18:03 -04:00
}
2022-05-08 18:13:52 -04:00
/*
** FEED LIST PAGE
*/
2022-05-02 00:05:34 -04:00
#feedList {
text-align: left;
max-width: 1000px;
2022-05-02 00:05:34 -04:00
}
#feedList h2 {
margin-bottom: 0.25rem;
}
#feedList .date {
margin-top: 0;
margin-bottom: 0;
border-bottom: 1px solid #c9c9c9;
}
2022-05-08 18:13:52 -04:00
/*
** STANDARD PAGE
*/
main {
2022-11-22 23:25:30 -05:00
font-size: 1.25em;
2022-05-08 18:13:52 -04:00
padding: 20px 10px;
2022-11-22 23:25:30 -05:00
max-width: 1000px;
2022-05-08 18:13:52 -04:00
margin: 0 auto;
min-height: calc(100vh - 250px);
2022-05-08 18:13:52 -04:00
}
2022-06-02 20:20:32 -04:00
article {
padding-bottom: 2rem;
2022-06-02 20:20:32 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content {
padding-top: 2rem;
padding-bottom: 2rem;
2019-03-23 05:12:24 -04:00
text-align: left;
2018-10-08 06:37:58 -04:00
}
.e-content a:hover {
2023-01-03 21:00:27 -05:00
box-shadow: inset 1000px 0 0 0 var(--acent-color);
color: white;
}
2022-05-08 18:02:35 -04:00
main .e-content h2 {
padding-bottom: .3em;
2022-11-22 23:25:30 -05:00
/* font-size: 1.5em; */
2023-01-03 21:00:27 -05:00
border-bottom: 1px solid var(--acent-color);
color: var(--acent-color);
2022-05-08 18:02:35 -04:00
}
2022-05-08 16:40:46 -04:00
/*
** Home Page
*/
.main-home {
min-height: calc(100vh - 100px);
/* max-width: 600px; */
display: flex;
justify-content: center;
align-items: center;
}
.main-home .h-card {
max-width: 600px;
}
.main-home .h-card .avatar {
height: 250px;
}
.main-home .h-card .avatar img {
width: 250px;
position: absolute;
margin: 0 auto;
left: 0;
right: 0;
}
.main-home .h-card .avatarMask {
clip-path: circle(120px at center);
-webkit-clip-path: circle(120px at center);
}
/* END HOME PAGE */
/*
** Footer
*/
footer {
padding-top: 0.5rem;
background-color: #363636;
color: #ededed;
min-height: 100%;
2022-11-22 23:25:30 -05:00
font-size: 1rem;
box-sizing:border-box;
}
footer a:link {
color: white;
}
.footer-navs {
display: flex;
flex-wrap: wrap;
2023-01-03 21:00:27 -05:00
justify-content: space-between;
max-width: 62.5rem;
padding: 1rem;
2023-01-03 21:00:27 -05:00
text-align: left;
}
2022-05-08 18:13:52 -04:00
/* END FOOTER */
2022-05-14 22:56:35 -04:00
/*
** MASTODON TOOTS
*/
.toot {
margin-bottom: 2rem;
2023-01-03 21:00:27 -05:00
padding: 1rem;
2022-05-14 22:56:35 -04:00
border: 1px solid #656565;
border-radius: 10px;
}
.toot .date {
vertical-align: top;
margin-bottom: 0;
}
.toot-avatar { display: inline-block; }
.toot img { border: 2px solid black; }
2022-05-14 22:56:35 -04:00
.toot .date {
2022-05-14 22:56:35 -04:00
display: inline-block;
}
2023-01-03 21:00:27 -05:00
2022-05-14 22:56:35 -04:00
main .e-content .toot-photos img {
width: 100%;
2023-01-03 21:00:27 -05:00
max-width: 18.75rem;
2022-05-14 22:56:35 -04:00
}
.toot-social { margin-top: 1rem; }
/* END TOOTS */
2022-05-08 18:13:52 -04:00
/*
** EXTRA
*/
2023-01-03 21:00:27 -05:00
#webmentions img { max-height: 1.2rem; margin-right: -1ex; }
2022-05-08 18:13:52 -04:00
.date-updated { margin-top: -18px; }
2022-12-18 18:03:16 -05:00
.pgpform {
width: 100%;
min-height: 10rem;
font-size: 1rem;
}
.pgpbutton {
font-size: 1rem;
}
2023-01-03 21:04:24 -05:00
.reply-button {
2023-01-03 21:06:40 -05:00
border: 1px solid var(--text-color);
2023-01-03 21:04:24 -05:00
padding: 5px;
border-radius: 0.5rem;
box-shadow: 5px 5px var(--acent-color);
}
.reply-button:hover {
box-shadow: 2px 2px var(--acent-color);
}
/*
** Fonts
*/
@font-face {
font-family: 'IBM Plex Mono';
font-style: italic;
font-weight: 300;
font-display: swap;
src: url(/webfonts/ibm-plex-mono/300-italic.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'IBM Plex Mono';
font-style: italic;
font-weight: 400;
font-display: swap;
src: url(/webfonts/ibm-plex-mono/400-italic.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'IBM Plex Mono';
font-style: italic;
font-weight: 600;
font-display: swap;
src: url(/webfonts/ibm-plex-mono/600-italic.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'IBM Plex Mono';
font-style: italic;
font-weight: 700;
font-display: swap;
src: url(/webfonts/ibm-plex-mono/700-italic.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'IBM Plex Mono';
font-style: normal;
font-weight: 300;
font-display: swap;
src: url(/webfonts/ibm-plex-mono/300.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'IBM Plex Mono';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url(/webfonts/ibm-plex-mono/400.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'IBM Plex Mono';
font-style: normal;
font-weight: 600;
font-display: swap;
src: url(/webfonts/ibm-plex-mono/600.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'IBM Plex Mono';
font-style: normal;
font-weight: 700;
font-display: swap;
src: url(/webfonts/ibm-plex-mono/700.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}