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

169 lines
2.5 KiB
CSS
Raw Normal View History

2015-03-10 15:57:41 +01:00
* {
padding: 0;
2015-03-10 15:57:41 +01:00
margin: 0;
box-sizing: border-box;
}
html, body {
font-family: 'Oswald', sans-serif;
background: #ebebeb;
2015-03-18 10:02:56 +01:00
background: url('../imgs/bg.jpg') no-repeat bottom center fixed;
background-size: cover;
2015-03-17 17:21:37 +01:00
font-weight:300;
2015-03-10 15:57:41 +01:00
}
nav {
margin: 25px 20%;
}
nav input {
font-size: 25px;
height: 70px;
width: 100%;
border: none;
2015-03-10 15:57:41 +01:00
background: white;
padding: 10px 20px;
border-radius: 5px;
outline: 0;
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;
2015-03-10 15:57:41 +01:00
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;
2015-03-16 23:23:41 +01:00
}
.referents {
text-align: center;
}
.game {
border-radius: 20px;
border: 3px solid black;
}
2015-03-16 16:44:29 +01:00
.text-center
{
margin-top: 6%;
text-align: center;
background-color: rgba(0, 0, 0, 0.2);
}
.text-center img
{
height: 250px;
margin: 2%;
}
.text-center img:hover
{
padding-bottom : 5px;
2015-03-16 19:47:57 +01:00
border-bottom: 2px solid dimgrey;
2015-03-16 16:44:29 +01:00
}
.titreIcon
{
text-align:center;
margin-top: 2%;
}
.titreIcon img
{
height: 150px;
}
2015-03-16 19:47:57 +01:00
#back_ref img
{
height: 20px;
}
button {
2015-03-16 19:49:04 +01:00
vertical-align:top;
cursor: pointer;
display: inline-block;
2015-03-16 19:49:04 +01:00
height:70px;
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%;
2015-03-16 19:47:57 +01:00
}
2015-03-17 17:21:37 +01:00
.homeTitle {
font-weight:300;
2015-03-17 12:07:18 +01:00
}
2015-03-16 19:47:57 +01:00
2015-03-17 17:21:37 +01:00
.game {
background:rgba(255, 255, 255, 0.5);
margin:20px;
display:inline-block;
width:200px;
height:200px;
border:5px solid rgba(0, 0, 0, 0.55);
2015-03-17 19:24:29 +01:00
padding:5px;
border-radius:8px;
2015-03-17 17:21:37 +01:00
}
2015-03-17 19:24:29 +01:00
.game:hover, .game.active{
2015-03-17 17:21:37 +01:00
background:white;
cursor:pointer;
border:5px solid rgba(0, 0, 0, 0.95);
}
.game img {
width:100%;
height:100%;
2015-03-17 19:35:31 +01:00
}
img#imgRef {
border-radius:50%; height:100px;width:100px;margin:40px; cursor:pointer;
}
img#imgRef:active {
cursor:wait;
2015-03-17 17:21:37 +01:00
}