simpler-dash/hp_assets/css/main.css

64 lines
1.5 KiB
CSS
Raw Normal View History

html {height: 100%; width: 100%;}
body {font-family: sans-serif; z-index: 1; height: 100%; width: 100%; background-position: center; background-attachment: fixed;}
.hidden {display: none;}
.menu-item {display: none; z-index: 3;}
#bg-overlay {
position:fixed;
2017-02-20 15:00:46 +00:00
padding:0;
margin:0;
top:0;
left:0;
width: 100%;
height: 100%;
background-color: #fff;
opacity: 0;
z-index: 2;
transition: .3s all;
}
body.menu-shown #bg-overlay {opacity: 0.3;}
#mobile-menu-wrap {z-index: 3; position: absolute; top: 15px; left: 15px;}
#mobile-menu-wrap a {font-size: 20px;}
.bg {
border-radius: 5px;
background-color: rgba(0, 0, 0, .5);
padding: 20px;
}
.bg a {
color: #fff;
}
2017-02-20 15:00:46 +00:00
#links-wrap {
font-size: 80px;
position: fixed;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
2017-02-21 14:50:53 +00:00
padding-bottom: 3px;
2017-02-20 15:00:46 +00:00
2017-02-21 14:50:53 +00:00
width: fit-content;
height: auto;
2017-02-20 15:00:46 +00:00
2017-02-21 14:50:53 +00:00
max-width: 75%;
max-height: 85%;
2017-02-20 15:00:46 +00:00
overflow: auto;
display: flex;
}
2017-02-20 15:00:46 +00:00
#links-wrap a {transition: .3s all;}
#links-wrap a:hover {color: #d3d3d3;}
#links-wrap .link {display: inline-block; width: 33%; float: left; text-align: center;}
#links-wrap::-webkit-scrollbar {width: 10px; background-color: transparent;}
#links-wrap::-webkit-scrollbar-thumb {border-radius: 10px; -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,.4); background-color: rgba(255,255,255,.2);}
#pic-info-wrap {color: #fff; font-size: 16px; position: absolute; bottom: 15px; left: 15px;}
#pic-info-wrap a:hover, #pic-info-wrap a:active {color: #fff; text-decoration: none;}