This repository has been archived on 2021-09-15. You can view files and clone it, but cannot push or open issues or pull requests.
ModuleWeb/SRC/public/css/frontend.css

97 lines
1.6 KiB
CSS
Executable File

* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
html, body {
font-family: 'Oswald', sans-serif;
background: #ebebeb;
background: url('../imgs/bg.png') no-repeat bottom center fixed;
background-size: cover;
}
nav {
margin: 25px 20%;
}
nav input {
font-size: 25px;
height: 70px;
width: 100%;
border: none;
background: white;
padding: 10px 20px;
border-radius: 5px;
outline: 0;
letter-spacing: 1px;
word-spacing: 8px;
text-align: center;
font-family: 'Oswald', sans-serif;
}
.referent {
display: inline-block;
cursor: pointer;
border-radius: 5px;
position: relative;
background: white;
margin: 25px;
width: 200px;
height: 200px;
background-position: center center;
background-size: cover;
overflow: hidden;
}
.referent:hover {
opacity: 1;
}
.referent .infos {
padding: 10px;
position: absolute;
bottom: 0;
width: 100%;
background:rgba(0, 0, 0, 0.7);
color: white;
text-align: center;
}
.referents {
text-align: center;
}
.game {
border-radius: 20px;
border: 3px solid black;
}
button {
cursor: pointer;
display: inline-block;
height:60px;
line-height: 60px;
background: #47ad4b;
border: 1px solid green;
border-bottom-width: 6px;
border-radius: 10px;
font-size: 40px;
padding: 0 25px;
margin-bottom: 20px;
outline: 0;
transition: all 0.2s;
}
button:hover {
border-bottom-width: 4px;
}
button:active {
border-bottom-width: 2px;
}
.abso {
position:absolute;
width:100%;
height:100%;
}