moon/style.css
Pierre-Alexandre Mousset 8a19ffc2b6 first
2019-07-04 21:51:18 -04:00

182 lines
No EOL
2.9 KiB
CSS

*{
margin: 0;
padding:0;
box-sizing: border-box;
}
body{
font-family: 'Roboto', sans-serif;
background:#fff;
margin:0;
}
nav{
background: #232323;
height:7vh;
width:100%;
position: fixed;
display:flex;
align-items: center;
box-shadow: 0 5px 5px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.5);
justify-content: center;
z-index: 1000;
}
nav ul li{
list-style:none;
display:inline-block;
}
nav ul li a{
padding:2rem;
font-size: 19px;
text-decoration: none;
color: #fff;
font-family: 'Space Mono','Indie Flower', cursive;
}
header{
width:100%;
height: 100vh;
z-index:50;
}
.bg{
z-index:10;
width: 100%;
height: 100vh;
background: linear-gradient(rgba(0,0,0,0.4),rgba(0,0,0,0.7)),url("images/bg.gif");
background-repeat: no-repeat;
background-size: cover;
align-items: center;
justify-content: center;
display: flex;
letter-spacing: 4.5px;
font-family: 'Press Start 2P';
}
.content{
width:90%;
height:60%;
display:flex;
justify-content:center;
align-items: center;
position:fixed;
}
.kolom{
width:30%;
height:100%;
display:flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
margin:10px;
border-radius: 10px;
overflow: hidden;
opacity:0.8;
}
.kolom .atas{
width:100%;
height:60%;
background:#2c3e50;
justify-content: center;
align-items: center;
display:flex;
}
.kolom .atas img{
width:80%;
}
.kolom .tengah{
width:100%;
height:10%;
background: #fff;
display:flex;
align-items: center;
justify-content: center;
text-transform: uppercase;
}
.kolom .bawah{
width:100%;
height:30%;
background:#f0f0f0;
display:flex;
align-items: center;
justify-content: center;
text-align: center;
overflow: hidden;
}
.kolom .bawah p{
width: 80%;
height: auto;
letter-spacing: 1px;
line-height: 2rem;
font-size: 14px;
font-family: 'Space Mono','Indie Flower', cursive;
text-align: center;
}
footer{
height:100%;
width:100%;
position: relative;
}
.container-footer{
height: 100vh;
background: linear-gradient(rgba(0,0,0,0.1),rgba(0,0,0,0.7)),url(images/bg2.gif);
background-repeat: no-repeat;
background-attachment: fixed;
background-size:cover;
}
.footer-content{
text-align: center;
align-content: center;
}
.sbar{
-webkit-appearance:none;
border-radius: 50px;
width: 44vh;
height: 4vh;
text-align: center;
font-size: 1.5rem;
margin: 9vh 4vh 4vh 4vh;
opacity: 0.7;
outline: none;
border: none;
box-sizing: border-box
}
.footer-content .footer-title{
font-size: 24px;
padding-bottom: 2rem;
color:#f0f0f0;
}
.footer-content .footer-content{
font-size: 20px;
color:#f0f0f0;
margin: 1.5vh 6vh 4vh 6vh;
word-spacing: 3.5px;
line-height: 2.2rem;
}