itsericwoodward-site-v2/src/assets/styles/styles.css

1294 lines
20 KiB
CSS

/****************************************************************************
* It's Eric Woodward (dotcom)
*
* Copyright 2015-2023 Eric Woodward
* Source released under CC0 Public Domain License v1.0
* https://www.itsericwoodward.com/licenses/cc0/
* http://creativecommons.org/publicdomain/zero/1.
****************************************************************************/
/*
Palette
color: #9aa8bc
bg: #0d1852
link: 049c74
border: 25baba
big-font: 25baba
black: 040308
other: 094192
*/
body {
background: #0d1852; /* Old browsers */
background: url("/images/code-bg.jpg") top fixed;
color: #9aa8bc;
font-family: sans-serif;
font-size: 100%;
line-height: 1.5em;
}
a {
border: 1px solid transparent;
border-bottom: 1px dashed #25baba;
color: #049c74;
font-weight: bold;
padding: 0 0.2rem;
text-decoration: none;
-webkit-transition: 0.3s background-color, 0.3s color, 0.3s border-radius;
transition: 0.3s background-color, 0.3s color, 0.3s border-radius;
}
a[target="_blank"]::after {
content: " \29C9";
font-weight: normal;
}
a:hover {
border: 1px solid #25baba;
background-color: #25baba;
border-radius: 0.3rem;
color: #040308;
text-decoration: none;
}
a:hover:visited {
color: #040308;
}
a:visited {
color: #094192;
color: #1e6e58;
}
article img {
max-width: 100%;
}
blockquote {
border-left: 2px solid #04778f;
font-style: italic;
margin: 1em 0;
padding: 0 1em;
}
code,
kbd {
background-color: #0d1852;
background-color: rgba(13, 24, 82, 0.5);
color: #ccc;
font-size: 0.9em;
padding: 0.25em;
}
figcaption {
font-size: 0.9em;
}
figure {
margin: 1em auto;
display: block;
text-align: center;
}
/* for figure images */
figure[data-type="image"] a {
display: inline-block;
padding: .5rem .5rem .3rem;
}
figure[data-type="image"] img {
display: inline-block;
margin: auto;
}
/* for figure images */
figure[data-type="video"] {
margin-top: .5rem;
padding: .5rem;
}
figure[data-type="video"] video {
width: 100%;
}
h1 {
color: #25baba;
font-size: 2em;
line-height: 1.2em;
}
h2 {
color: #25baba;
font-size: 1.5em;
line-height: 1.2em;
}
h3 {
color: #25baba;
font-size: 1.22em;
line-height: 1.2em;
}
h4 {
color: #25baba;
font-size: 1.12em;
line-height: 1.2em;
}
h5 {
color: #25baba;
font-size: 1.06em;
line-height: 1.2em;
}
h6 {
color: #25baba;
font-size: 1em;
}
iframe {
max-width: 100%;
}
li {
margin-bottom: 0.6em;
}
li ul {
margin-top: 0.6em;
}
main {
font-size: 0.95em;
}
main img {
max-width: 100%;
}
ol,
ul {
padding-left: 1.2em;
}
pre {
background-color: #0d1852;
background-color: rgba(13, 24, 82, 0.5);
color: #ccc;
font-size: 0.9em;
overflow: auto;
padding: 0.25em;
}
pre code,
pre kbd {
background-color: transparent;
}
samp {
font-size: 0.9em;
}
.anaCardImg {
height: auto;
margin: 0;
vertical-align: middle;
width: 100%;
}
.anaCardLink {
display: block;
margin: 0 auto;
max-width: 15em;
padding: 0.5em;
}
.anaLink-billy {
background: url("/images/anachronism/links/billy_the_kid.jpg") no-repeat
center;
background-size: cover;
}
.anaLink-constitution {
background: url("/images/anachronism/links/the_us_constitution.jpg")
no-repeat center;
background-size: cover;
}
.anaLink-dictator {
background: url("/images/anachronism/links/the_dictator.jpg") no-repeat
center;
background-size: cover;
}
.anaLink-earp {
background: url("/images/anachronism/links/wyatt_earp.jpg") no-repeat center;
background-size: cover;
}
.anaLink-grant {
background: url("/images/anachronism/links/ulysses_s_grant.jpg") no-repeat
center;
background-size: cover;
}
.anaLink-lee {
background: url("/images/anachronism/links/robert_e_lee.jpg") no-repeat
center;
background-size: cover;
}
.anaLink-lincoln {
background: url("/images/anachronism/links/abraham_lincoln.jpg") no-repeat
center;
background-size: cover;
}
.anaLink-stetson {
background: url("/images/anachronism/links/stetson_hat.jpg") no-repeat
center;
background-size: cover;
}
.anaLink-washington {
background: url("/images/anachronism/links/george_washington.jpg") no-repeat
center;
background-size: cover;
}
.anaLogo {
display: block;
margin: 0 auto 1em;
width: 100%;
}
.asideBio {
line-height: 1.35em;
padding: 0.5em;
text-align: center;
}
.asideBio-div {
display: none;
margin: 0.5em auto;
text-align: center;
}
.asideBio-div-img {
max-width: 7.5em;
}
.asideBio-div-imgLink {
border: 1px solid transparent;
display: inline-block;
padding: 0.5em 0.5em 0.3em;
-webkit-transition: 0.3s background-color, 0.3s color, 0.3s border-radius;
transition: 0.3s background-color, 0.3s color, 0.3s border-radius;
}
.asideBio-div-link {
white-space: nowrap;
}
.asideBio-div-textLink {
display: none;
}
.asideContent {
border-top: 1px dotted #04778f;
}
.asideMenu-divider {
border: 1px dashed #25baba;
color: #25baba;
width: 80%;
}
.asideMenu-item {
align-self: auto;
display: inline-block;
flex: none;
margin: 0.5em;
}
.asideMenu-link {
border: 1px solid #726f6a;
border-radius: 0.3em;
display: inline-block;
padding: 0.25em;
}
.asideMenu-list {
align-content: center;
align-items: center; /* or stretch */
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
list-style: none;
margin: 0;
padding: 0;
text-align: center;
}
.asideMenu-subtitle {
font-size: 1.1em;
margin: 1.3em auto;
text-align: center;
}
.asideMenu-subtitle-link {
border: 1px solid transparent;
display: inline-block;
}
.asideMenu-title {
font-size: 1.3em;
margin: 1.5em auto;
text-align: center;
}
.asideMenu-title-link {
border: 1px solid transparent;
display: inline-block;
}
.asideRight {
padding: 0 1em 1em;
}
.authorHidden {
display: none;
}
.backLink {
clear: both;
font-size: 0.8em;
margin: 1em auto;
text-align: center;
}
.backLink-link {
border: 1px solid #25baba;
color: #25baba;
display: inline-block;
padding: 0.25em 0.5em;
}
.boxLink {
border: 1px solid #726f6a;
border-radius: 0.3em;
display: inline-block;
padding: 0.25em;
}
.boxLink.isCurrent {
background-color: #049c74;
background-color: rgba(4, 156, 116, 0.8);
color: #040308;
text-decoration: none;
}
.boxLink.isCurrent:hover {
background-color: #25baba;
}
.dataTable td {
border-left: 1px solid #9aa8bc;
border-right: 1px solid #9aa8bc;
padding: 0.1em 0.2em;
text-align: center;
}
.dataTable th {
border: 1px solid #9aa8bc;
color: #25baba;
padding: 0.2em 0.4em;
text-align: center;
}
.dataTable thead tr {
background-color: #0d1852;
}
.dataTable tr {
border-bottom: 1px solid transparent;
border-top: 1px solid transparent;
}
.dataTable tbody tr:last-child {
border-bottom: 1px solid #9aa8bc;
}
.dataTable tbody:nth-child(even) tr:nth-child(even) {
background-color: #0d1852;
}
.dataTable tr:hover td {
border-bottom: 1px solid #25baba;
border-top: 1px solid #25baba;
color: #25baba;
}
.dirList {
padding: 0;
}
.dirList-item {
display: inline-block;
margin: 0.5em;
}
.embed {
display: block;
margin: 1em auto;
width: 30em;
max-width: 100%;
}
.embedLink {
padding: 0.2rem;
}
.embedImg {
width: 100%;
}
.embedSwitch {
text-align: right;
margin-bottom: 1em;
}
.embedTwitter {
width: 100%;
}
.embedVimeo {
height: 15em;
max-height: 50vw;
}
.embedYoutube {
min-height: 21em;
width: 100%;
}
.entry-content {
display: block;
min-height: 2.6em;
padding-top: 0.2em;
}
.entry-reacji {
cursor: default;
float: left;
font-size: 2.2em;
margin-right: 0.2em;
vertical-align: middle;
}
.entry-reply {
display: block;
}
.feedLine {
border-color: #25baba;
border-color: rgba(37, 171, 171, 0.3);
clear: both;
margin: 2.5em auto;
width: 80%;
}
.feedLine:last-child {
display: none;
}
.footnote {
font-size: 0.8em;
}
.gameCardImg {
border-radius: 1rem;
max-width: 100%;
}
.gameCardImgLand {
border-radius: 2rem;
max-width: 100%;
}
.heroImage {
display: block;
clear: both;
margin: auto;
max-width: 100%;
}
.icon {
display: inline-block;
font-size: 2em;
font-style: normal;
text-transform: none;
vertical-align: middle;
}
.imgAttrib {
font-size: 0.8em;
}
.js-momentTime {
display: inline-block;
}
.licenseImg {
vertical-align: middle;
}
.licenseLink {
display: inline-block;
border: 1px solid transparent;
border-bottom: 1px solid transparent;
vertical-align: baseline;
}
.linkButton {
margin: 1em auto;
text-align: center;
}
.linkButton-link {
border: 1px solid #25baba;
color: #25baba;
display: inline-block;
padding: 0.25em 0.5em;
}
.magic-commander-img {
border-radius: 0.75em;
max-width: 100%;
width: 15em;
}
.magnetLink {
display: block;
font-size: x-small;
margin: auto;
text-align: center;
}
.mainBio-div-img {
height: auto;
margin: 0;
vertical-align: middle;
width: 100%;
}
.mainBio-div-imgLink {
border: 1px solid transparent;
display: block;
margin: 0 auto;
max-width: 15em;
padding: 0.5em;
-webkit-transition: 0.3s background-color, 0.3s color, 0.3s border-radius,
0.3s border-width;
transition: 0.3s background-color, 0.3s color, 0.3s border-radius,
0.3s border-width;
}
.mainBio-div-imgLink:hover {
border-width: 3px;
}
.mainBio-div-textLink {
display: none;
}
.menubar {
background: #282c32;
display: static;
}
.navMenu {
line-height: 2em;
padding: 0 0 0.5em;
text-align: center;
}
.navMenu-list {
list-style: none;
padding: 0;
margin: 0;
}
.navMenu-list-link {
border: 1px solid transparent;
text-decoration: none;
}
.navMenu-list-link:visited {
color: #25baba;
}
.navMenu-list-link.isCurrentSection {
background-color: #049c74;
border: 1px solid #25baba;
border-radius: 0.3rem;
color: #040308;
text-decoration: none;
}
.navMenu-list-link.isCurrentSection:hover {
background-color: #25baba;
}
.navMenu-list-item {
display: inline-block;
line-height: 2em;
margin: 0 0.25em;
text-align: center;
}
.navMenu-search-fieldset {
border: none;
font-size: 0.8em;
padding: 0;
}
.page {
background: #040308;
background: rgba(4, 3, 8, 0.9);
border: 1px solid #9aa8bc;
border-top: none;
border-bottom: none;
display: block;
margin: 0 auto;
max-width: 40em;
min-height: 100vh;
padding: 0;
position: relative;
}
.pageFooter {
border-top: 1px solid #04778f;
margin: 0 auto;
padding: 0.5em 1em;
width: 100%;
}
.pageFooter a {
text-decoration: none;
}
.pageFooter-inner {
font-size: 0.8em;
text-align: center;
width: 100%;
}
.pageFooter-inner p {
text-align: left;
}
.pageHeader {
width: 100%;
}
.pageHeader-titleBlock {
width: 100%;
}
.pageMain {
min-height: 28em;
padding: 1em;
}
.pageMenu {
clear: both;
margin: 0 auto 2.5em;
max-width: 25em;
padding: 0px;
text-align: center;
}
.pageMenu-anaCardLink {
border: 1px solid transparent;
display: inline-block;
margin: 0 auto;
padding: 0.5em;
}
.pageMenu-anaCards {
align-items: center;
display: flex;
flex-direction: column;
max-width: 100%;
}
.pageMenu-caption {
left: 0;
bottom: 0.5em;
position: absolute;
right: 0;
}
.pageMenu-gameCards {
align-items: center;
display: flex;
flex-direction: column;
justify-content: center;
}
.pageMenu-gameCardLink {
border: 1px solid transparent;
display: flex;
margin: 0 auto;
max-width: 24em;
padding: 0.5em;
}
.pageMenu-item {
align-items: center;
border: 2px solid transparent;
border-radius: 0.3rem;
display: flex;
justify-content: center;
margin-left: 0;
max-width: 340px;
text-align: center;
text-decoration: none;
-webkit-transition: 0.3s background-color, 0.3s border-color, 0.3s color;
transition: 0.3s background-color, 0.3s border-color, 0.3s color;
}
.pageMenu-item:hover {
border-color: #25baba;
}
.pageMenu-link {
display: block;
height: 6.8em;
position: relative;
width: 6.8em;
}
.pageMenu-link:hover .pageMenu-text {
background-color: #25baba;
background-color: rgba(150, 150, 150, 0.8);
color: #040308;
text-decoration: none;
width: 100%;
}
.pageMenu-text {
background: rgba(50, 50, 50, 0.8);
display: inline-block;
margin: 0 auto;
-webkit-transition: 0.3s background-color, 0.3s color;
transition: 0.3s background-color, 0.3s color;
width: 100%;
}
.pageSection {
word-wrap: break-word;
}
.postsByYear {
clear: both;
display: block;
float: right;
}
.postsByYear {
clear: both;
font-size: 0.8em;
margin: 1em auto;
text-align: center;
}
.postsByYear-list {
display: inline;
margin: 0;
max-width: 25em;
padding: 0px;
}
.postsByYear-list li {
border-radius: 0.3rem;
}
.postMenu {
max-height: 0;
overflow: hidden;
}
.postMenu-item {
align-self: auto;
display: inline-block;
flex: none;
margin: 0.5em;
}
.postMenu-link {
border: 1px solid #726f6a;
border-radius: 0.3em;
display: inline-block;
padding: 0.25em;
}
.postMenu-list {
align-content: center;
align-items: center;
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
list-style: none;
margin: 0;
padding: 0;
text-align: center;
}
.postMenu-title {
font-size: 1.3em;
margin: 1.5em auto;
text-align: center;
}
.postMenu-title-link {
border: 1px solid transparent;
display: inline-block;
}
.pubDate {
font-size: 0.9em;
visibility: hidden;
}
.raceTable-name {
font-weight: bold;
text-align: left;
}
.readTime {
font-size: 0.9em;
font-style: italic;
text-align: right;
text-transform: capitalize;
}
.replyTo {
margin: 0 1.25em;
}
.replyTo-arrow {
font-size: 1.75em;
}
.searchBox-query {
background-color: #049c74;
border-radius: 0.3rem;
color: #000;
width: 10em;
}
.siteTitle {
text-align: center;
width: 100%;
}
.siteTitle-link {
border: 1px solid transparent;
color: #25baba;
border-radius: 1rem;
display: inline-block;
font-style: normal;
padding: 0.2em;
position: relative;
text-decoration: none;
text-shadow: 0px 2px 2px rgba(16, 16, 16, 0.6);
-webkit-transition: 0.3s border-color, 0.3s color, 0.3s text-shadow,
0.3s border-radius;
transition: 0.3s border-color, 0.3s color, 0.3s text-shadow,
0.3s border-radius;
}
.siteTitle-link:visited {
color: #25baba;
}
.spellTable {
margin-left: -1em;
}
.spellTable td {
border: 1px solid #094192;
}
.spellTable tbody:nth-child(even) {
background-color: #0d1852;
}
.tagPage-counts {
font-size: 0.9em;
font-style: italic;
}
.tagPage-list {
padding-left: 0;
}
.tagPage-listItem {
display: inline;
list-style: none;
padding: 0.3em 0.5em;
}
.teaseLink {
clear: both;
font-size: 0.8em;
margin: 1em auto;
text-align: center;
}
.teaseLink-link {
color: #25baba;
display: inline-block;
padding: 0.25em 0.5em;
}
.titleLink {
border-bottom: none;
}
.titleLink:active,
.titleLink:hover {
border: 1px solid #25baba;
}
/* toggleSwitch & overrides */
/*
.toggleSwitch:empty
{
margin-left: -999px;
}
.toggleSwitch:empty ~ label .toggleSwitch-info,
.toggleSwitch:checked ~ label .toggleSwitch-info {
visibility: hidden;
}
.toggleSwitch:empty ~ label
{
position: relative;
float: left;
line-height: 1.6em;
text-indent: 4em;
margin: 0.2em 0;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.toggleSwitch:empty ~ label:before,
.toggleSwitch:empty ~ label:after
{
position: absolute;
display: block;
top: 0;
bottom: 0;
left: 0;
content: ' ';
width: 3.6em;
background-color: #c33;
border-radius: 0.3em;
box-shadow: inset 0 0.2em 0 rgba(0,0,0,0.3);
-webkit-transition: all 100ms ease-in;
transition: all 100ms ease-in;
}
.toggleSwitch:empty ~ label:before
{
content: "Disable Embeds";
}
.toggleSwitch:empty ~ label:after
{
background-color: #fff;
border-radius: 0.15em;
bottom: 0.1em;
box-shadow: inset 0 -0.2em 0 rgba(0,0,0,0.2);
margin-left: 0.1em;
top: 0.1em;
width: 1.4em;
}
.toggleSwitch:checked ~ label:before
{
content: "Enable Embeds";
background-color: #393;
}
.toggleSwitch:checked ~ label:after
{
margin-left: 2em;
}
*/
.topAnchor {
border: none;
height: 0;
margin: 0;
padding: 0;
}
.topLink {
border: 1px solid #726f6a;
border-radius: 0.3em;
display: block;
margin: 2em auto;
padding: 0.25em;
text-align: center;
width: 7rem;
}
.twitter-tweet {
margin: 0;
}
.update-citation {
display: block;
text-align: right;
}
.update-footer {
align-items: start;
color: #423f4d;
display: flex;
flex-direction: column;
font-size: 0.9em;
font-style: italic;
margin-top: 1em;
}
.update-footer-author {
display: none;
}
.update-footer-time {
margin-left: auto;
}
.update-nav {
border-top: 1px dotted;
display: flex;
margin-top: 1em;
padding-top: 1em;
width: 100%;
}
.update-nav-link {
border: 1px dashed #726f6a;
border-radius: 0.3em;
display: block;
padding: 0.5em;
}
.update-nav-linkWrapper {
max-width: 45%;
}
.update-nav-pubDate {
font-size: 0.8em;
}
.update-nav-nextWrapper {
margin-left: auto;
text-align: right;
}
.update-tags {
align-items: center;
display: flex;
flex-wrap: wrap;
margin-top: 1em;
text-align: left;
}
.update-tags > .boxLink {
margin: 0.5em;
}
/****************************************************************************
* State Overrides
****************************************************************************/
.asideBio.hideBio {
display: none;
}
.asideBio-div.showPhoto {
display: inline-block;
}
.asideMenu-link.isCurrent {
background-color: #049c74;
background-color: rgba(4, 156, 116, 0.8);
color: #040308;
text-decoration: none;
}
.asideMenu-link.isCurrent:hover {
background-color: #25baba;
}
.asideUpdates .update-citation {
display: none;
}
.asideUpdates .update-footer-time {
margin: 1em 0 2em;
}
.asideUpdates .js-momentTime {
display: none;
}
.asideUpdates .reacji {
float: left;
}
.feature hr {
border: 1px 0 0 0;
border-color: #0d1852;
border-style: solid;
color: #0d1852;
max-width: 90%;
}
.js-hasFontsLoaded body {
font-family: "exo_2", sans-serif;
}
.pageMenu-link.isCurrent .pageMenu-text {
background-color: #049c74;
background-color: rgba(4, 156, 116, 0.8);
color: #040308;
text-decoration: none;
}
.pageMenu-link.isCurrent:hover .pageMenu-text {
background-color: #25baba;
}
.textMenu-link.isCurrent {
background-color: #049c74;
background-color: rgba(4, 156, 116, 0.8);
color: #040308;
text-decoration: none;
}
.textMenu-link.isCurrent:hover {
background-color: #25baba;
}
.update.isDraft {
background-color: #282c32;
}
.update.isEmbargoed {
background-color: #151222;
}
/****************************************************************************
* JS Overrides
****************************************************************************/
.js .pubDate.isDone {
-webkit-transition: 0.3s visibility;
transition: 0.3s visibility;
visibility: visible;
}
.no-js .pubDate {
visibility: visible;
}
/****************************************************************************
* Media Queries
****************************************************************************/
@media all and (min-width: 38em) {
.navMenu {
padding: 0;
}
.navMenu-list {
float: left;
text-align: left;
}
.navMenu-list-item {
margin-left: 0.75em;
}
.searchBox {
float: right;
margin-right: 0.75em;
}
}
@media all and (min-width: 34em) {
.magic-commander-img {
float: right;
}
}
@media all and (min-width: 52em) {
body {
font-size: 1.1em;
}
}
@media all and (min-width: 70em) {
.asideContent {
background: #040308;
background: rgba(4, 3, 8, 0.9);
border: 1px solid #9aa8bc;
font-size: 0.8em;
position: absolute;
top: 5em;
}
.asideLeft {
left: -14em;
width: 14em;
}
.asideMenu-divider {
display: none;
}
.asideRight {
right: -15em;
width: 15em;
}
.asideRight .asideMenu-link {
max-width: 13em;
}
.postMainIndex .feedLine:last-child {
display: block;
}
.postMenu {
max-height: none;
}
.socialList-item {
display: inherit;
}
}