fel_website/themes/felicie/static/css/main-v2.css
2020-05-31 20:07:54 +02:00

258 lines
3.9 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);
}
@font-face {
font-family: mplus-regular;
src: url(fonts/mplus/2p/mplus-2p-regular.ttf)
}
@font-face {
font-family: mplus-thin;
src: url(fonts/mplus/2p/mplus-2p-light.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;
}
#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 {
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;
justify-content: center;
align-items: center;
}
.vignette:hover h2{
visibility: visible;
opacity: 1;
color: #0ff000;
}
.img-menu {
width: 100%;
}
.vignette h2{
font-family: solidemirage;
font-size: 80px;
line-height: 90px;
position: absolute;
visibility: visible;
opacity: 0;
text-align: center;
}
.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: solidemirage;
font-size: 50px;
}
.article-author {
color:#4d4d4d;
text-decoration: unset;
}
.article-author:before{
content:"_";
}
.article {
display: flex;
}
.content{
margin-top: 150px;
padding-left: 40px;
padding-bottom: 5em;
line-height: 1.4em;
font-size: 1.3em;
text-align: left;
font-family: mplus-regular;
}
.article-img img{
width: 95%;
padding-bottom: 20px;
padding-top: 25px;
}
.article-img img:hover {
opacity: 0.7;
}
.column {
float: left;
width: 43%;
}
.gallery-img {
width: 100%;
padding-bottom: 30px;
}
.audio {
display: none;
}
.gallery {
display: block;
width: 80%;
}
.article::after {
display: block;
clear: both;
}
#slide-container {
display: none;
width: 100%;
min-height: 100%;
position: absolute;
left: 0;
top: 0;
overflow: hidden;
background-color: #000000;
text-align: center;
padding-top: 100px;
padding-bottom: 200px;
}
.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;
width: 20px;
height:20px;
margin-left: 95%;
}
#close-modal a{
color: white;
}
#close-modal:hover {
font-size: larger;
}
blockquote{
color: rgb(95, 94, 94);
font-size: 18px;
width: 70%;
font-family: mplus-thin;
}
.page-content {
width: 80%;
font-size: 18px;
font-family: mplus-regular;
}