Files
aether/static/css/style.css
2018-04-18 14:19:02 -04:00

303 lines
5.8 KiB
CSS

/* colors :
blue - 1A3E6E
light blue - 025A6E
creme - F0D493
light red - F2594D
red - BF2A2A */
body {
font-family: 'LatoLatinWeb', Avenir, HelveticaNeue-Light, "Helvetica Neue Light",
"Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
color: #3A3B3C;
font-size: 1.1em;
margin: 0;
padding: 0;
}
p {
margin: 1em 0;
}
b,
strong {
font-family: 'LatoLatinWebHeavy';
font-weight: normal
}
.list-body {
background-color: #f0f1f2;
display: flex;
flex-direction: column;
align-items: center;
}
.single-body {
display: flex;
flex-direction: column;
align-items: center;
}
.nav-bar {
width: 100%;
padding: 0.45em 0;
text-align: center;
background-color: rgba(255, 255, 255, 0.97);
-webkit-backdrop-filter: blur(0.05em);
box-shadow: 0 0.1em 2em 0 rgba(0, 0, 0, 0.08);
}
.nav-header {
margin: 0 0;
}
.post {
line-height: 1.5;
}
.post-header {
margin: 1.5em 0;
}
.post-title {
font-size: 1.8em;
line-height: 1.2;
margin: 0.4em 0;
}
.post-date {
display: block;
color: #7A7B7C;
font-size: 0.8em;
margin: 0;
}
.post-figure {
margin: 1.5em 0;
}
.post > p:first-of-type::first-letter {
font-family: 'LatoLatinWebHeavyItalic';
float: left;
font-size: 3em;
line-height: 1em;
padding-right: 0.1em;
/* initial-letter: 2; Maybe someday*/
}
.content {
max-width: 40em;
width: 100%;
}
.list-header {
margin: 7em 0 3.5em 0;
text-align: center;
}
.list-header-title {
margin: 0.1em 0 0.2em 0;
font-size: 2.2em;
text-transform: uppercase;
}
.list-header-subtext {
font-weight: normal;
color: #7A7B7C;
font-size: 1em;
line-height: 1.6;
margin: 0;
}
.card-columns {
display: grid;
grid-template-columns: 1fr;
grid-gap: 1.5em;
justify-content: center;
max-width: 42em;
}
.card {
display: flex;
flex-direction: column;
align-items: stretch;
background-color: white;
border-radius: 0.2em;
text-decoration: none;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
transition: all 0.3s cubic-bezier(.25,.8,.25,1);
box-shadow: 0 0.4em 0.8em 0 rgba(0,0,0,0.16), 0 0.3em 0.3em -0.1em rgba(0,0,0,0.23);
}
.card-active {
transform: scale(0.95);
box-shadow: 0 0.15em 0.3em 0 rgba(0, 0, 0, 0.16), 0 0.15em 0.3em -0.04em rgba(0, 0, 0, 0.23);
}
.card-img {
border-radius: 0.2em 0.2em 0 0;
margin-bottom: -0.28em;
max-height: 10em;
object-fit: cover;
}
.card-body {
padding: 1em;
}
.card-title {
margin: 0;
line-height: 1.2;
}
.card-text {
line-height: 1.5;
margin: 1em 0;
}
.card-subtext {
display: flex;
flex-direction: row;
justify-content: flex-start;
font-size: 0.8em;
}
.pagination-nav {
margin: 3em 0 2em 0;
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-areas: "prev next";
align-items: center;
width: 100%;
max-width: 42em;
}
.pagination-prev {
grid-area: prev;
justify-self: start;
}
.pagination-next {
grid-area: next;
justify-self: end;
}
.pagination-pagenum {
display: none;
grid-area: pagenum;
justify-self: center;
}
.button {
padding: 0.5em 0.6em;
background-color: #FFF;
border-radius: 0.2em;
box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2),
0px 2px 2px 0px rgba(0, 0, 0, 0.14),
0px 1px 5px 0px rgba(0, 0, 0, 0.12);
}
.button:active {
box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2),
0px 2px 2px 0px rgba(0, 0, 0, 0.14),
0px 1px 5px 0px rgba(0, 0, 0, 0.12);
}
.side-gutter {
padding-left: 0.7em !important;
padding-right: 0.7em !important;
box-sizing: border-box !important;
}
.muted-text {
color: #7A7B7C;
}
img {
width: 100%;
height: auto
}
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-family: monospace;
padding: .2em .5em;
line-height: 1.5;
border-radius: 0.2em;
background-color: #f3f3f3;
}
hr {
border: 0;
border-bottom: 1px solid #D1D1D1;
margin-top: 3em 0;
}
a {
text-decoration: none;
color: #3A3B3C;
}
table {
color: #3A3B3C;
border-collapse: collapse;
border-spacing: 0;
margin: 1em 0;
}
td,
th {
padding: 0.5em 1em;
border: thin solid #D1D1D1
}
th {
font-family: 'LatoLatinWebHeavy';
font-weight: normal
}
tr:nth-child(even) td {
background: #f3f3f3;
}
footer {
padding: 2em 0;
margin: 2em 0 0 0;
}
/* Medium devices (tablets, ~641px and up) */
@media only screen and (min-width: 40.063em) {
body {
font-size: 1.125rem;
}
.list-header {
margin: 8em 0 4em 0;
}
.list-header-title {
font-weight: normal;
font-size: 4.2em;
}
.card-columns {
grid-gap: 2em;
}
.card {
flex-direction: row;
align-items: stretch;
}
.card-active {
transform: scale(0.97);
}
.card-img {
border-radius: 0.2em 0 0 0.2em;
margin: 0;
max-height: unset;
height: 100%;
width: 15em;
}
.card-body {
padding: 1.5em 1.3em;
}
.card-title {
font-size: 1.27em;
}
.card-text {
font-size: 0.95em;
margin: 1.2em 0;
}
.card-subtext {
font-size: 0.7em;
}
.post-title {
font-size: 2.5em;
}
.pagination-nav {
margin: 4em 0 2em 0;
}
}
/* Large devices (desktops, ~1025px and up) */
@media only screen and (min-width: 64.063em) {
}
/* Extra large devices (large desktops, ~1441px and up) */
@media only screen and (min-width: 90.063em) {
}