content block fixe

This commit is contained in:
theo1 2020-06-02 15:21:43 +02:00
parent 03993bfdfd
commit cbfed67037
2 changed files with 21 additions and 13 deletions

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 */
@ -165,7 +165,7 @@ p a {
} }
.column { .column {
float: left; float: left;
width: 43%; width: 43%;
} }
@ -195,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;
@ -220,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 {
@ -250,7 +250,7 @@ blockquote{
header > a > h1{ header > a > h1{
font-size: 2em; font-size: 2em;
} }
header { header {
width: 80%; width: 80%;
position: absolute; position: absolute;
@ -258,7 +258,11 @@ blockquote{
} }
.content { .content {
margin-top: 150px; display: block;
}
.vignette {
display: block;
} }
.vignette > h2{ .vignette > h2{

View File

@ -258,7 +258,11 @@ blockquote{
} }
.content { .content {
margin-top: 150px; display: block;
}
.vignette {
display: block;
} }
.vignette > h2{ .vignette > h2{