blogotheme/assets/css/style.css

574 lines
11 KiB
CSS
Raw Normal View History

2021-01-03 14:33:26 +01:00
.color-primary-0 { color: #6B6B6B } /* Main Primary color */
.color-primary-1 { color: #C9C8C8 }
.color-primary-2 { color: #999999 }
.color-primary-3 { color: #343434 }
.color-primary-4 { color: #040303 }
.bg-color-0 { background-color: #6B6B6B } /* Main Primary color */
.bg-color-1 { background-color: #C9C8C8 }
.bg-color-2 { background-color: #999999 }
.bg-color-3 { background-color: #343434 }
.bg-color-4 { background-color: #040303 }
/* Generated by Paletton.com © 2002-2014 */
/* http://paletton.com */
body {
font-family: Avenir, HelveticaNeue-Light, "Helvetica Neue Light",
"Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
2022-07-18 02:36:32 +02:00
color: #454545;
2021-01-03 14:33:26 +01:00
font-size: 1.1em;
background-size: 22px 22px;
margin: 0;
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
2022-07-18 02:36:32 +02:00
/* box-sizing: border-box; */
2021-01-03 14:33:26 +01:00
word-break: break-word;
}
p {
margin: 1.5em 0;
}
2022-02-27 17:39:52 +01:00
2021-01-03 14:33:26 +01:00
.home-header {
min-height: 26rem;
max-width: 50rem;
margin: 0 -1.2rem -5rem -1.2rem;
padding: 1.2rem;
display: flex;
flex-direction: column;
z-index: -1;
color: white;
background-position: center;
background-size: cover;
}
.home-faceshot-card {
align-self: center;
padding: 0.5rem;
margin-bottom: 3rem;
max-width: 17rem;
width: 100%;
background-color: white;
border-radius: 1.2rem;
2022-07-18 02:36:32 +02:00
/* box-shadow: 0 0.7rem 2.3rem 0 rgba(0,0,0,0.3); */
2021-01-03 14:33:26 +01:00
}
.home-faceshot {
margin: 0;
border-radius: 0.8rem;
}
.home-blob-text-container {
margin: 2em 0;
max-width: 30rem;
line-height: 1.5;
}
.home-blob-title{
font-size: 1.5em;
font-weight: normal;
margin: 0;
}
.home-blob-text{
margin: 0.5em 0 0 0;
font-size: 1.1em;
}
.nav-bar {
max-width: 60rem;
/* width: 100%; */
padding: 0.4em 0;
/* display: flex; */
justify-content: space-between;
align-items: center;
2022-02-27 17:39:52 +01:00
border-color: black;
2021-01-03 14:33:26 +01:00
}
.nav-header {
margin: 0;
padding: 0.4em;
font-size: 1.5em;
2021-01-03 14:33:26 +01:00
}
.nav-text {
font-weight: normal;
text-decoration: none;
z-index: 105;
color: black;
font-weight: bolder;
font-size: 5rem;
2021-01-03 14:33:26 +01:00
}
/* Navigation menu */
.menu-container {
align-content: space-between;
display: flex;
2021-01-03 14:33:26 +01:00
}
#menu {
list-style: none;
}
#menu li{
list-style: none;
font-weight: bold;
display: inline;
padding: 0 1em 1em 0;
margin-top: 0.4em;
display: inline-grid;
}
/* #menu ul , li a{
color: black;
padding: 0 1em;
word-break: keep-all;
align-content: stretch;
text-decoration: none;
font-weight: bolder;
} */
.post {
2022-07-18 01:38:39 +02:00
margin: 3vw 1.8vw 3vw 1.8vw;
2021-01-03 14:33:26 +01:00
line-height: 1.9;
}
.post-header {
margin: 0 0 1.5em 0;
}
.post-title {
2022-07-18 01:38:39 +02:00
font-size: 2em;
2021-01-03 14:33:26 +01:00
font-weight: 500;
line-height: 1.2;
margin: 0 0 0.4em 0;
font-family: serif;
}
.post-date {
display: block;
color: #7a7b7c;
font-size: 0.7em;
margin: 0;
}
.post-figure {
margin: 1.5em 0;
}
.dropcase > p:first-of-type::first-letter {
2022-02-27 17:55:35 +01:00
/* float: left; */
2021-01-03 14:33:26 +01:00
font-size: 3em;
line-height: 1;
2022-02-27 17:55:35 +01:00
/* margin: 0.08em 0.15em -0.4em 0; */
font-family: serif;
2021-01-03 14:33:26 +01:00
}
.content {
background-color: white;
2021-04-04 13:12:10 +02:00
/* padding: 2em 0; */
2021-01-03 14:33:26 +01:00
margin-bottom: 3rem;
margin-top: 1em;
width: 100%;
max-width: 50rem;
/* border-radius: 1.2rem; */
z-index: 2;
2022-07-18 02:36:32 +02:00
/* transition: transform 0.2s cubic-bezier(0.25,0.8,0.25,1), box-shadow 0.2s cubic-bezier(0.25,0.8,0.25,1); */
2022-02-27 17:39:52 +01:00
border: solid;
2022-07-18 02:36:32 +02:00
border-width: 3px;
2022-02-27 17:39:52 +01:00
border-color: black;
2021-01-03 14:33:26 +01:00
}
2022-02-27 17:39:52 +01:00
2021-01-03 14:33:26 +01:00
.list-header {
margin: 1em;
text-align: center;
}
.list-header-title {
margin: 0.1em 0 0.1em 0;
font-size: 2em;
text-transform: uppercase;
}
.list-header-subtext {
font-weight: normal;
font-size: 1.5em;
line-height: 1.6;
margin: 0;
}
.list-header-content {
margin: 5em 0;
line-height: 1.6em;
}
2021-01-03 14:33:26 +01:00
/* .card-container > a:first-of-type {
margin-top: 5em;
} */
2021-01-03 14:33:26 +01:00
.card {
display: block;
2022-02-27 17:39:52 +01:00
/* margin: 3rem 0; */
width: 100%;
max-width: 50rem;
2022-07-18 02:36:32 +02:00
/* /* box-sizing: border-box; */ */
2021-01-03 14:33:26 +01:00
background-color: white;
text-decoration: none;
/* border-radius: 1.2rem; */
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
2022-07-18 02:36:32 +02:00
/* transition: transform 0.2s cubic-bezier(0.25,0.8,0.25,1), box-shadow 0.2s cubic-bezier(0.25,0.8,0.25,1); */
2021-01-03 14:33:26 +01:00
}
.home-card {
padding: 0.8em;
font-size: 2em;
font-weight: bold;
text-align: center;
color: white;
background-position: center center;
object-fit: cover;
}
.blog-card {
display: flex;
2022-02-27 17:39:52 +01:00
border: solid;
2022-07-18 02:36:32 +02:00
border-color: black;
2022-02-27 17:39:52 +01:00
border-width: 3px;
2021-01-03 14:33:26 +01:00
flex-direction: column;
align-items: stretch;
2022-02-27 17:39:52 +01:00
border-style: none;
margin-bottom: 1em;
2021-01-03 14:33:26 +01:00
}
2022-05-18 08:16:13 +02:00
/* .blog-card-feed {
margin: 1em;
} */
2021-01-03 14:33:26 +01:00
.bc-next {
margin-top: 0;
2022-07-18 01:38:39 +02:00
2021-01-03 14:33:26 +01:00
}
.card-img-container {
position: relative;
margin: 0.5rem;
background-color: grey;
}
.card-img {
/* border-radius: 0.8rem; */
margin: 0 0 -0.7em 0;
max-height: 10em;
object-fit: cover;
}
.card-img-overlay {
position: absolute;
top: 0;
font-size: 1.27em;
text-align: center;
padding: 0.77em 0;
width: 100%;
2022-07-18 02:36:32 +02:00
/* /* box-sizing: border-box; */ */
2021-01-03 14:33:26 +01:00
margin: 0;
color: white;
background-color: rgba(0, 0, 0, 0.4);
z-index: 5;
}
.card-body {
margin: 1.3em 1.5em;
line-height: 1.6;
}
.card-title {
margin: 0;
color: black;
font-size: 1.3em;
font-weight: 500;
font-family: serif;
}
.card-text {
margin: 1em 0;
}
.card-subtext {
display: flex;
flex-direction: row;
justify-content: flex-start;
font-size: 0.8em;
}
.card-subtext > p {
margin: 0;
}
.card-subtext > p + p {
margin-left: 1em;
padding-left: 1em;
word-spacing: 0.5em;
border-left: thin solid #7a7b7c;
}
.end-nav {
width: 100%;
z-index: 2;
}
.pagination-nav {
margin: 2em 0;
width: 100%;
max-width: 47rem;
}
2022-02-27 17:39:52 +01:00
.pagination-text {
font-weight: bold;
color: inherit;
}
2021-01-03 14:33:26 +01:00
.pagination-newer {
float:left;
}
.pagination-older {
float: right;
}
.button {
padding: 0.5em 0.6em;
background-color: #FFF;
text-decoration: none;
border-radius: 0.3rem;
2022-07-18 02:36:32 +02:00
/* transition: transform 0.1s cubic-bezier(0.25,0.8,0.25,1), box-shadow 0.1s cubic-bezier(0.25,0.8,0.25,1); */
/* box-shadow: 0 0.7rem 2.3rem 0 rgba(0,0,0,0.3); */
2021-01-03 14:33:26 +01:00
}
.button:hover {
2022-07-18 02:36:32 +02:00
/* box-shadow: 0 0.05rem 0.15rem rgba(0,0,0,0.12), 0 0.05rem 0.1rem rgba(0,0,0,0.24); */
2021-01-03 14:33:26 +01:00
transform: scale(0.97);
}
.button:active {
transform: scale(1);
}
.side-gutter {
margin-left: 1.2rem !important;
margin-right: 1.2rem !important;
}
.side-padding {
padding-left: 1.2rem !important;
padding-right: 1.2rem !important;
2022-07-18 02:36:32 +02:00
/* /* box-sizing: border-box !important; */ */
2021-01-03 14:33:26 +01:00
}
.side-text-padding {
padding-left: 1.2rem !important;
padding-right: 1.2rem !important;
2022-07-18 02:36:32 +02:00
/* /* box-sizing: border-box !important; */ */
2021-01-03 14:33:26 +01:00
}
.small-pic {
display: block;
margin-top: 1.5em;
}
.small-img {
width: unset;
max-width: 100%;
margin: 0 auto 1.5em auto;
}
.muted-text {
color: #8E8E8E;
}
.katex-display {
margin: 1.5em 0;
overflow-x: auto;
overflow-y: hidden;
}
#disqus_thread {
margin-top: 5em;
}
.no-scroll {
overflow: hidden;
position: fixed;
}
.clear {
clear: both;
}
h1, h2, h3, h4, h5, h6 {
margin: 1.5em 0 -0.5em 0;
clear: both;
}
img {
display: block;
width: 100%;
height: auto;
margin: 1.5em 0;
}
blockquote {
border-left: 0.3em solid #D1D1D1;
margin: 1.5em 0.8em;
padding: .5em 0.5em;
font-style: italic;
}
blockquote p {
display: inline;
}
ul,
ol {
padding-left: 1.6em;
}
li ul, li ol {
padding-left: 1em;
}
li > p {
margin: 0;
}
code {
font-size: 1.1rem;
font-family: monospace;
padding: .2em .5em;
line-height: 1.5;
border-radius: 0.3rem;
background-color: #f5f6f7;
}
pre > code {
margin: 1.5em 0;
display: block;
padding: 0.5em;
word-break: normal;
overflow-x: auto;
color: black;
}
.highlight > pre {
background-color: unset !important;
}
hr {
border: 0;
border-bottom: thin solid #D1D1D1;
margin: 3em 0;
clear: both;
}
a {
color: #454545;
}
table {
color: #141823;
border-collapse: collapse;
border-spacing: 0;
margin: 1.5em 0;
}
td,
th {
padding: 0.5em 1em;
border: thin solid #D1D1D1
}
/* th {
font-family: 'LatoLatinWebHeavy';
font-weight: normal;
} */
tr:nth-child(even) td {
background: #f5f6f7;
}
footer {
2021-04-04 13:12:10 +02:00
height: 100%;
2021-01-03 14:33:26 +01:00
max-width: 50rem;
width: 100%;
margin-top: -10rem;
display: flex;
flex-flow: row wrap;
justify-content: space-evenly;
align-items: flex-end;
background-position: 40% 0%;
background-size: 50rem;
2021-01-03 18:09:00 +01:00
text-align: center;
2021-01-03 14:33:26 +01:00
}
2021-01-03 18:09:00 +01:00
2021-04-04 13:12:10 +02:00
footer h3 {
margin: 1em;
}
2021-01-03 14:33:26 +01:00
.footer-link {
margin: 1rem 0;
}
.footer-icon {
max-width: 3.2rem;
margin: 0;
}
2021-04-04 13:12:10 +02:00
.webring {
text-align: left;
}
2021-01-03 14:33:26 +01:00
/* Medium devices (tablets, ~641px and up) */
@media only screen and (min-width: 40.063em) {
body {
font-size: 1.15rem;
}
.home-header {
flex-direction: row;
align-items: flex-start;
}
.home-blob-text-container {
margin: 4rem 2rem 4rem 6rem;
flex-shrink: 10;
}
.home-faceshot-card {
align-self: unset;
}
.nav-bar {
padding: 0.8em 0;
background-color: white;
z-index: auto;
}
.nav-header {
margin: 0;
background-color: white;
}
.nav-text {
font-weight: normal;
text-decoration: none;
z-index: 105;
color: black;
font-weight: bolder;
font-size: 3rem;
background-color: white;
}
/* #menu ul , li{
padding: 0.4em 1em;
list-style: none;
font-weight: bold;
padding-left: 4em;
} */
.list-header-title {
font-weight: normal;
font-size: 4.2em;
}
.blog-card {
flex-direction: row;
align-items: stretch;
2022-02-27 17:39:52 +01:00
border: solid;
2022-07-18 02:36:32 +02:00
border-color: black;
2022-02-27 17:39:52 +01:00
border-width: 3px;
2022-07-18 02:36:32 +02:00
border-style: solid;
2021-01-03 14:33:26 +01:00
}
.card-img {
margin: 0;
max-height: unset;
height: 100%;
width: 16em;
}
2021-01-03 14:33:26 +01:00
.card-body {
margin: 1.3em 1.7em;
}
.card-title {
font-size: 1.3em;
}
.card-text {
font-size: 0.9em;
margin: 0.8em 0 1.2em 0;
}
.card-subtext {
font-size: 0.7em;
margin-bottom: 0.7em;
}
2021-01-03 14:33:26 +01:00
.post-title {
font-size: 2em;
}
.button {
border-radius: 0.2rem;
}
.smartfloat-right {
float: right;
margin: 0 0 1.5em 1.5em;
}
.smartfloat-left {
float: left;
margin: 0 1.5em 1.5em 0;
}
code {
border-radius: 0.2rem;
}
}