datamad2017/_sass/partials/_judges.scss

34 lines
685 B
SCSS
Raw Permalink Normal View History

$judge-image-size: 140px;
$small-judge-image-size: 120px;
2014-08-27 23:49:51 +02:00
2014-08-28 17:50:12 +02:00
.judge {
margin-bottom: 45px;
.name {
margin: 8px 0 4px;
font-size: 25px;
@media (max-width: 767px) {
font-size: 20px;
}
2014-08-28 17:50:12 +02:00
}
.company {
margin-top: 6px;
display: block;
font-size: 18px;
line-height: 1.1;
@media (max-width: 767px) {
margin-top: 0;
font-size: 16px;
}
2014-08-28 17:50:12 +02:00
}
2014-08-27 23:49:51 +02:00
}
.judge-img {
2014-08-28 17:50:12 +02:00
width: $judge-image-size;
height: $judge-image-size;
2014-08-27 23:49:51 +02:00
margin: 0 auto;
2014-08-28 17:50:12 +02:00
border: 3px solid #fff;
box-shadow: 0 3px 0 rgba(0, 0, 0, .15), 0 3px 4px rgba(0, 0, 0, .2);
@media (max-width: 767px) {
width: $small-judge-image-size;
height: $small-judge-image-size;
}
2014-08-27 23:49:51 +02:00
}