Updated styles

This commit is contained in:
pmoreno.rodriguez 2023-09-29 13:53:55 +02:00
parent 5934bab9c6
commit 27956c2afa
5 changed files with 195 additions and 7 deletions

View file

@ -66,10 +66,14 @@ input::-moz-focus-inner {
input, select, textarea { input, select, textarea {
-moz-appearance: none; -moz-appearance: none;
-webkit-appearance: none; -webkit-appearance: none;
-ms-appearance: none;
appearance: none; appearance: none;
} }
/* Basic */ /* Basic */
@-ms-viewport {
width: device-width;
}
body { body {
-ms-overflow-style: scrollbar; -ms-overflow-style: scrollbar;
} }
@ -91,7 +95,13 @@ body {
background: #f4f4f4; background: #f4f4f4;
} }
body.is-preload *, body.is-preload *:before, body.is-preload *:after { body.is-preload *, body.is-preload *:before, body.is-preload *:after {
-moz-animation: none !important;
-webkit-animation: none !important;
-ms-animation: none !important;
animation: none !important; animation: none !important;
-moz-transition: none !important;
-webkit-transition: none !important;
-ms-transition: none !important;
transition: none !important; transition: none !important;
} }
@ -130,12 +140,18 @@ body, input, select, textarea {
} }
a { a {
-moz-transition: color 0.2s ease, border-bottom-color 0.2s ease;
-webkit-transition: color 0.2s ease, border-bottom-color 0.2s ease;
-ms-transition: color 0.2s ease, border-bottom-color 0.2s ease;
transition: color 0.2s ease, border-bottom-color 0.2s ease; transition: color 0.2s ease, border-bottom-color 0.2s ease;
border-bottom: dotted 1px rgba(160, 160, 160, 0.65); border-bottom: dotted 1px rgba(160, 160, 160, 0.65);
color: inherit; color: inherit;
text-decoration: none; text-decoration: none;
} }
a:before { a:before {
-moz-transition: color 0.2s ease;
-webkit-transition: color 0.2s ease;
-ms-transition: color 0.2s ease;
transition: color 0.2s ease; transition: color 0.2s ease;
} }
a:hover { a:hover {
@ -1372,14 +1388,19 @@ hr.major {
/* Author */ /* Author */
.author { .author {
display: -moz-flex; display: -moz-flex;
display: -webkit-flex;
display: -ms-flex; display: -ms-flex;
display: flex; display: flex;
-moz-flex-direction: row; -moz-flex-direction: row;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row; flex-direction: row;
-moz-align-items: center; -moz-align-items: center;
-webkit-align-items: center;
-ms-align-items: center; -ms-align-items: center;
align-items: center; align-items: center;
-moz-justify-content: -moz-flex-end; -moz-justify-content: -moz-flex-end;
-webkit-justify-content: -webkit-flex-end;
-ms-justify-content: -ms-flex-end; -ms-justify-content: -ms-flex-end;
justify-content: flex-end; justify-content: flex-end;
border-bottom: 0; border-bottom: 0;
@ -1391,6 +1412,9 @@ hr.major {
white-space: wrap; white-space: wrap;
} }
.author .name { .author .name {
-moz-transition: border-bottom-color 0.2s ease;
-webkit-transition: border-bottom-color 0.2s ease;
-ms-transition: border-bottom-color 0.2s ease;
transition: border-bottom-color 0.2s ease; transition: border-bottom-color 0.2s ease;
border-bottom: dotted 1px rgba(160, 160, 160, 0.65); border-bottom: dotted 1px rgba(160, 160, 160, 0.65);
display: block; display: block;
@ -1443,7 +1467,11 @@ button,
.button { .button {
-moz-appearance: none; -moz-appearance: none;
-webkit-appearance: none; -webkit-appearance: none;
-ms-appearance: none;
appearance: none; appearance: none;
-moz-transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
-webkit-transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
-ms-transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease; transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
background-color: transparent; background-color: transparent;
border: 0; border: 0;
@ -1604,6 +1632,7 @@ select,
textarea { textarea {
-moz-appearance: none; -moz-appearance: none;
-webkit-appearance: none; -webkit-appearance: none;
-ms-appearance: none;
appearance: none; appearance: none;
background: rgba(160, 160, 160, 0.075); background: rgba(160, 160, 160, 0.075);
border: none; border: none;
@ -1703,6 +1732,7 @@ input[type=checkbox],
input[type=radio] { input[type=radio] {
-moz-appearance: none; -moz-appearance: none;
-webkit-appearance: none; -webkit-appearance: none;
-ms-appearance: none;
appearance: none; appearance: none;
display: block; display: block;
float: left; float: left;
@ -1923,6 +1953,7 @@ dl dd {
/* Actions */ /* Actions */
ul.actions { ul.actions {
display: -moz-flex; display: -moz-flex;
display: -webkit-flex;
display: -ms-flex; display: -ms-flex;
display: flex; display: flex;
cursor: default; cursor: default;
@ -1936,6 +1967,7 @@ ul.actions li {
} }
ul.actions.special { ul.actions.special {
-moz-justify-content: center; -moz-justify-content: center;
-webkit-justify-content: center;
-ms-justify-content: center; -ms-justify-content: center;
justify-content: center; justify-content: center;
width: 100%; width: 100%;
@ -1946,6 +1978,8 @@ ul.actions.special li:first-child {
} }
ul.actions.stacked { ul.actions.stacked {
-moz-flex-direction: column; -moz-flex-direction: column;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column; flex-direction: column;
margin-left: 0; margin-left: 0;
} }
@ -1960,8 +1994,11 @@ ul.actions.fit {
} }
ul.actions.fit li { ul.actions.fit li {
-moz-flex-grow: 1; -moz-flex-grow: 1;
-webkit-flex-grow: 1;
-ms-flex-grow: 1; -ms-flex-grow: 1;
flex-grow: 1; flex-grow: 1;
-moz-flex-shrink: 1;
-webkit-flex-shrink: 1;
-ms-flex-shrink: 1; -ms-flex-shrink: 1;
flex-shrink: 1; flex-shrink: 1;
width: 100%; width: 100%;
@ -1975,6 +2012,7 @@ ul.actions.fit.stacked {
@media screen and (max-width: 736px) { @media screen and (max-width: 736px) {
ul.actions { ul.actions {
-moz-justify-content: center; -moz-justify-content: center;
-webkit-justify-content: center;
-ms-justify-content: center; -ms-justify-content: center;
justify-content: center; justify-content: center;
} }
@ -1982,14 +2020,19 @@ ul.actions.fit.stacked {
@media screen and (max-width: 480px) { @media screen and (max-width: 480px) {
ul.actions:not(.fixed) { ul.actions:not(.fixed) {
-moz-flex-direction: column; -moz-flex-direction: column;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column; flex-direction: column;
margin-left: 0; margin-left: 0;
width: 100% !important; width: 100% !important;
} }
ul.actions:not(.fixed) li { ul.actions:not(.fixed) li {
-moz-flex-grow: 1; -moz-flex-grow: 1;
-webkit-flex-grow: 1;
-ms-flex-grow: 1; -ms-flex-grow: 1;
flex-grow: 1; flex-grow: 1;
-moz-flex-shrink: 1;
-webkit-flex-shrink: 1;
-ms-flex-shrink: 1; -ms-flex-shrink: 1;
flex-shrink: 1; flex-shrink: 1;
padding: 1em 0 0 0; padding: 1em 0 0 0;
@ -2056,12 +2099,16 @@ ul.posts li:first-child {
} }
ul.posts article { ul.posts article {
display: -moz-flex; display: -moz-flex;
display: -webkit-flex;
display: -ms-flex; display: -ms-flex;
display: flex; display: flex;
-moz-align-items: -moz-flex-start; -moz-align-items: -moz-flex-start;
-webkit-align-items: -webkit-flex-start;
-ms-align-items: -ms-flex-start; -ms-align-items: -ms-flex-start;
align-items: flex-start; align-items: flex-start;
-moz-flex-direction: row-reverse; -moz-flex-direction: row-reverse;
-webkit-flex-direction: row-reverse;
-ms-flex-direction: row-reverse;
flex-direction: row-reverse; flex-direction: row-reverse;
} }
ul.posts article .image { ul.posts article .image {
@ -2075,6 +2122,7 @@ ul.posts article .image img {
} }
ul.posts article header { ul.posts article header {
-moz-flex-grow: 1; -moz-flex-grow: 1;
-webkit-flex-grow: 1;
-ms-flex-grow: 1; -ms-flex-grow: 1;
flex-grow: 1; flex-grow: 1;
flex: 1; flex: 1;
@ -2101,9 +2149,12 @@ ul.posts article header > :last-child {
/* Mini Post */ /* Mini Post */
.mini-post { .mini-post {
display: -moz-flex; display: -moz-flex;
display: -webkit-flex;
display: -ms-flex; display: -ms-flex;
display: flex; display: flex;
-moz-flex-direction: column-reverse; -moz-flex-direction: column-reverse;
-webkit-flex-direction: column-reverse;
-ms-flex-direction: column-reverse;
flex-direction: column-reverse; flex-direction: column-reverse;
background: #ffffff; background: #ffffff;
border: solid 1px rgba(160, 160, 160, 0.3); border: solid 1px rgba(160, 160, 160, 0.3);
@ -2114,10 +2165,16 @@ ul.posts article header > :last-child {
width: 100%; width: 100%;
} }
.mini-post .image img { .mini-post .image img {
-moz-transition: -moz-transform 0.2s ease-out;
-webkit-transition: -webkit-transform 0.2s ease-out;
-ms-transition: -ms-transform 0.2s ease-out;
transition: transform 0.2s ease-out; transition: transform 0.2s ease-out;
width: 100%; width: 100%;
} }
.mini-post .image:hover img { .mini-post .image:hover img {
-moz-transform: scale(1.05);
-webkit-transform: scale(1.05);
-ms-transform: scale(1.05);
transform: scale(1.05); transform: scale(1.05);
} }
.mini-post header { .mini-post header {
@ -2125,6 +2182,7 @@ ul.posts article header > :last-child {
min-height: 4em; min-height: 4em;
position: relative; position: relative;
-moz-flex-grow: 1; -moz-flex-grow: 1;
-webkit-flex-grow: 1;
-ms-flex-grow: 1; -ms-flex-grow: 1;
flex-grow: 1; flex-grow: 1;
} }
@ -2152,8 +2210,12 @@ ul.posts article header > :last-child {
@media screen and (max-width: 1280px) { @media screen and (max-width: 1280px) {
.mini-posts { .mini-posts {
display: -moz-flex; display: -moz-flex;
display: -webkit-flex;
display: -ms-flex; display: -ms-flex;
display: flex; display: flex;
-moz-flex-wrap: wrap;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap; flex-wrap: wrap;
width: calc(100% + 2em); width: calc(100% + 2em);
} }
@ -2192,6 +2254,7 @@ ul.posts article header > :last-child {
} }
.post > header { .post > header {
display: -moz-flex; display: -moz-flex;
display: -webkit-flex;
display: -ms-flex; display: -ms-flex;
display: flex; display: flex;
border-bottom: solid 1px rgba(160, 160, 160, 0.3); border-bottom: solid 1px rgba(160, 160, 160, 0.3);
@ -2202,6 +2265,7 @@ ul.posts article header > :last-child {
} }
.post > header .title { .post > header .title {
-moz-flex-grow: 1; -moz-flex-grow: 1;
-webkit-flex-grow: 1;
-ms-flex-grow: 1; -ms-flex-grow: 1;
flex-grow: 1; flex-grow: 1;
flex: 1; flex: 1;
@ -2253,21 +2317,30 @@ ul.posts article header > :last-child {
overflow: hidden; overflow: hidden;
} }
.post > a.image.featured img { .post > a.image.featured img {
-moz-transition: -moz-transform 0.2s ease-out;
-webkit-transition: -webkit-transform 0.2s ease-out;
-ms-transition: -ms-transform 0.2s ease-out;
transition: transform 0.2s ease-out; transition: transform 0.2s ease-out;
} }
.post > a.image.featured:hover img { .post > a.image.featured:hover img {
-moz-transform: scale(1.05);
-webkit-transform: scale(1.05);
-ms-transform: scale(1.05);
transform: scale(1.05); transform: scale(1.05);
} }
.post > footer { .post > footer {
display: -moz-flex; display: -moz-flex;
display: -webkit-flex;
display: -ms-flex; display: -ms-flex;
display: flex; display: flex;
-moz-align-items: center; -moz-align-items: center;
-webkit-align-items: center;
-ms-align-items: center; -ms-align-items: center;
align-items: center; align-items: center;
} }
.post > footer .actions { .post > footer .actions {
-moz-flex-grow: 1; -moz-flex-grow: 1;
-webkit-flex-grow: 1;
-ms-flex-grow: 1; -ms-flex-grow: 1;
flex-grow: 1; flex-grow: 1;
} }
@ -2333,6 +2406,8 @@ ul.posts article header > :last-child {
} }
.post > header { .post > header {
-moz-flex-direction: column; -moz-flex-direction: column;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column; flex-direction: column;
padding: 3.75em 3em 1.25em 3em; padding: 3.75em 3em 1.25em 3em;
border-left: 0; border-left: 0;
@ -2345,12 +2420,15 @@ ul.posts article header > :last-child {
} }
.post > header .meta { .post > header .meta {
-moz-align-items: center; -moz-align-items: center;
-webkit-align-items: center;
-ms-align-items: center; -ms-align-items: center;
align-items: center; align-items: center;
display: -moz-flex; display: -moz-flex;
display: -webkit-flex;
display: -ms-flex; display: -ms-flex;
display: flex; display: flex;
-moz-justify-content: center; -moz-justify-content: center;
-webkit-justify-content: center;
-ms-justify-content: center; -ms-justify-content: center;
justify-content: center; justify-content: center;
border-left: 0; border-left: 0;
@ -2376,6 +2454,8 @@ ul.posts article header > :last-child {
} }
.post > header .meta .author { .post > header .meta .author {
-moz-flex-direction: row-reverse; -moz-flex-direction: row-reverse;
-webkit-flex-direction: row-reverse;
-ms-flex-direction: row-reverse;
flex-direction: row-reverse; flex-direction: row-reverse;
margin-bottom: 0; margin-bottom: 0;
} }
@ -2404,18 +2484,24 @@ ul.posts article header > :last-child {
} }
.post > footer { .post > footer {
-moz-align-items: -moz-stretch; -moz-align-items: -moz-stretch;
-webkit-align-items: -webkit-stretch;
-ms-align-items: -ms-stretch; -ms-align-items: -ms-stretch;
align-items: stretch; align-items: stretch;
-moz-flex-direction: column-reverse; -moz-flex-direction: column-reverse;
-webkit-flex-direction: column-reverse;
-ms-flex-direction: column-reverse;
flex-direction: column-reverse; flex-direction: column-reverse;
} }
} }
@media screen and (max-width: 480px) { @media screen and (max-width: 480px) {
.post > header .meta { .post > header .meta {
-moz-align-items: center; -moz-align-items: center;
-webkit-align-items: center;
-ms-align-items: center; -ms-align-items: center;
align-items: center; align-items: center;
-moz-flex-direction: column; -moz-flex-direction: column;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column; flex-direction: column;
} }
.post > header .meta > * { .post > header .meta > * {
@ -2510,10 +2596,16 @@ table.alt tfoot {
border-radius: 10px; border-radius: 10px;
} }
.portfolio_item .image img { .portfolio_item .image img {
-moz-transition: -moz-transform 0.2s ease-out;
-webkit-transition: -webkit-transform 0.2s ease-out;
-ms-transition: -ms-transform 0.2s ease-out;
transition: transform 0.2s ease-out; transition: transform 0.2s ease-out;
width: 100%; width: 100%;
} }
.portfolio_item .image:hover img { .portfolio_item .image:hover img {
-moz-transform: scale(1.05);
-webkit-transform: scale(1.05);
-ms-transform: scale(1.05);
transform: scale(1.05); transform: scale(1.05);
} }
@ -2521,6 +2613,7 @@ table.alt tfoot {
#banner { #banner {
padding: 6em 0 4em 0; padding: 6em 0 4em 0;
display: -moz-flex; display: -moz-flex;
display: -webkit-flex;
display: -ms-flex; display: -ms-flex;
display: flex; display: flex;
} }
@ -2534,16 +2627,22 @@ table.alt tfoot {
} }
#banner .content { #banner .content {
-moz-flex-grow: 1; -moz-flex-grow: 1;
-webkit-flex-grow: 1;
-ms-flex-grow: 1; -ms-flex-grow: 1;
flex-grow: 1; flex-grow: 1;
-moz-flex-shrink: 1;
-webkit-flex-shrink: 1;
-ms-flex-shrink: 1; -ms-flex-shrink: 1;
flex-shrink: 1; flex-shrink: 1;
width: 60%; width: 60%;
} }
#banner .image { #banner .image {
-moz-flex-grow: 0; -moz-flex-grow: 0;
-webkit-flex-grow: 0;
-ms-flex-grow: 0; -ms-flex-grow: 0;
flex-grow: 0; flex-grow: 0;
-moz-flex-shrink: 0;
-webkit-flex-shrink: 0;
-ms-flex-shrink: 0; -ms-flex-shrink: 0;
flex-shrink: 0; flex-shrink: 0;
display: block; display: block;
@ -2555,18 +2654,18 @@ table.alt tfoot {
-moz-object-fit: contain; -moz-object-fit: contain;
-webkit-object-fit: contain; -webkit-object-fit: contain;
-ms-object-fit: contain; -ms-object-fit: contain;
-o-object-fit: contain; object-fit: contain;
object-fit: contain;
-moz-object-position: center; -moz-object-position: center;
-webkit-object-position: center; -webkit-object-position: center;
-ms-object-position: center; -ms-object-position: center;
-o-object-position: center; object-position: center;
object-position: center;
width: 100%; width: 100%;
} }
@media screen and (orientation: portrait) { @media screen and (orientation: portrait) {
#banner { #banner {
-moz-flex-direction: column-reverse; -moz-flex-direction: column-reverse;
-webkit-flex-direction: column-reverse;
-ms-flex-direction: column-reverse;
flex-direction: column-reverse; flex-direction: column-reverse;
} }
#banner h1 br { #banner h1 br {
@ -2574,16 +2673,22 @@ table.alt tfoot {
} }
#banner .content { #banner .content {
-moz-flex-grow: 0; -moz-flex-grow: 0;
-webkit-flex-grow: 0;
-ms-flex-grow: 0; -ms-flex-grow: 0;
flex-grow: 0; flex-grow: 0;
-moz-flex-shrink: 0;
-webkit-flex-shrink: 0;
-ms-flex-shrink: 0; -ms-flex-shrink: 0;
flex-shrink: 0; flex-shrink: 0;
width: 100%; width: 100%;
} }
#banner .image { #banner .image {
-moz-flex-grow: 0; -moz-flex-grow: 0;
-webkit-flex-grow: 0;
-ms-flex-grow: 0; -ms-flex-grow: 0;
flex-grow: 0; flex-grow: 0;
-moz-flex-shrink: 0;
-webkit-flex-shrink: 0;
-ms-flex-shrink: 0; -ms-flex-shrink: 0;
flex-shrink: 0; flex-shrink: 0;
margin: 0 0 4em 0; margin: 0 0 4em 0;
@ -2638,6 +2743,8 @@ table.alt tfoot {
/* Dropdown menu in header */ /* Dropdown menu in header */
#header .dropdown { #header .dropdown {
-moz-flex: 1; -moz-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1; flex: 1;
border-left: solid 1px rgba(160, 160, 160, 0.3); border-left: solid 1px rgba(160, 160, 160, 0.3);
height: inherit; height: inherit;
@ -2696,10 +2803,16 @@ table.alt tfoot {
} }
#header .dropdown ul li:hover > ul { #header .dropdown ul li:hover > ul {
display: -moz-flex; display: -moz-flex;
display: -webkit-flex;
display: -ms-flex; display: -ms-flex;
display: flex; display: flex;
-moz-flex-direction: column; -moz-flex-direction: column;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column; flex-direction: column;
-moz-flex-wrap: nowrap;
-webkit-flex-wrap: nowrap;
-ms-flex-wrap: nowrap;
flex-wrap: nowrap; flex-wrap: nowrap;
min-width: 15em; min-width: 15em;
border: solid 1px rgba(160, 160, 160, 0.3); border: solid 1px rgba(160, 160, 160, 0.3);
@ -2759,6 +2872,7 @@ ul.menulink > li a:hover.tags {
ul.menulink > li > ul, ul.menulink > li > ul,
ul.menulink > li a span { ul.menulink > li a span {
-webkit-transition: color 0.2s ease;
transition: color 0.2s ease; transition: color 0.2s ease;
font-size: 0.9em; font-size: 0.9em;
text-transform: uppercase; text-transform: uppercase;
@ -2766,6 +2880,7 @@ ul.menulink > li a span {
} }
ul.menulink > li a span li { ul.menulink > li a span li {
-webkit-transition: color 0.2s ease;
transition: color 0.2s ease; transition: color 0.2s ease;
font-size: 0.8em; font-size: 0.8em;
font-weight: 400; font-weight: 400;
@ -2786,6 +2901,7 @@ ul.subitem {
ul.subitem > li > ul, ul.subitem > li > ul,
ul.subitem > li a span { ul.subitem > li a span {
-webkit-transition: color 0.2s ease;
transition: color 0.2s ease; transition: color 0.2s ease;
font-size: 0.9em; font-size: 0.9em;
font-weight: 400; font-weight: 400;
@ -2804,6 +2920,7 @@ ul.subitem_hide {
ul.subitem_hide > li > ul, ul.subitem_hide > li > ul,
ul.subitem_hide > li a span { ul.subitem_hide > li a span {
-webkit-transition: color 0.2s ease;
transition: color 0.2s ease; transition: color 0.2s ease;
margin-bottom: 0; margin-bottom: 0;
font-weight: 400; font-weight: 400;
@ -2913,9 +3030,11 @@ body {
#header { #header {
display: -moz-flex; display: -moz-flex;
display: -webkit-flex;
display: -ms-flex; display: -ms-flex;
display: flex; display: flex;
-moz-justify-content: space-between; -moz-justify-content: space-between;
-webkit-justify-content: space-between;
-ms-justify-content: space-between; -ms-justify-content: space-between;
justify-content: space-between; justify-content: space-between;
background-color: #ffffff; background-color: #ffffff;
@ -3013,6 +3132,9 @@ body {
vertical-align: middle; vertical-align: middle;
} }
#header #search { #header #search {
-moz-transition: all 0.5s ease;
-webkit-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease; transition: all 0.5s ease;
max-width: 0; max-width: 0;
opacity: 0; opacity: 0;
@ -3049,10 +3171,16 @@ body {
/* Wrapper */ /* Wrapper */
#wrapper { #wrapper {
display: -moz-flex; display: -moz-flex;
display: -webkit-flex;
display: -ms-flex; display: -ms-flex;
display: flex; display: flex;
-moz-flex-direction: row-reverse; -moz-flex-direction: row-reverse;
-webkit-flex-direction: row-reverse;
-ms-flex-direction: row-reverse;
flex-direction: row-reverse; flex-direction: row-reverse;
-moz-transition: opacity 0.5s ease;
-webkit-transition: opacity 0.5s ease;
-ms-transition: opacity 0.5s ease;
transition: opacity 0.5s ease; transition: opacity 0.5s ease;
margin: 0 auto; margin: 0 auto;
max-width: 100%; max-width: 100%;
@ -3085,6 +3213,7 @@ body.single #wrapper {
/* Main */ /* Main */
#main { #main {
-moz-flex-grow: 1; -moz-flex-grow: 1;
-webkit-flex-grow: 1;
-ms-flex-grow: 1; -ms-flex-grow: 1;
flex-grow: 1; flex-grow: 1;
flex: 1; flex: 1;
@ -3212,7 +3341,13 @@ body.single #footer {
/* Menu */ /* Menu */
#menu { #menu {
-moz-transform: translateX(25em);
-webkit-transform: translateX(25em);
-ms-transform: translateX(25em);
transform: translateX(25em); transform: translateX(25em);
-moz-transition: -moz-transform 0.5s ease, visibility 0.5s;
-webkit-transition: -webkit-transform 0.5s ease, visibility 0.5s;
-ms-transition: -ms-transform 0.5s ease, visibility 0.5s;
transition: transform 0.5s ease, visibility 0.5s; transition: transform 0.5s ease, visibility 0.5s;
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;
background: #ffffff; background: #ffffff;
@ -3243,6 +3378,9 @@ body.single #footer {
} }
#menu .close { #menu .close {
text-decoration: none; text-decoration: none;
-moz-transition: color 0.2s ease-in-out;
-webkit-transition: color 0.2s ease-in-out;
-ms-transition: color 0.2s ease-in-out;
transition: color 0.2s ease-in-out; transition: color 0.2s ease-in-out;
border: 0; border: 0;
color: #838383; color: #838383;
@ -3293,6 +3431,9 @@ body.single #footer {
border-bottom: 0; border-bottom: 0;
} }
#menu .links > li a h3 { #menu .links > li a h3 {
-moz-transition: color 0.2s ease;
-webkit-transition: color 0.2s ease;
-ms-transition: color 0.2s ease;
transition: color 0.2s ease; transition: color 0.2s ease;
font-size: 0.7em; font-size: 0.7em;
} }
@ -3314,6 +3455,9 @@ body.single #footer {
padding-top: 0; padding-top: 0;
} }
body.is-menu-visible #menu { body.is-menu-visible #menu {
-moz-transform: translateX(0);
-webkit-transform: translateX(0);
-ms-transform: translateX(0);
transform: translateX(0); transform: translateX(0);
visibility: visible; visibility: visible;
} }
@ -3321,4 +3465,37 @@ body.is-menu-visible #menu {
#menu > * { #menu > * {
padding: 1.5em; padding: 1.5em;
} }
}
/*
Future2021
Grav Theme by Pedro Moreno
CSS Styles for Page Toc Plugin
*/
.page-toc {
margin-bottom: 2.5em;
}
.page-toc a {
color: inherit;
text-decoration: none;
}
.page-toc ul {
list-style: none;
font-family: "Raleway", Helvetica, sans-serif;
font-size: 1em;
padding: 0.5em 0 0 0;
margin: 0em;
line-height: 2.3em;
}
.page-toc ul li {
padding-left: 0.5em;
font-size: 0.9em;
}
.page-toc-sticky {
height: 25vh;
position: -webkit-sticky;
position: sticky;
top: 3.5em;
} }

File diff suppressed because one or more lines are too long

View file

@ -130,3 +130,14 @@
.ct-widget.ct-ignition { .ct-widget.ct-ignition {
z-index: 10015; z-index: 10015;
} }
/* Modified styles for Notices */
.notices {
padding: 0.2em;
margin: 15px 0;
}
.notices p {
margin: 1em;
}

View file

@ -127,7 +127,7 @@
border-left: solid 4px _palette(border); border-left: solid 4px _palette(border);
font-style: italic; font-style: italic;
margin: 0 0 _size(element-margin) 0; margin: 0 0 _size(element-margin) 0;
padding: (_size(element-margin) / 4) 0 (_size(element-margin) / 4) _size(element-margin); padding: calc(_size(element-margin) / 4) 0 calc(_size(element-margin) / 4) _size(element-margin);
} }
code { code {

View file

@ -10,7 +10,7 @@
// Initialize. // Initialize.
$cols: 12; $cols: 12;
$multipliers: 0, 0.25, 0.5, 1, 1.50, 2.00; $multipliers: 0, 0.25, 0.5, 1, 1.50, 2.00;
$unit: 100% / $cols; $unit: calc(100% / $cols);
// Suffixes. // Suffixes.
$suffixes: null; $suffixes: null;