Compare commits

...

4 Commits

Author SHA1 Message Date
theo1
cbfed67037 content block fixe 2020-06-02 15:21:43 +02:00
theo1
03993bfdfd Header and title fxes 2020-06-02 15:17:14 +02:00
theo1
fce7ee90b5 foooter responsive fixes 2020-06-02 15:01:27 +02:00
theo1
8ac8db558d Better CSS responsiveness 2020-06-02 14:34:36 +02:00
2 changed files with 146 additions and 62 deletions

View File

@ -28,8 +28,8 @@ header{
position: fixed;
height: 100px;
background-color: white;
z-index: 15;
background-color: white;
z-index: 15;
display: flex;
flex-direction: column;
@ -38,34 +38,15 @@ header{
border: 3px solid #00FF00;
border-radius: 10px;
margin: 5px;
top: 0px;
margin: 5px;
top: 0px;
}
#articles {
margin-top: 100px;
}
#a-propos {
position: fixed;
bottom: 60px;
right: 10px;
z-index: 10;
border: 2px solid #000000;
border-radius: 10px;
background-color: #ffffff;
margin: 20px;
padding: 10px;
display: flex;
flex-direction: column;
justify-content: center;
font-family: solidemirage;
font-size: 15px;
}
#telecharger {
footer > a{
position: fixed;
bottom: 10px;
right: 10px;
@ -76,7 +57,7 @@ header{
background-color: #ffffff;
margin: 20px;
padding: 10px;
display: flex;
flex-direction: column;
justify-content: center;
@ -84,6 +65,11 @@ header{
font-size: 15px;
}
#a-propos {
bottom: 60px;
right: 10px;
}
.vignette {
display: flex;
z-index: 1;
@ -130,8 +116,8 @@ header{
}
a {
color: black;
text-decoration: unset;
color: black;
text-decoration: unset;
}
/* only underline anchors inside content text */
@ -142,6 +128,7 @@ p a {
.article-title {
font-family: solidemirage;
font-size: 50px;
max-width: 100%;
}
.article-author {
@ -164,6 +151,7 @@ p a {
font-size: 1.3em;
text-align: left;
font-family: mplus-regular;
max-width: 100%;
}
.article-img img{
@ -177,7 +165,7 @@ p a {
}
.column {
float: left;
float: left;
width: 43%;
}
@ -207,7 +195,7 @@ p a {
position: absolute;
left: 0;
top: 0;
overflow: hidden;
overflow: hidden;
background-color: #000000;
text-align: center;
padding-top: 100px;
@ -232,12 +220,12 @@ p a {
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
width: 20px;
height:20px;
height:20px;
margin-left: 95%;
}
#close-modal a{
color: white;
color: white;
}
#close-modal:hover {
@ -255,4 +243,58 @@ blockquote{
width: 80%;
font-size: 18px;
font-family: mplus-regular;
}
/* responsive instructions */
@media only screen and (max-width:1000px) {
header > a > h1{
font-size: 2em;
}
header {
width: 80%;
position: absolute;
height: auto;
}
.content {
display: block;
}
.vignette {
display: block;
}
.vignette > h2{
font-size: 1.5em;
}
.article-title {
font-size: 1.5em;
line-height: 1.5em;
word-break: break-all;
}
.article {
display: block;
}
.article-content {
display: block;
margin-bottom: 30px;
}
.article-img {
display: block;
}
.column {
width: 80%;
}
footer {
position: relative;
width: 80%;
text-align: center;
}
footer > a {
position : unset;
margin-top : 10px;
}
}

View File

@ -28,8 +28,8 @@ header{
position: fixed;
height: 100px;
background-color: white;
z-index: 15;
background-color: white;
z-index: 15;
display: flex;
flex-direction: column;
@ -38,34 +38,15 @@ header{
border: 3px solid #00FF00;
border-radius: 10px;
margin: 5px;
top: 0px;
margin: 5px;
top: 0px;
}
#articles {
margin-top: 100px;
}
#a-propos {
position: fixed;
bottom: 60px;
right: 10px;
z-index: 10;
border: 2px solid #000000;
border-radius: 10px;
background-color: #ffffff;
margin: 20px;
padding: 10px;
display: flex;
flex-direction: column;
justify-content: center;
font-family: solidemirage;
font-size: 15px;
}
#telecharger {
footer > a{
position: fixed;
bottom: 10px;
right: 10px;
@ -76,7 +57,7 @@ header{
background-color: #ffffff;
margin: 20px;
padding: 10px;
display: flex;
flex-direction: column;
justify-content: center;
@ -84,6 +65,11 @@ header{
font-size: 15px;
}
#a-propos {
bottom: 60px;
right: 10px;
}
.vignette {
display: flex;
z-index: 1;
@ -130,8 +116,8 @@ header{
}
a {
color: black;
text-decoration: unset;
color: black;
text-decoration: unset;
}
/* only underline anchors inside content text */
@ -142,6 +128,7 @@ p a {
.article-title {
font-family: solidemirage;
font-size: 50px;
max-width: 100%;
}
.article-author {
@ -164,6 +151,7 @@ p a {
font-size: 1.3em;
text-align: left;
font-family: mplus-regular;
max-width: 100%;
}
.article-img img{
@ -177,7 +165,7 @@ p a {
}
.column {
float: left;
float: left;
width: 43%;
}
@ -207,7 +195,7 @@ p a {
position: absolute;
left: 0;
top: 0;
overflow: hidden;
overflow: hidden;
background-color: #000000;
text-align: center;
padding-top: 100px;
@ -232,12 +220,12 @@ p a {
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
width: 20px;
height:20px;
height:20px;
margin-left: 95%;
}
#close-modal a{
color: white;
color: white;
}
#close-modal:hover {
@ -255,4 +243,58 @@ blockquote{
width: 80%;
font-size: 18px;
font-family: mplus-regular;
}
/* responsive instructions */
@media only screen and (max-width:1000px) {
header > a > h1{
font-size: 2em;
}
header {
width: 80%;
position: absolute;
height: auto;
}
.content {
display: block;
}
.vignette {
display: block;
}
.vignette > h2{
font-size: 1.5em;
}
.article-title {
font-size: 1.5em;
line-height: 1.5em;
word-break: break-all;
}
.article {
display: block;
}
.article-content {
display: block;
margin-bottom: 30px;
}
.article-img {
display: block;
}
.column {
width: 80%;
}
footer {
position: relative;
width: 80%;
text-align: center;
}
footer > a {
position : unset;
margin-top : 10px;
}
}