h1,
p,
ul,
ol,
img,
blockquote {
margin: 0;
} main#blog h2 {
margin: 0 0 var(--spacing-lg) 0;
letter-spacing: normal;
}
article.home-item {
gap: var(--spacing-md);
}
main#category p {
width: 70ch;
}
@media (max-width: 768px) {
main#category p {
width: 100%;
}
}
main#category .search-form {
margin: var(--spacing-sm) 0 0 0;
}
.pagination {
display: flex;
justify-content: center;
text-transform: none;
font-family: "Space Grotesk";
font-size: var(--font-size-nav-toggle);
line-height: 1.2;
margin: var(--spacing-xxxl) 0 0 0;
font-weight: 500;
}
.page-numbers {
color: var(--regular-gray);
margin: var(--spacing-sm);
border-bottom: 2px solid transparent;
text-decoration: none;
transition: all 500ms;
}
.page-numbers.current,
.page-numbers:hover {
color: var(--dark-gray);
border-bottom: 2px solid var(--mars);
}
select {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
background-color: transparent;
border: none;
}
input,
select {
background-color: var(--white);
border: var(--border);
border-radius: var(--border-radius);
box-shadow: var(--box-shadow);
font-family: Garamond, Georgia, serif;
font-size: var(--font-size-body);
line-height: 1.5;
padding: 0.5rem 0.75rem;
transition: all 150ms ease-in-out;
width: 100%;
&:focus-visible {
box-shadow: none;
outline: var(--border);
transform: translate(2px, 2px);
}
&::placeholder {
color: var(--regular-gray);
}
}
select {
background: url(//www.uifrommars.com/wp-content/themes/uifrommars-five/assets/images/icon/arrow.svg) no-repeat center right
0.75rem;
}
button {
background-color: var(--mars);
border: var(--border);
border-radius: var(--border-radius);
box-shadow: var(--box-shadow);
cursor: pointer;
padding: 0 var(--spacing-lg);
margin: 0;
text-transform: uppercase;
color: var(--white);
-webkit-transition: 0.3s;
transition: 0.3s;
height: 48px;
width: auto;
&:hover {
background-color: var(--dark-mars);
}
&:focus-visible {
box-shadow: inset 0 0 0 2px var(--white), var(--box-shadow);
outline: 1.5px solid var(--dark-gray);
}
&:active {
background-color: var(--dark-mars);
box-shadow: none;
transform: translate(2px, 2px);
}
}
header,
main,
aside,
footer {
display: flex;
flex-flow: row wrap;
justify-content: center;
}
header {
width: 100vw;
position: relative;
max-width: 100%;
border-bottom: var(--border);
margin-bottom: var(--spacing-huge);
}
@media (max-width: 768px) {
header {
margin-bottom: var(--spacing-xl);
}
}
main,
aside {
width: 100vw;
max-width: 100%;
flex: 1;
display: flex; }
.wrapper {
display: flex;
flex-flow: row wrap;
justify-content: center;
width: 100%;
padding-inline: var(--spacing-lg);
max-width: 1232px;
}
header > .wrapper {
padding-block: var(--spacing-lg);
align-items: center;
justify-content: space-between;
}
aside > .wrapper {
justify-content: left;
}
@media (max-width: 768px) {
.wrapper {
flex-flow: column nowrap;
}
footer > .wrapper,
header > .wrapper {
flex-flow: row nowrap;
}
}
section.full-width {
display: flex;
flex-flow: column wrap;
width: 100%;
}
#logo {
display: flex;
align-items: center;
height: auto;
}
@media (max-width: 768px) {
#logo img {
width: 100px;
}
}
#logo a {
display: flex;
}
#extra {
display: flex;
align-items: center;
gap: var(--spacing-xl);
}
@media (max-width: 768px) {
#extra {
gap: var(--spacing-lg);
}
}
#header-newsletter {
background-color: var(--regular-gray);
border: 1px solid var(--dark-gray);
border-radius: var(--border-radius);
box-shadow: var(--box-shadow);
color: var(--warm);
padding-block: var(--spacing-xs);
padding-inline: var(--spacing-sm);
text-decoration: none;
-webkit-transition: 0.3s;
transition: 0.3s;
&:active {
background-color: var(--dark-mars);
box-shadow: none;
transform: translate(3px, 3px);
}
&:hover {
background-color: var(--light-gray);
color: var(--dark-gray);
}
&:focus-visible {
box-shadow: inset 0 0 0 2px var(--white), var(--box-shadow);
outline: 1.5px solid var(--dark-gray);
}
}
@media (max-width: 768px) {
#header-newsletter {
display: none;
}
}
#search-icon {
display: flex;
align-items: center;
height: auto;
cursor: pointer;
}
.content-narrow {
max-width: 43.75rem;
}
article {
display: flex;
flex-direction: column;
}
.page-title {
width: 100%;
margin-bottom: var(--spacing-huge);
}
.page-title p {
max-width: 60ch;
}
@media (max-width: 768px) {
.page-title {
margin-bottom: var(--spacing-xxl);
}
}
img.size-blog-thumbnails {
width: 100%;
height: auto;
border-radius: var(--border-radius);
}
a.category-link {
font-family: "Space Grotesk";
font-size: var(--font-size-pill-xs);
font-weight: 500;
color: var(--mars);
text-transform: uppercase;
text-decoration: none;
transition: all 500ms;
}
a.category-link:hover {
text-decoration: underline;
}
.wp-block-video {
margin: var(--spacing-lg) 0;
}
footer {
flex: 0;
background-color: var(--light-gray);
width: 100vw;
max-width: 100%;
margin: var(--spacing-huge) 0 0 0;
padding: var(--spacing-xxl) 0;
} #footer-container {
display: grid;
width: 100%;
grid-template-columns: repeat(4, 1fr);
grid-template-rows: auto;
grid-gap: var(--spacing-xl);
}
.credits {
display: flex;
flex-flow: column nowrap;
}
@media (max-width: 768px) {
#footer-container {
grid-template-columns: repeat(1, 1fr);
}
}
.footer-nav {
display: flex;
flex-direction: column;
width: fit-content;
justify-self: flex-end;
}
@media (max-width: 768px) {
.footer-nav {
width: inherit;
}
}
.category-list-footer {
-moz-column-count: 2;
-moz-column-gap: var(--spacing-xl);
-webkit-column-count: 2;
-webkit-column-gap: var(--spacing-xl);
column-count: 2;
column-gap: var(--spacing-xl);
}
section.inicio-header {
display: flex;
flex-flow: row nowrap;
justify-content: space-between;
width: 100%;
margin-bottom: var(--spacing-huge);
}
section.inicio-header:last-of-type {
gap: 96px;
}
@media (max-width: 1024px) {
section.inicio-header {
flex-flow: column nowrap;
gap: var(--spacing-xxl);
}
}
.newsletter {
flex: 0 1 50%;
height: 295px;
order: 1;
display: flex;
flex-flow: column wrap;
justify-content: center;
}
.newsletter > h1 {
max-width: 75ch;
}
@media (max-width: 1024px) {
.newsletter {
height: auto;
order: 2;
}
}
mark {
font-family: "Space Grotesk";
margin: var(--spacing-xxxl) 0 0 0;
font-weight: 700;
color: var(--mars);
padding: 2px 4px;
background-color: rgba(238, 62, 43, 0.1);
text-transform: uppercase;
border-radius: var(--border-radius);
}
.inicio-svg {
flex: 0 1 50%;
height: auto;
text-align: center;
order: 2;
display: flex;
justify-content: end;
align-self: center;
}
@media (max-width: 1024px) {
.inicio-svg {
order: 1;
margin: 0;
max-width: 100%;
justify-content: center;
}
.inicio-svg img {
width: 340px;
height: 192px;
}
}
.content-grid h2 {
display: inline-block;
margin-block: 0;
}
.content-grid h2 a {
color: var(--dark-gray);
text-decoration: none;
margin: 0 0 var(--spacing-md) 0;
transition: all 500ms;
}
.content-grid h2 a:hover,
.content-grid h2:hover::after {
color: var(--regular-gray);
}
article.category-item {
gap: var(--spacing-md);
}
#home-categories section {
display: flex;
flex-direction: column;
gap: 24px;
}
#home-categories section hr {
display: block;
width: 4rem;
background-color: var(--mars);
height: 1px;
border: none;
margin: 0;
}
#home-categories section hr:last-of-type {
display: block;
background-color: transparent;
}
#home-categories .size-blog-thumbnails {
margin: 0;
}
.content-grid {
display: inline-grid;
grid-auto-rows: auto;
grid-template-columns: 1fr 1fr 1fr;
gap: 6rem 2.8125rem;
}
@media (min-width: 769px) and (max-width: 1200px) {
.content-grid {
grid-template-columns: 1fr 1fr;
}
}
@media (max-width: 768px) {
.content-grid {
display: grid;
gap: 3rem 0;
justify-items: center;
grid-template-columns: 1fr;
}
}
#youtube-grid {
border-radius: var(--border-radius);
background-color: var(--light-gray);
display: flex;
gap: var(--spacing-xl);
margin-top: var(--spacing-huge);
margin-bottom: var(--spacing-xxl);
padding: var(--spacing-xxl);
@media (max-width: 1024px) {
padding: var(--spacing-xl);
}
.content-grid {
gap: var(--spacing-xl);
}
}
#youtube-header {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
@media (max-width: 375px) {
flex-direction: column;
align-items: start;
gap: var(--spacing-s);
}
h2 {
margin: 0;
}
}
.youtube-item {
display: flex;
flex-direction: column;
gap: var(--spacing-lg);
@media (max-width: 375px) {
gap: var(--spacing-s);
}
}
.youtube-item img {
border-radius: var(--border-radius);
@media (max-width: 1024px) {
width: 100%;
height: auto;
}
}
#home .newsletter-post {
max-width: 75ch;
}
ul,
ol {
margin-bottom: var(--spacing-lg);
padding: 0;
}
.content-narrow ul {
list-style-type: none;
}
.content-narrow ol li::marker {
color: var(--mars);
}
.content-narrow blockquote ol li::marker {
color: var(--regular-gray);
}
.content-narrow li {
font-family: "Charter-Regular";
font-size: var(--font-size-body);
line-height: 1.3;
margin-bottom: var(--spacing-md);
margin-left: var(--spacing-lg);
position: relative;
&:last-child {
margin-bottom: 0;
}
}
@media (max-width: 768px) {
.content-narrow li {
font-size: var(--font-size-body-mobile);
}
}
.content-narrow ul li ul {
margin-top: var(--spacing-md);
}
.content-narrow li ol li {
padding: var(--spacing-md) 0 0 var(--spacing-md);
}
.content-narrow ul > li::before,
.content-narrow ul > li ul li::before {
position: absolute;
left: 0;
height: 20px;
width: 20px;
transform: translate(-135%, 15%);
}
.content-narrow ul > li::before,
.content-narrow ul > li ul li::before {
content: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 4L10.59 5.41L16.17 11H4V13H16.17L10.59 18.59L12 20L20 12L12 4Z' fill='%23EE3E2B'/%3E%3C/svg%3E%0A");
}
.content-narrow ul > li ul li::before {
content: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 14C13.1046 14 14 13.1046 14 12C14 10.8954 13.1046 10 12 10C10.8954 10 10 10.8954 10 12C10 13.1046 10.8954 14 12 14Z' fill='%23EE3E2B'/%3E%3C/svg%3E%0A");
}
#mailerlite-mars {
width: 568px;
}
@media (max-width: 768px) {
#mailerlite-mars {
width: 100%;
}
}
#mailerlite-mars > #mlb2-7142255.ml-form-embedContainer .ml-form-align-center {
text-align: left;
}
#mailerlite-mars
> #mlb2-7142255.ml-form-embedContainer
.ml-form-embedWrapper
.ml-form-embedBody
.ml-form-horizontalRow {
display: flex;
}
.ml-form-formContent.horozintalForm
.ml-form-horizontalRow
.ml-input-horizontal {
width: 100% !important;
float: none;
}
#mailerlite-mars
> #mlb2-7142255.ml-form-embedContainer
.ml-form-embedWrapper.embedForm {
width: 100%;
max-width: 100%;
}
#mailerlite-mars
> #mlb2-7142255.ml-form-embedContainer
.ml-form-embedWrapper
.ml-form-embedBody.ml-form-embedBodyHorizontal {
padding: 0;
}
#mailerlite-mars
> #mlb2-7142255.ml-form-embedContainer
.ml-form-embedWrapper
.ml-form-embedBody
.ml-form-horizontalRow
input[type="email"] {
background-color: var(--white);
border: var(--border);
border-radius: var(--border-radius);
box-shadow: var(--box-shadow);
font-family: Garamond, Georgia, serif;
font-size: var(--font-size-body);
line-height: 1.5;
padding: 0.5rem 0.75rem;
transition: all 150ms ease-in-out;
&:focus-visible {
box-shadow: none;
outline: var(--border);
transform: translate(2px, 2px);
}
&::placeholder {
color: var(--regular-gray);
}
}
#mailerlite-mars
> #mlb2-7142255.ml-form-embedContainer
.ml-form-embedWrapper
.ml-form-embedBody
.ml-form-horizontalRow
button,
#mailerlite-mars > #mlb2-7142255 .ml-mobileButton-horizontal button {
background-color: var(--mars);
border: var(--border);
border-radius: var(--border-radius); box-shadow: var(--box-shadow) !important;
cursor: pointer;
padding: 0 var(--spacing-md) !important;
margin: 0;
color: var(--white);
transition: all 150ms ease-in-out;
height: 46.5px;
text-transform: uppercase !important;
font-family: "Space Grotesk";
font-size: var(--font-size-nav) !important;
letter-spacing: 0.01rem !important;
line-height: 1;
font-weight: 700;
width: auto;
&:hover {
border: var(--border) !important;
background-color: var(--dark-mars);
}
&:active {
background-color: var(--dark-mars);
box-shadow: none !important;
transform: translate(2px, 2px);
}
&:focus-visible {
box-shadow: inset 0 0 0 2px var(--white), var(--box-shadow) !important;
outline: 1.5px solid var(--dark-gray) !important;
}
} #mailerlite-mars > #mlb2-7142255.ml-form-embedContainer button {
font-family: "Space Grotesk" !important;
text-transform: uppercase !important;
letter-spacing: 0.01rem !important;
} #mailerlite-mars
> #mlb2-7142255.ml-form-embedContainer
.ml-form-embedWrapper
.ml-form-embedBody
.ml-form-checkboxRow
label
a {
text-decoration: var(--text-decoration-line) var(--text-decoration-style)
var(--dark-gray) var(--text-decoration-thickness);
}
#mailerlite-mars
> #mlb2-7142255.ml-form-embedContainer
.ml-form-embedWrapper
.ml-form-embedBody
.ml-form-checkboxRow
label
a:hover {
color: var(--regular-gray);
text-decoration: var(--text-decoration-line) var(--text-decoration-style)
var(--regular-gray) var(--text-decoration-thickness);
}
#mailerlite-mars
> #mlb2-7142255.ml-form-embedContainer
.ml-form-embedWrapper
.ml-form-embedBody
.ml-form-checkboxRow {
margin: 0;
}
@media (max-width: 400px) {
#mailerlite-mars
> #mlb2-7142255.ml-form-embedContainer
.ml-form-embedWrapper
.ml-form-embedBody
.ml-form-checkboxRow {
margin-bottom: var(--spacing-md);
}
}
#mailerlite-mars
> #mlb2-7142255.ml-form-embedContainer
.ml-form-embedWrapper
.ml-form-embedBody
.ml-form-checkboxRow
.label-description::before {
border: var(--border) !important;
width: 20px;
height: 20px;
border-radius: var(--border-radius) !important;
box-shadow: var(--box-shadow);
}
#mailerlite-mars
> #mlb2-7142255.ml-form-embedContainer
.ml-form-embedWrapper
.ml-form-embedBody
.ml-form-checkboxRow
.label-description {
cursor: pointer;
padding-left: 8px;
padding-top: 3px;
}
#mailerlite-mars
> #mlb2-7142255.ml-form-embedContainer
.ml-form-embedWrapper
.ml-form-embedBody
.ml-form-checkboxRow
.label-description
p {
font-size: var(--font-size-nav) !important;
}
#mailerlite-mars
> #mlb2-7142255.ml-form-embedContainer
.ml-form-embedWrapper
.ml-form-embedBody
.ml-form-checkboxRow
.label-description::after {
border: var(--border) !important;
width: 20px;
height: 20px;
background-color: var(--warm);
content: "";
}
#mailerlite-mars
> #mlb2-7142255.ml-form-embedContainer
.ml-form-embedWrapper
.ml-form-embedBody
.ml-form-checkboxRow
input[type="checkbox"]:checked
~ .label-description::after {
background-image: url("data:image/svg+xml,%3csvg xmlns%3d'http%3a%2f%2fwww.w3.org%2f2000%2fsvg' viewBox%3d'0%200%208%208'%3e%3cpath fill%3d'%23EE3E2B' d%3d'M6.564.75l-3.59%203.612-1.538-1.55L0%204.26%202.974%207.25%208%202.193z'/%3e%3c/svg%3e") !important;
}
#marquee {
display: flex;
justify-content: center;
overflow-x: clip;
padding-block: var(--spacing-s);
background-color: var(--dark-gray);
position: relative;
}
.marquee-element {
animation: left-to-right 100s linear infinite;
font-family: "Space Grotesk";
font-size: var(--font-size-small);
font-weight: 500;
text-transform: uppercase;
white-space: nowrap;
}
#marquee:hover .marquee-element {
animation-play-state: paused;
}
.marquee-element::before {
content: "✦";
padding-inline: var(--spacing-xl);
color: var(--regular-gray);
}
.marquee-link {
display: flex;
align-items: center;
text-decoration: none;
color: var(--medium-gray);
transition: color 0.35s ease;
}
.marquee-link:hover {
color: var(--white);
}
@keyframes left-to-right {
from {
transform: translateX(0%);
}
to {
transform: translateX(100%);
}
}
#marquee-close-gradient {
position: absolute;
top: 0;
right: 0;
height: 100%;
width: var(--spacing-xhuge);
background-image: linear-gradient(to left, var(--dark-gray) 30%, transparent);
z-index: 1;
}
#close-marquee {
position: absolute;
top: 54%;
padding: 0;
right: var(--spacing-md);
transform: translateY(-50%);
font-size: 1.5rem;
cursor: pointer;
z-index: 2;
}
#close-marquee:hover {
box-shadow: none;
opacity: 0.65;
}
nav {
display: flex;
align-items: center;
flex: 1 1 80%;
}
nav > ul {
flex: 1 1 auto;
list-style-type: none;
display: flex;
justify-content: flex-end;
align-items: center;
padding: 0;
margin: 0;
}
nav > ul > li {
margin: 0 var(--spacing-md) 0 0;
}
nav > ul > li:last-of-type {
margin: 0 0 0 0;
}
nav > ul > li > a::after {
content: "";
display: block;
width: 0;
height: 1px;
background: var(--dark-gray);
transition: width 0.5s;
}
nav > ul > li > a:hover::after {
width: 100%;
}
nav > ul > li.current-menu-item a {
border-bottom: var(--border);
}
span.nav-toggle {
display: none;
z-index: 1;
}
@media (max-width: 768px) {
span.nav-toggle {
font-size: var(--font-size-nav-toggle);
display: flex;
height: auto;
border: 0;
border-radius: 0;
width: auto;
padding: 0;
}
span.nav-toggle:hover {
-webkit-box-shadow: 0 0 0 0;
box-shadow: 0 0 0 0;
color: var(--dark-gray);
}
.mobile-nav-menu {
transition: height 500ms ease;
overflow: hidden;
display: flex;
position: fixed;
top: 110px;
z-index: 9;
left: 0;
width: 100vw;
height: 0;
background-color: var(--warm);
}
.mobile-nav-menu:not(.open) {
display: none;
}
nav {
font-size: var(--font-size-nav-mobile);
line-height: 1;
}
nav > ul {
display: flex;
flex-direction: column;
margin-inline: var(--spacing-xl);
margin-block: 0;
padding: 0;
height: calc(100vh - 110px);
justify-content: center;
align-items: flex-start;
}
nav > ul > li:first-of-type {
margin: 0 0 0 0;
}
nav > ul > li,
nav > ul > li:last-of-type {
margin: var(--spacing-xxl) 0 0 0;
}
} .hamburger {
padding: 0;
display: flex;
align-items: center;
cursor: pointer;
transition-property: opacity, filter;
transition-duration: 0.15s;
transition-timing-function: linear;
font: inherit;
color: inherit;
text-transform: none;
background-color: transparent;
border: 0;
margin: 0;
overflow: visible;
}
.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner::before,
.hamburger.is-active .hamburger-inner::after {
background-color: #000;
}
.hamburger-box {
width: 24px;
height: 24px;
display: inline-block;
position: relative;
}
.hamburger-inner {
display: block;
top: 50%;
margin-top: -2px;
}
.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
width: 24px;
height: 2px;
background-color: #000;
position: absolute;
transition-property: transform;
transition-duration: 0.15s;
transition-timing-function: ease;
}
.hamburger-inner::before,
.hamburger-inner::after {
content: "";
display: block;
}
.hamburger-inner::before {
top: -8px;
}
.hamburger-inner::after {
bottom: -8px;
}
.hamburger--squeeze .hamburger-inner {
transition-duration: 0.075s;
transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.hamburger--squeeze .hamburger-inner::before {
transition:
top 0.075s 0.12s ease,
opacity 0.075s ease;
}
.hamburger--squeeze .hamburger-inner::after {
transition:
bottom 0.075s 0.12s ease,
transform 0.075s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.hamburger--squeeze.is-active .hamburger-inner {
transform: rotate(45deg);
transition-delay: 0.12s;
transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}
.hamburger--squeeze.is-active .hamburger-inner::before {
top: 0;
opacity: 0;
transition:
top 0.075s ease,
opacity 0.075s 0.12s ease;
}
.hamburger--squeeze.is-active .hamburger-inner::after {
bottom: 0;
transform: rotate(-90deg);
transition:
bottom 0.075s ease,
transform 0.075s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
}
main#page .alignleft {
max-width: 125px;
height: auto;
float: left;
margin: 0 1em 0 0;
}
main#page hr {
margin: var(--spacing-xxxl) auto;
width: 75%;
display: flex;
}
dialog[open] {
opacity: 1;
transform: scaleY(1);
} dialog {
display: flex;
flex-direction: column;
width: 400px;
gap: 16px;
border: 0;
border-radius: 4px;
box-shadow: 0px 4px 24px rgb(0 0 0 / 50%);
opacity: 0;
transform: scaleY(0);
transition: opacity 0.4s ease-out;
}
@media (max-width: 768px) {
dialog {
width: 90vw;
}
}  @starting-style {
dialog[open] {
opacity: 0;
transform: scaleY(0);
}
} dialog::backdrop {
background-color: rgb(0 0 0 / 0%);
backdrop-filter: blur(2px);
transition: background-color 1s ease-out, backdrop-filter 1s ease-out;
}
dialog[open]::backdrop {
background-color: rgb(0 0 0 / 50%);
} @starting-style {
dialog[open]::backdrop {
background-color: rgb(0 0 0 / 0%);
}
} #dialog-header {
display: flex;
justify-content: space-between;
align-items: center;
}
#dialog-header h3 {
margin: 0;
}
#dialog-icon {
cursor: pointer;
}
form.search-form {
display: flex;
flex-direction: column;
gap: 16px;
}
ul + .wp-block-image img {
margin-top: 0;
}
.line {
background-color: var(--mars);
height: 2px;
border-radius: 0;
width: 0;
z-index: 999;
position: fixed;
top: 0;
}
.wp-video {
width: 100% !important;
max-width: 100%;
height: auto;
margin: var(--spacing-lg) 0 0 0;
position: relative;
z-index: 0;
}
.wp-caption {
width: 100% !important;
}
article.single-post {
gap: 0;
}
.single-post h4 {
margin: 0;
}
.single-post img {
width: 100%;
height: auto;
border-radius: var(--border-radius);
}
.single-post .size-post-thumbnails {
margin-bottom: var(--spacing-lg);
}
.single-post > ul {
margin-bottom: var(--spacing-lg);
}
.single-post > .category {
margin-bottom: var(--spacing-md);
}
.single-post .pill {
display: flex;
gap: var(--spacing-sm);
}
.single-post .pill a,
.content-grid .pill a {
display: inline-block;
border: var(--border);
border-radius: 4px;
text-decoration: none;
text-transform: uppercase;
color: var(--dark-gray);
padding: 4px var(--spacing-xs);
transition: all 300ms ease-in-out;
line-height: 1.25;
}
.single-post .pill a:hover,
.content-grid .pill a:hover {
border-color: var(--mars);
color: var(--mars);
}
.single-post .post-meta {
display: flex;
flex-flow: row wrap;
gap: var(--spacing-md);
margin-bottom: var(--spacing-xxl);
}
@media (max-width: 768px) {
.single-post .post-meta {
gap: var(--spacing-sm);
margin-bottom: var(--spacing-xl);
}
}
.single-post hr {
background-color: var(--regular-gray);
border-radius: var(--border-radius);
height: 1px;
border: none;
margin: var(--spacing-xxxl) auto;
width: 75%;
display: flex;
}
span.meta {
color: var(--regular-gray);
}
.author,
.reading-time {
display: flex;
align-items: center;
gap: var(--spacing-xs);
}
.author > img.avatar {
width: 20px;
height: 20px;
border-radius: 50%;
margin: 0;
}
.reading-time > img.icon {
width: 20px;
height: 20px;
margin: 0;
} #share-article {
display: flex;
flex-direction: column;
margin-top: var(--spacing-lg);
gap: var(--spacing-sm);
}
#copy-url-btn {
background-color: var(--white);
display: flex;
color: var(--dark-gray);
padding: var(--spacing-xs) var(--spacing-sm);
flex-direction: row;
align-self: flex-start;
align-items: center;
gap: var(--spacing-xs);
}
#copy-url-btn:hover {
background-color: var(--warm);
}
#copy-url-btn img {
width: 18px;
height: 18px;
margin: 0;
} .newsletter-post {
display: flex;
flex-flow: column;
width: 81%;
margin: 0 auto;
text-align: center;
align-items: center;
}
@media (max-width: 768px) {
.newsletter-post {
width: 100%;
}
} .author-heading {
display: flex;
flex-flow: row;
gap: var(--spacing-lg);
}
.author-name-position {
display: flex;
flex-flow: column;
justify-content: center;
gap: var(--spacing-xs);
}
.author-photo img {
width: 64px;
height: 64px;
border-radius: 50%;
} h2.related-posts {
margin: 0 0 var(--spacing-xxl) 0;
}
@media (max-width: 768px) {
h2.related-posts {
margin: 0 0 var(--spacing-lg) 0;
}
}
h2.author-related-posts {
margin: 0 0 var(--spacing-lg) 0;
}
p.author-related-posts {
margin: 0 0 var(--spacing-xxl) 0;
}
@media (max-width: 768px) {
.related-post-structure {
flex-direction: row;
width: 100%;
justify-content: space-between;
}
.related-post-item {
display: flex;
flex-direction: column;
order: 1;
}
.related-post-image {
order: 2;
}
.related-post-image img {
width: 80px;
height: 80px;
object-fit: cover;
}
}
ol.toc {
border: 1px solid var(--medium-gray);
background-color: transparent;
padding: var(--spacing-lg) !important;
margin: var(--spacing-xl) 0;
}
ol.toc::before {
content: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='5' y='6' width='10' height='2' rx='1' fill='%23333030'/%3E%3Crect x='1' y='6' width='3' height='2' rx='1' fill='%23333030'/%3E%3Crect x='1' y='10' width='3' height='2' rx='1' fill='%23333030'/%3E%3Crect x='1' y='14' width='3' height='2' rx='1' fill='%23333030'/%3E%3Crect x='5' y='10' width='10' height='2' rx='1' fill='%23333030'/%3E%3Crect x='5' y='14' width='10' height='2' rx='1' fill='%23333030'/%3E%3C/svg%3E%0A")
"\00a0Índice de contenidos";
display: inline-flex;
padding-bottom: var(--spacing-md);
}
.single-post ol.toc li::marker {
color: var(--regular-gray);
}
ol.toc a,
ol.toc li::marker {
font-size: var(--font-size-toc);
line-height: 1.25;
}
ol.toc > li > a,
ol.toc > li > ol > li > a {
color: var(--regular-gray);
text-decoration: none;
border-bottom: 0px dotted var(--regular-gray);
transition: all 250ms;
}
ol.toc > li > a:hover,
ol.toc > li > ol > li > a:hover {
color: var(--dark-gray);
text-decoration: var(--text-decoration-line) var(--text-decoration-style)
var(--dark-gray) var(--text-decoration-thickness);
}
ol.toc > li {
margin-bottom: 0;
padding: 0 0 var(--spacing-sm) 0;
}
ol.toc > li:last-child {
padding: 0 0 0 0;
}
ol.toc li ol li {
padding: var(--spacing-sm) 0 0 0;
margin-block: 0;
}
ol.toc li ol {
margin-bottom: 0;
}
@font-face {
font-family: "Charter-Regular";
src: url(//www.uifrommars.com/wp-content/themes/uifrommars-five/assets/fonts/charter_regular.woff2) format("woff2");
font-weight: normal;
font-style: normal;
font-stretch: normal;
font-display: swap;
}
@font-face {
font-family: "Charter-Italic";
src: url(//www.uifrommars.com/wp-content/themes/uifrommars-five/assets/fonts/charter_italic.woff2) format("woff2");
font-weight: normal;
font-style: italic;
font-stretch: normal;
font-display: swap;
}
@font-face {
font-family: "Charter-Bold";
src: url(//www.uifrommars.com/wp-content/themes/uifrommars-five/assets/fonts/charter_bold.woff2) format("woff2");
font-weight: bold;
font-style: normal;
font-stretch: normal;
font-display: swap;
}
@font-face {
font-family: "Charter-BoldItalic";
src: url(//www.uifrommars.com/wp-content/themes/uifrommars-five/assets/fonts/charter_bold_italic.woff2) format("woff2");
font-weight: bold;
font-style: italic;
font-stretch: normal;
font-display: swap;
}
@font-face {
font-display: swap;
font-family: Space Grotesk;
font-style: normal;
font-weight: 100 1000;
src: url(//www.uifrommars.com/wp-content/themes/uifrommars-five/assets/fonts/SpaceGroteskVF.woff2) format("woff2"),
local("Consolas"), local("Courier New"), local("Courier"),
local("monospace");
}
@font-face {
font-display: swap;
font-family: "Iosevka Curly";
font-style: normal;
font-weight: 500;
src: url(//www.uifrommars.com/wp-content/themes/uifrommars-five/assets/fonts/iosevka-curly.woff2) format("woff2"),
local("Consolas"), local("Courier New"), local("Courier"),
local("monospace");
}
h1 {
font-family: "Space Grotesk";
font-size: var(--font-size-heading-1);
line-height: 1.1;
letter-spacing: -0.05rem;
margin-bottom: var(--spacing-lg);
font-weight: 700;
}
@media (max-width: 768px) {
h1 {
line-height: 1.1;
font-size: var(--font-size-heading-1-mobile);
}
}
h2 {
font-family: "Space Grotesk";
font-size: var(--font-size-heading-2);
line-height: 1.1;
letter-spacing: -0.05rem;
margin-bottom: var(--spacing-lg);
font-weight: 700;
}
h2 em {
letter-spacing: -0.5px;
}
@media (max-width: 768px) {
h2 {
font-size: var(--font-size-heading-2-mobile);
}
}
h3 {
font-family: "Space Grotesk";
font-size: var(--font-size-heading-3);
line-height: 1.2;
margin-bottom: var(--spacing-lg);
font-weight: 500;
}
@media (max-width: 768px) {
h3 {
font-size: var(--font-size-heading-3-mobile);
}
} .post-title-home,
main#category .post-title-home {
font-family: "Charter-Bold";
font-size: var(--font-size-body);
margin-block: 0;
}
.category-item .post-title-home:nth-child(2n + 1) {
font-family: "Charter-Regular";
} .post-title-home > a {
color: var(--dark-gray);
text-decoration: none;
border-bottom: 1px solid transparent;
transition: all 500ms;
}
.post-title-home > a:hover {
color: var(--regular-gray);
text-decoration: none;
border-bottom: 1px solid var(--regular-gray);
}
h4 {
margin-bottom: var(--spacing-lg);
}
p {
font-family: "Charter-Regular";
font-size: var(--font-size-body);
line-height: 1.3;
margin-bottom: var(--spacing-lg);
}
@media (max-width: 768px) {
p {
font-size: var(--font-size-body-mobile);
line-height: 1.4;
}
}
strong {
font-family: "Charter-Bold";
}
em,
i {
font-family: "Charter-Italic";
}
strong > em,
em > strong {
font-family: "Charter-BoldItalic";
}
.content-narrow a {
color: var(--mars);
text-underline-position: var(--text-underline-position);
text-decoration-thickness: var(--text-decoration-thickness);
text-underline-offset: var(--text-underline-offset);
text-decoration-style: var(--text-decoration-style);
transition: all 500ms;
}
.content-narrow a:hover {
color: var(--regular-gray);
text-decoration: var(--text-decoration-line) var(--text-decoration-style)
var(--regular-gray) var(--text-decoration-thickness);
}
span.meta a {
color: var(--regular-gray);
text-decoration: var(--text-decoration-line) var(--text-decoration-style)
var(--regular-gray) var(--text-decoration-thickness);
}
span.meta a:hover {
color: var(--dark-gray);
text-decoration: var(--text-decoration-line) var(--text-decoration-style)
var(--regular-gray) var(--text-decoration-thickness);
}
nav,
.nav,
input[type="submit"],
button,
ol.toc::before,
#share-article > h4,
.read-more > a,
#header-newsletter {
font-family: "Space Grotesk";
font-size: var(--font-size-nav);
line-height: 1;
text-transform: uppercase;
font-weight: 600;
}
@media (max-width: 768px) {
nav {
font-size: var(--font-size-nav-mobile);
}
}
.pill {
display: flex;
gap: var(--spacing-sm);
font-family: "Space Grotesk";
font-size: var(--font-size-pill);
line-height: 1;
font-weight: 500;
}
.pill a {
display: inline-block;
border: var(--border);
border-radius: 4px;
text-decoration: none;
text-transform: uppercase;
color: var(--dark-gray);
padding: 4px var(--spacing-xs);
transition: all 300ms ease-in-out;
}
.pill a:hover {
border-color: var(--mars);
color: var(--mars);
}
.footnotes,
.wp-caption-text,
.wp-element-caption {
font-family: -apple-system, "BlinkMacSystemFont", "Segoe UI", "Roboto",
"Helvetica", "Arial", sans-serif;
font-size: var(--font-size-footnotes);
line-height: 1.25;
}
.wp-block-code code,
code {
font-family: "Iosevka Curly", monospace;
font-size: var(--font-size-body-mobile);
font-style: italic;
font-weight: 500;
padding: 0.15rem 0.35rem;
position: relative;
top: -0.025em;
background-color: var(--light-gray);
border-radius: var(--border-radius);
text-wrap: pretty;
}
@media (max-width: 768px) {
.footnotes,
.wp-caption-text,
.wp-element-caption {
font-size: var(--font-size-footnotes-mobile);
}
}
.wp-caption-text,
.wp-element-caption {
color: var(--regular-gray);
text-align: left;
margin: var(--spacing-xs) 0 var(--spacing-lg) 0;
& a {
color: var(--dark-gray);
}
}
small {
color: var(--regular-gray);
font-family: "Charter-Regular";
font-size: var(--font-size-small);
line-height: 1.25;
}
.meta {
font-family: "Charter-Regular";
font-size: var(--font-size-meta);
line-height: 1.25;
}
blockquote {
color: var(--regular-gray);
border-left: 3px solid var(--regular-gray);
margin-bottom: var(--spacing-lg);
padding-left: var(--spacing-md);
}
blockquote p:first-child,
blockquote ul,
blockquote ol {
margin: 0;
} nav > ul > li > a {
color: var(--dark-gray);
text-transform: uppercase;
text-decoration: none;
border-bottom: 1px solid transparent;
transition: color 0.2s ease-in-out, border-bottom 0.2s ease-in-out;
}
#footer-container small {
display: inline-block;
margin: var(--spacing-sm) 0 0 0;
}
.footer-nav ul {
margin: 0;
padding: 0;
list-style-type: none;
}
.nav {
display: inline-block;
margin-bottom: var(--spacing-sm);
}
.footer-nav ul > li {
margin-bottom: var(--spacing-xs);
}
.footer-nav ul > li > a {
color: var(--regular-gray);
text-decoration: none;
border-bottom: 1px solid transparent;
transition: all 500ms;
}
.footer-nav ul > li > a:hover {
color: var(--dark-gray);
text-decoration: none;
border-bottom: var(--border);
}
:root { --dark-gray: hsl(0, 3%, 19%);
--dark-mars: hsl(6, 85%, 44%);
--light-gray: hsl(36, 12%, 92%);
--mars: hsl(6, 85%, 55%);
--medium-gray: hsl(36, 6%, 85%);
--regular-gray: hsl(0, 3%, 42%);
--warm: hsl(40, 20%, 97%);
--white: hsl(0, 0%, 100%);
--almost-black: hsl(0, 3%, 8%); --font-size-heading-1: 2.5rem;
--font-size-heading-2: 2rem;
--font-size-heading-3: 1.75rem;
--font-size-heading-4: 1.5rem;
--font-size-body: 1.1875rem;
--font-size-toc: 1rem;
--font-size-footnotes: 0.9375rem;
--font-size-meta: 0.9375rem;
--font-size-nav: 0.875rem;
--font-size-pill: 0.875rem;
--font-size-small: 0.8125rem;
--font-size-pill-xs: 0.685rem; --font-size-heading-1-mobile: 2rem;
--font-size-heading-2-mobile: 1.5rem;
--font-size-heading-3-mobile: 1.375rem;
--font-size-heading-4-mobile: 1.275rem;
--font-size-body-mobile: 1.125rem;
--font-size-footnotes-mobile: 0.8125rem;
--font-size-nav-mobile: 1.35rem;
--font-size-nav-toggle: 1.4375rem; --spacing-xs: 0.375rem;
--spacing-s: 0.5rem;
--spacing-sm: 0.75rem;
--spacing-md: 1rem;
--spacing-lg: 1.5rem;
--spacing-xl: 2rem;
--spacing-xxl: 3rem;
--spacing-xxxl: 4rem;
--spacing-huge: 7rem;
--spacing-xhuge: 9rem;
--spacing-xxhuge: 13rem; --text-decoration-line: underline;
--text-underline-position: under;
--text-decoration-style: dashed;
--text-decoration-thickness: 1px;
--text-underline-offset: -1px; --border: 1px solid var(--dark-gray);
--border-radius: 2px;
--box-shadow: 2px 2px var(--dark-gray);
}
.embed-responsive {
position: relative;
display: block;
height: 0;
padding: 0;
overflow: hidden;
}
.embed-responsive .embed-responsive-item,
.embed-responsive iframe {
position: absolute;
top: 0;
bottom: 0;
left: 0;
width: 100%;
height: 100%;
border: 0;
}
.embed-responsive-16by9 {
padding-bottom: 56.25%;
}
*,
*::before,
*::after {
box-sizing: border-box;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
text-shadow: 1px 0px 0px rgba(0, 0, 0, 0.002);
}
html {
background: var(--warm);
color: var(--dark-gray);
margin: 0;
padding: 0;
scroll-behavior: smooth;
scroll-padding-top: 6.25rem;
}
body {
margin: 0;
padding: 0;
}
html,
body {
height: 100%;
display: flex;
flex-direction: column;
}