Periodical #3

This commit is contained in:
maravelle 2019-09-15 13:39:39 -06:00
parent cd1bd25b18
commit 2c33e8fa08
14 changed files with 531 additions and 9 deletions

View file

@ -287,3 +287,35 @@ p.text-lead {
img.gratuitas {
width: 10rem;
}
// Periodical
.revuo-classes a {
padding: 1rem 2rem;
width: 11rem;
}
#weekly .revuo-classes a.wk {
background-color: #f0f0f0;
}
#periodical .revuo-classes a.pd, #wrap.periodical .revuo-classes a.pd:active, #wrap.periodical .revuo-classes a.pd:focus {
background-color: #f0f0f0;
}
// Typography for Periodical
.hted-head {
margin: 2.5rem 0 1.3334rem 0;
background: #9a3c7d;
background: #925495;
color: #fefefe;
width: 100%;
border-radius: 2px;
padding: 1em;
text-align: left;
}
#post-page h2 {
line-height: 1.3;
}

View file

@ -127,6 +127,7 @@ html, body {
text-align: center;
padding: 24px 0;
position: relative;
margin-bottom: 23px;
@media (max-width: 480px) {
padding-top: 10px;
}
@ -166,7 +167,7 @@ html, body {
}
}
&:after {
display: block;
display: none;
content: '';
width: 5rem;
height: 1px;
@ -222,6 +223,21 @@ html, body {
}
}
.by-line-post {
display: block;
color: lighten($text-color, 25%);
line-height: 1.5em; /* 24px/16px */
padding-top: 0.5em;
font-weight: 200;
@media (min-width: 940px) {
display: block;
color: lighten($text-color, 25%);
line-height: 1.3334em; /* 24px/18px */
margin-bottom: 1.3334em; /* 24px/18px */
font-weight: 200;
}
}
img {
max-width: 100%;
display: block;

View file

@ -18,7 +18,7 @@ body {
/*- Typography for medium and small screen, based on 16px font-size -*/
p, ul, ol {
font-size: 1em; /* 16px */
font-size: 18px;
line-height: 1.7em; /* 24px/16px */
margin-bottom: 1.5em; /* 24px/16px */
}
@ -40,13 +40,29 @@ h2 {
}
}
h3, h4, h5, h6 {
h3 {
font-size: 1.3em; /* 18px/16px */
line-height: 1.7em; /* 24px/18px */
padding: 0.66667em 0; /* 12px/18px * 2 (Use padding instead of margin to maintain proximity with paragraph) */
font-family: 'PT Sans', sans-serif;
}
.hted-head th {
font-size: 1.1em;
}
h4, h5, h6 {
font-size: 1.125em; /* 18px/16px */
line-height: 1.7em; /* 24px/18px */
padding: 0.66667em 0; /* 12px/18px * 2 (Use padding instead of margin to maintain proximity with paragraph) */
font-family: 'PT Sans', sans-serif;
}
h5 {
padding-bottom: 0.3em;
font-size: 1.3em;
}
blockquote {
font-style: italic;
margin: 1.5em; /* 24px/18px */
@ -61,6 +77,24 @@ blockquote {
}
}
@media (min-width: 520px) { //Breakpoint set to 940px
p, ul, ol {
font-size: 20px;
line-height: 1.7em; /* 24px/16px */
margin-bottom: 1.5em; /* 24px/16px */
}
h3, h5 {
font-size: 1.5em;
}
.hted-head th {
font-size: 1.2em;
}
}
/*- Typography for big screen, based on 18px font-size -*/
@media (min-width: 940px) { //Breakpoint set to 940px
@ -88,6 +122,11 @@ h3, h4, h5, h6 {
line-height: 1.7em; /* 24px/24px */
padding: 0.5em 0; /* 12px/24px * 2 (Use padding instead of margin to maintain proximity with paragraph) */
}
h5 {
padding-bottom: 0;
font-size: 1.5em;
}
blockquote {
font-style: italic;