hatetracker/assets/landing.css

436 lines
7.3 KiB
CSS

*{
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
}
.navbar{
background-color: #000;
color: white;
width: 100%;
height: 50px;
position: fixed;
top: 0;
z-index: 100;
font-family: "PT Mono";
}
.navbar .right-container{
position: absolute;
text-align: right;
top: 15px;
right: 5px;
}
.navbar .right-container p{
display: inline-block;
margin: 0 1.2em;
}
.navbar .right-container.desktop{
position: absolute;
text-align: right;
top: 15px;
right: 5px;
}
.navbar .right-container.desktop p{
display: inline-block;
margin: 0 1.2em;
}
.navbar .right-container.mobile{
display: none;
}
.navbar .right-container p a{
color: inherit;
text-decoration: none;
cursor: pointer;
}
.navbar .right-container p:hover{
text-decoration: underline;
}
.logo-container{
margin-top: 3em;
text-align: center;
}
.logo-container a{
text-decoration: none;
}
.hc-logo{
max-width: 400px;
width: 90%;
margin: 2em auto 0 auto;
}
.strap{
font-family: 'PT Mono', serif;
padding-top: 0.8em;
font-weight: bold;
color: #3a3a3a;
font-size: 1.3em;
}
.social-shares{
text-align: center;
margin:1.5em 0 1.5em auto;
font-size: 1.1em;
font-family:'PT Mono', serif;
}
.social-shares .social{
padding:.2em 0.6em;
width:150px;
display:inline-block;
text-align:left;
color:#3a3a3a;
font-size:1.3em;
margin:0 10px;
cursor:pointer;
border:3px solid #3a3a3a;
}
.social-shares .social i{
font-size:1.2em;
vertical-align:middle;
margin-right:20px
}
.social-shares .social.whatsapp{
display:none
}
.social-shares .social:hover{
background-color:#000;
color: white;
}
.footer-basic-centered {
background-color: #000;
color: #fff;
width: 100%;
text-align: center;
font: 300 20px;
padding: 30px;
padding-bottom: 50px;
font-family: "PT Mono";
margin-top: 8em;
}
.footer-basic-centered .footer-links{
float: right;
}
.footer-basic-centered .footer-company-name{
float: left;
}
.footer-basic-centered .footer-links,.footer-basic-centered .footer-company-name{
vertical-align: middle;
padding-bottom: 20px;
}
.footer-basic-centered a{
margin-left: 5px;
margin-right: 5px;
text-decoration: none;
color: inherit;
}
.footer-basic-centered a:hover{
text-decoration: underline;
}
/*timeline css*/
#timeline{
text-align: center;
max-width: 900px;
margin: 1em auto;
}
.year-name{
font-weight: bold;
font-family: "Open Sans";
font-size: 1.7em;
border-bottom: solid 2px #000;
width: 150px;
margin: 1.3em auto 0.4em auto;
padding-bottom: 0.2em;
}
.month-block{
margin-top: 2em;
}
.month-name{
font-weight: bold;
font-family: "Open Sans";
font-size: 1.2em;
padding-bottom: 0.2em;
}
.incident-block{
border: solid 3px #000;
max-width: 400px;
display: inline-block;
vertical-align: top;
font-family: "PT Mono";
margin: 1em 1em ;
height: 160px;
text-align: left;
cursor: pointer;
position: relative;
}
.incident-block .map-thumb{
width: 30%;
height: 100%;
background-position: 50% 50%;
display: inline-block;
position: relative;
}
.incident-block .map-thumb .map-label{
position: absolute;
top: 25%;
padding: 0.4em 0.3em;
background: black;
color: white;
font-size: 0.8em;
width: 100%;
text-align: center;
}
.incident-block .text-container{
width: 68%;
display: inline-block;
}
.incident-block.right{
text-align: right;
}
.incident-block.right .map-thumb{
float: right;
}
.incident-block.left .map-thumb{
float: left;
}
.incident-block.left .text-container{
float: right;
}
.incident-block.right .text-container{
float: left;
}
.incident-block .incident-date{
color: #94090d;
padding: 0.5em;
margin-bottom: 0.3em;
z-index: 2;
}
.tell-us{
text-align: center;
margin: 0 auto;
font-family: "PT Mono";
border: solid 3px #000;
padding: 0.5em;
max-width: 350px;
font-size: 1.2em;
}
.tell-us:hover{
background-color: #000;
color: white;
}
.tell-us a{
color: inherit;
text-decoration: none;
}
.incident-block a {
text-decoration: none;
color: inherit;
}
.incident-block .back{
background-color: #eee;
height: 35px;
position: absolute;
z-index: -1;
-moz-transition: all .2s linear;
-webkit-transition: all .2s linear;
-o-transition: all .2s linear;
transition: all .2s linear;
width: 0%;
}
.incident-block:hover .back{
width: 100%;
}
.incident-block .incident-title{
font-size: 1.1em;
padding: 0 0.5em;
}
.incidents-box{
text-align: center;
font-family: 'PT Mono';
padding-top: 1em;
max-width: 300px;
margin: 0 auto;
font-size: 1.1em;
}
.incidents-box p{
padding-bottom: 0.3em;
color: #3f3f3f;
}
.incidents-box .incident-num{
font-size: 6em;
color: #94090d;
}
.killed-box{
text-align: center;
margin: 2em auto;
width: 98%;
font-size: 0.7em;
line-height: 1.6em;
font-family: "PT Mono";
}
.killed-box .killed-num{
color: #94090d;
}
hr{
max-width: 200px;
border: solid #eee 1px;
margin: 1em auto
}
.killed-names{
margin: 1em 0;
/*text-align: left;*/
}
.killed-names a{
text-decoration: none;
color: inherit;
padding: 0 0.8em;
}
.killed-names a:hover{
text-decoration: underline;
}
.killed-names a:nth-child(odd){
color: #999;
}
.killed-names a:nth-child(even){
color: #000;
}
.killed-names a.killed-person{
color: #94090d;
font-size: 1.3em;
}
#hamburger{
font-size: 2em;
position: absolute;
top: -6px;
right: 15px;
cursor: pointer;
}
#hamburger:hover{
opacity: 0.7;
}
.right-container.mobile .mob-menu.inactive{
display: none;
}
.right-container.mobile .mob-menu{
background-color: black;
position: fixed;
top: 50px;
width: 100%;
text-align: right;
left: 0;
}
.right-container.mobile .mob-menu p{
padding: 0.8em 0.6em;
display: block;
}
@media (max-width:800px){
.footer-basic-centered .footer-links, .footer-basic-centered .footer-company-name{
float: none;
text-align: center;
}
.social-shares {
font-size: 1em;
text-align: center;
}.social-shares .social.whatsapp{
display:inline-block
}.social-shares .social{
width: 33.33%;
padding: .2em .8em;
margin: 0;
border-left: none;
border-right: none;
text-align: center;
}.social-shares .social i{
margin-right:0
}
.social-shares .social.twitter{
border-right: solid;
border-left: solid;
}
.social-shares .social span{display:none}
.navbar .right-container.desktop{
display: none;
}
.navbar .right-container.mobile{
display: block;
}
}
@media(max-width: 550px){
.incident-block{
height: 180px;
font-size: 0.9em;
}
}
.nav-logo {
padding-left: 0.8em;
vertical-align: middle;
height: 50%;
margin-top: 10px;
}
.nav-logo.mobile {
display: none;
}
.nav-logo.desktop {
vertical-align: middle;
display: inline-block;
}