front-page css changes

This commit is contained in:
Cristina Cochior 2019-12-28 13:53:07 +01:00
parent 0e89290222
commit 46c20c5e1f

View File

@ -119,10 +119,8 @@ div.content-block{
top:0; top:0;
right: 0; right: 0;
left: 0; left: 0;
padding: 0;
margin: 0;
padding: 10px;
width: auto; width: auto;
margin: 0.5em 5em 0.5em 10em;
} }
.word{ .word{
color:black; color:black;
@ -133,27 +131,30 @@ div.content-block{
/* HOMEPAGE */ /* HOMEPAGE */
/********************************************************/ /********************************************************/
div.homepage{ div.home {
/* padding-top: 4em; */ /* padding: 5em 5em 1em 7.5em; */
}
div.home > a{
border-bottom: 1px dashed black;
padding: 0.1em;
margin: 0.5em;
line-height: 1.5em;
}
div.home{
padding: 5em 5em 1em 7.5em;
text-align: justify; text-align: justify;
font-size: 0.8em; font-size: 0.8em;
} }
div.home a:hover{ div.home a{
background: red; border-bottom: 1px dashed black;
padding: 0.1em;
margin: 0.5em;
line-height: 1.5em;
color: white; color: white;
} }
div.home a:visited{
color: red;
border-bottom: white;
}
div.home a:hover{
background: red;
color: white;
}
div.explanation{ div.explanation{
font-size: 0.75em; font-size: 0.75em;
@ -196,7 +197,7 @@ div.explanation{
} }
#logobox h1{ #logobox h1{
font-size: 5vw; font-size: 6vw;
font-family: 'Steps Thin Mono'; font-family: 'Steps Thin Mono';
margin-top: 0; margin-top: 0;
} }
@ -551,10 +552,9 @@ a.li-index:hover {
@media screen and (min-width: 600px) { @media screen and (min-width: 600px) {
header{ header{
margin-top: 7em;
margin-right: 10em; margin-right: 10em;
position: absolute; position: fixed;
top:17em; top:45%;
-webkit-transform-origin: 0 50%; -webkit-transform-origin: 0 50%;
-moz-transform-origin: 0 50%; -moz-transform-origin: 0 50%;
-ms-transform-origin: 0 50%; -ms-transform-origin: 0 50%;
@ -630,4 +630,4 @@ h1.logo {
padding: 0px; padding: 0px;
margin: 0; margin: 0;
} }
} }