fel_website/themes/felicie/static/css/main-v2.css

240 lines
3.5 KiB
CSS
Executable File

@font-face {
font-family: solidemirage;
src: url(fonts/SolideMirage-Etroit.otf);
}
@font-face {
font-family: libertinage;
src: url(fonts/Libertinage.ttf);
}
h1{
font-family: solidemirage;
font-size: 60px;
}
header{
position: fixed;
height: 100px;
background-color: white;
z-index: 15;
display: flex;
flex-direction: column;
justify-content: center;
border: 3px solid #00FF00;
border-radius: 10px;
margin: 5px;
top: 0px;
}
#articles {
margin-top: 100px;
}
#about {
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;
}
#download {
position: fixed;
bottom: 10px;
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;
}
.vignette {
display: flex;
z-index: 1;
margin: 10px;
max-width: 70%;
position: relative;
}
.vignette:hover h2{
visibility: visible;
opacity: 1;
color: #0ff000;
}
.img-menu {
width: 100%;
}
.vignette h2{
font-family: libertinage;
font-size: 40px;
bottom: 20px;
left: 50px;
position: absolute;
visibility: visible;
opacity: 0;
color: white;
}
.img-menu {
border: 3px solid #000000;
border-radius: 10px;
/* for chrome and safari support */
}
.img-menu:hover {
border-color: #00FF00;
}
.img-menu:hover h2 {
visibility: visible;
opacity: 1;
}
a {
color: black;
text-decoration: unset;
}
/* only underline anchors inside content text */
p a {
text-decoration: underline;
}
.article-title {
font-family: libertinage;
font-size: 50px;
}
.article-author {
color:#4d4d4d;
text-decoration: unset;
}
.article-author:before{
content:"_";
}
.content{
margin-top: 150px;
padding-left: 2em;
padding-bottom: 5em;
line-height: 1.2;
font-size: 1.2em;
text-align: justify;
text-justify: inter-word;
font-family: libertinage;
}
.img-article {
z-index: 1;
margin: 10px;
max-width: 70%;
}
.gallery-img {
width: 100%;
padding-bottom: 30px;
}
.audio {
display: none;
}
.article-content p {
font-size: 1.2em;
line-height: 150%;
padding-right: 40px;
}
.article-img img{
max-width: 80%;
width: 80%;
}
.article {
display: flex;
}
.gallery {
display: block;
width: 80%;
}
.article::after {
content: "";
display: block;
clear: both;
}
.column {
float: left;
width: 40%;
padding: 15px;
}
#slide-container {
display: none;
width: 100%;
height: 300%;
position: absolute;
left: 0;
top: 0;
overflow: hidden;
background-color: #000000;
text-align: center;
padding-top: 100px;
}
.slide {
/* hide by default */
display: none;
position: relative;
margin-left: auto;
margin-right: auto;
max-width: 80%;
max-height: 80%;
width: auto;
height: auto;
background-color: black;
}
#close-modal {
position: fixed;
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
color: white;
width: 20px;
height:20px;
margin-left: 95%;
}
#close-modal:hover {
font-size: larger;
}