mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2024-10-30 01:42:08 -04:00
463 lines
7.8 KiB
HTML
463 lines
7.8 KiB
HTML
<style amp-custom>
|
|
/*
|
|
** General
|
|
*/
|
|
: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 {
|
|
-ms-text-size-adjust: 100%;
|
|
-webkit-text-size-adjust: 100%;
|
|
min-height: 100vh;
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
background-color: var(--bg-color);
|
|
/* background-image: url(/img/winter.png); */
|
|
background-color: #fafafa;
|
|
color: var(--text-color);
|
|
text-align: center;
|
|
font-family: var(--text-font);
|
|
font-weight: 300;
|
|
line-height: 1.5;
|
|
font-size: 16px;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
a .fa, a .fas, a .fab {
|
|
color: var(--acent-color);
|
|
}
|
|
|
|
a:link, a:visited, a:hover, a:active {
|
|
color: var(--text-color);
|
|
}
|
|
|
|
mark {
|
|
color: var(--text-color);
|
|
font-weight: bold;
|
|
}
|
|
|
|
strong {
|
|
font-weight: 700;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
font-family: var(--header-font);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.block-center {
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.space-evenly {
|
|
display: flex;
|
|
justify-content: space-evenly;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
|
|
/*
|
|
** HEADER
|
|
*/
|
|
.avatarMask {
|
|
clip-path: circle(48px at center);
|
|
-webkit-clip-path: circle(48px at center);
|
|
}
|
|
|
|
/* Topbar Header */
|
|
|
|
.header-top {
|
|
padding: 0.25rem;
|
|
padding-left: 3rem;
|
|
border-bottom: 1px dashed var(--acent-color);
|
|
background-color: #fafafa;
|
|
font-size: 0.9rem;
|
|
color: var(--header-color);
|
|
}
|
|
|
|
.header-top a { color: var(--header-color); }
|
|
|
|
.header-flex {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
max-width: 62.5rem;
|
|
}
|
|
|
|
.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;
|
|
width: 21.875rem;
|
|
}
|
|
|
|
@media (max-width: 550px) {
|
|
.header-top {
|
|
padding-left: 1.25rem;
|
|
}
|
|
.header-top .title { margin-right: 0; }
|
|
.header-flex { flex-direction: column; }
|
|
.header-top .h-card {
|
|
flex-direction: column-reverse;
|
|
width: auto;
|
|
}
|
|
}
|
|
|
|
/* END HEADER */
|
|
|
|
/*
|
|
** NAVIGATION
|
|
*/
|
|
.nav-home ul {
|
|
/* max-width: 300px; */
|
|
margin: 1.25rem auto;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
.nav-home li {
|
|
margin: 0 0.625rem;
|
|
}
|
|
|
|
/* END NAVIGATION */
|
|
|
|
/*
|
|
** SEARCH
|
|
*/
|
|
|
|
#searchBox {
|
|
position: relative;
|
|
height: 30px;
|
|
margin: 20px auto;
|
|
}
|
|
|
|
#searchBox #searchBoxInput {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
padding: 0 35px 0 15px;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
border-radius: 15px;
|
|
outline: 0;
|
|
/* font-size: 15px; */
|
|
color: #707070;
|
|
background-color:#f6f6f6;
|
|
border: solid 1px #c9c9c9;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
#searchBox #searchBoxInput::placeholder {
|
|
color: #c9c9c9;
|
|
}
|
|
|
|
#searchBox #searchBoxIcon {
|
|
position: absolute;
|
|
height: 20px;
|
|
width: 20px;
|
|
top: 5px;
|
|
right: 10px;
|
|
}
|
|
|
|
#searchResults {
|
|
display: none;
|
|
position: absolute;
|
|
max-width: 1000px;
|
|
/* min-width: 300px; */
|
|
margin: 0 auto;
|
|
top: 230px;
|
|
left: 0;
|
|
right: 0;
|
|
padding: 5px;
|
|
background-color:#f6f6f6;
|
|
border: solid 1px #c9c9c9;
|
|
border-radius: 5px;
|
|
text-align: left;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
#searchResults .searchResultPage {
|
|
padding: 20px
|
|
}
|
|
|
|
#searchResults .searchResultTitle {
|
|
font-weight: bold;
|
|
margin: 5px 0;
|
|
}
|
|
|
|
#searchResults .searchResultBody {
|
|
font-size: 14px;
|
|
}
|
|
|
|
#searchResults mark {
|
|
background-color: #dddfdf;
|
|
}
|
|
|
|
/* 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;
|
|
padding-bottom: 5px;
|
|
border-radius: 5px;
|
|
font-size: 1.25rem;
|
|
border: 1px solid #888a8a;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.tags li a:hover {
|
|
border: 1px solid black;
|
|
}
|
|
|
|
/* END TAGS */
|
|
|
|
/*
|
|
** BLOG LIST PAGE
|
|
*/
|
|
|
|
.bloglist-teaser {
|
|
font-size: 1.75rem;
|
|
max-width: 40.625rem;
|
|
text-align: left;
|
|
}
|
|
|
|
.bloglist-date {
|
|
font-size: 1.75rem;
|
|
font-weight: 600;
|
|
color: var(--acent-color);
|
|
}
|
|
|
|
.bloglist {
|
|
text-align: left;
|
|
font-size: 1.5rem;
|
|
padding: 20px 0;
|
|
}
|
|
|
|
.bloglist-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
}
|
|
|
|
.bloglist hr.separator {
|
|
width: 10px;
|
|
margin: 30px auto;
|
|
border: solid 2 px #c9c9c9;
|
|
}
|
|
|
|
/*
|
|
** FEED LIST PAGE
|
|
*/
|
|
#feedList {
|
|
text-align: left;
|
|
max-width: 1000px;
|
|
}
|
|
|
|
#feedList h2 {
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
#feedList .date {
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
border-bottom: 1px solid #c9c9c9;
|
|
}
|
|
|
|
/*
|
|
** STANDARD PAGE
|
|
*/
|
|
main {
|
|
font-size: 1.25em;
|
|
padding: 20px 10px;
|
|
max-width: 1000px;
|
|
margin: 0 auto;
|
|
min-height: calc(100vh - 250px);
|
|
}
|
|
|
|
article {
|
|
padding-bottom: 2rem;
|
|
}
|
|
|
|
main .e-content {
|
|
padding-top: 2rem;
|
|
padding-bottom: 2rem;
|
|
text-align: left;
|
|
}
|
|
|
|
.e-content a:hover {
|
|
background-color: var(--acent-color);
|
|
/* box-shadow: inset 1000px 0 0 0 var(--acent-color); */
|
|
color: white;
|
|
}
|
|
|
|
main .e-content h2 {
|
|
padding-bottom: .3em;
|
|
/* font-size: 1.5em; */
|
|
border-bottom: 1px solid var(--acent-color);
|
|
color: var(--acent-color);
|
|
}
|
|
|
|
/*
|
|
** 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 .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%;
|
|
font-size: 1rem;
|
|
box-sizing:border-box;
|
|
}
|
|
footer a:link, footer a:visited, footer a:hover, footer a:active {
|
|
color: white;
|
|
}
|
|
|
|
.footer-navs {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
max-width: 62.5rem;
|
|
padding: 1rem;
|
|
text-align: left;
|
|
}
|
|
|
|
/* END FOOTER */
|
|
|
|
/*
|
|
** MASTODON TOOTS
|
|
*/
|
|
.toot {
|
|
margin-bottom: 2rem;
|
|
padding: 1rem;
|
|
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; }
|
|
|
|
.toot .date {
|
|
display: inline-block;
|
|
}
|
|
|
|
main .e-content .toot-photos img {
|
|
width: 100%;
|
|
max-width: 18.75rem;
|
|
}
|
|
.toot-social { margin-top: 1rem; }
|
|
|
|
/* END TOOTS */
|
|
|
|
/*
|
|
** EXTRA
|
|
*/
|
|
#webmentions img { max-height: 1.2rem; margin-right: -1ex; }
|
|
|
|
.date-updated { margin-top: -18px; }
|
|
|
|
.pgpform {
|
|
width: 100%;
|
|
min-height: 10rem;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.pgpbutton {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.reply-button {
|
|
border: 1px solid var(--text-color);
|
|
padding: 5px;
|
|
border-radius: 0.5rem;
|
|
box-shadow: 5px 5px var(--acent-color);
|
|
}
|
|
|
|
.reply-button:hover {
|
|
box-shadow: 2px 2px var(--acent-color);
|
|
}
|
|
</style>
|