Header and title fxes

This commit is contained in:
theo1 2020-06-02 15:17:14 +02:00
parent fce7ee90b5
commit 03993bfdfd
2 changed files with 31 additions and 19 deletions

View File

@ -128,6 +128,7 @@ p a {
.article-title { .article-title {
font-family: solidemirage; font-family: solidemirage;
font-size: 50px; font-size: 50px;
max-width: 100%;
} }
.article-author { .article-author {
@ -150,6 +151,7 @@ p a {
font-size: 1.3em; font-size: 1.3em;
text-align: left; text-align: left;
font-family: mplus-regular; font-family: mplus-regular;
max-width: 100%;
} }
.article-img img{ .article-img img{
@ -244,7 +246,7 @@ blockquote{
} }
/* responsive instructions */ /* responsive instructions */
@media only screen and (max-width:632px) { @media only screen and (max-width:1000px) {
header > a > h1{ header > a > h1{
font-size: 2em; font-size: 2em;
} }
@ -252,14 +254,20 @@ blockquote{
header { header {
width: 80%; width: 80%;
position: absolute; position: absolute;
height: auto;
}
.content {
margin-top: 150px;
} }
.vignette > h2{ .vignette > h2{
font-size: 1.5em; font-size: 1.5em;
} }
.article-title { .article-title {
font-size: 2em; font-size: 1.5em;
line-height: 1.5em; line-height: 1.5em;
word-break: break-all;
} }
.article { .article {
display: block; display: block;
@ -278,13 +286,11 @@ blockquote{
footer { footer {
position: relative; position: relative;
width: 80%; width: 80%;
display: block;
text-align: center; text-align: center;
} }
footer > a { footer > a {
position : unset; position : unset;
display: unset;
margin-top : 10px; margin-top : 10px;
} }
} }

View File

@ -28,8 +28,8 @@ header{
position: fixed; position: fixed;
height: 100px; height: 100px;
background-color: white; background-color: white;
z-index: 15; z-index: 15;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@ -38,8 +38,8 @@ header{
border: 3px solid #00FF00; border: 3px solid #00FF00;
border-radius: 10px; border-radius: 10px;
margin: 5px; margin: 5px;
top: 0px; top: 0px;
} }
#articles { #articles {
@ -116,8 +116,8 @@ footer > a{
} }
a { a {
color: black; color: black;
text-decoration: unset; text-decoration: unset;
} }
/* only underline anchors inside content text */ /* only underline anchors inside content text */
@ -128,6 +128,7 @@ p a {
.article-title { .article-title {
font-family: solidemirage; font-family: solidemirage;
font-size: 50px; font-size: 50px;
max-width: 100%;
} }
.article-author { .article-author {
@ -150,6 +151,7 @@ p a {
font-size: 1.3em; font-size: 1.3em;
text-align: left; text-align: left;
font-family: mplus-regular; font-family: mplus-regular;
max-width: 100%;
} }
.article-img img{ .article-img img{
@ -163,7 +165,7 @@ p a {
} }
.column { .column {
float: left; float: left;
width: 43%; width: 43%;
} }
@ -193,7 +195,7 @@ p a {
position: absolute; position: absolute;
left: 0; left: 0;
top: 0; top: 0;
overflow: hidden; overflow: hidden;
background-color: #000000; background-color: #000000;
text-align: center; text-align: center;
padding-top: 100px; padding-top: 100px;
@ -218,12 +220,12 @@ p a {
font-family: Arial, Helvetica, sans-serif; font-family: Arial, Helvetica, sans-serif;
font-weight: bold; font-weight: bold;
width: 20px; width: 20px;
height:20px; height:20px;
margin-left: 95%; margin-left: 95%;
} }
#close-modal a{ #close-modal a{
color: white; color: white;
} }
#close-modal:hover { #close-modal:hover {
@ -244,22 +246,28 @@ blockquote{
} }
/* responsive instructions */ /* responsive instructions */
@media only screen and (max-width:632px) { @media only screen and (max-width:1000px) {
header > a > h1{ header > a > h1{
font-size: 2em; font-size: 2em;
} }
header { header {
width: 80%; width: 80%;
position: absolute; position: absolute;
height: auto;
}
.content {
margin-top: 150px;
} }
.vignette > h2{ .vignette > h2{
font-size: 1.5em; font-size: 1.5em;
} }
.article-title { .article-title {
font-size: 2em; font-size: 1.5em;
line-height: 1.5em; line-height: 1.5em;
word-break: break-all;
} }
.article { .article {
display: block; display: block;
@ -278,13 +286,11 @@ blockquote{
footer { footer {
position: relative; position: relative;
width: 80%; width: 80%;
display: block;
text-align: center; text-align: center;
} }
footer > a { footer > a {
position : unset; position : unset;
display: unset;
margin-top : 10px; margin-top : 10px;
} }
} }