zeus.ugent.be/content/assets/stylesheets/includes/tiles.scss
2017-02-08 13:50:59 +01:00

126 lines
2 KiB
SCSS

a.box {
&:hover {
box-shadow: 0 2px 3px rgba($black, 0.1), 0 0 0 1px $blue
}
}
#homepage {
.box {
border-radius: 0;
img {
width: 100%;
}
}
}
.centering {
display: flex;
justify-content: center;
align-items: center;
}
.highlighted{
background: $tile-orange;
.content {
color: white;
h1, h2 {
color: inherit;
}
a, a:visited {
color:inherit;
}
}
}
#quote{
font-style: italic;
}
.icon a{
color:$tile-orange;
}
#gamification-coders {
display: flex;
justify-content: center;
img{
height:40px;
width:40px !important;
border-radius:50px;
top: 0;
left: 0;
z-index:1;
vertical-align:middle;
}
ol{
list-style-type: decimal-leading-zero;
counter-reset:li;
> li{
position: relative;
float:left;
padding:5px;
margin:20px;
margin-bottom:3px;
margin-top:3px;
display:inline;
&:before{
position: absolute;
z-index:2;
content:counter(li); /* Use the counter as content */
counter-increment:li;
color:whitesmoke;//$tile-orange;
opacity:0.9;
font: bold 32pt helvetica, arial, sans-serif;
height:30px;
width:30px;
display:inline-block;
margin-right:10px;
border-radius:50px;
text-align: center;
line-height: 30px;
}
}
}
}
#blokmap-tile {
position: relative;
height: 200px;
//background-image: url("https://i.imgur.com/PMaIG7X.jpg");
background-image: url("https://cldup.com/-FmSDFbd07.jpg");
background-position: center;
.overlay {
left: 0;
top: 0;
position: absolute;
height: 100%;
width: 100%;
background-color: rgba(0, 0, 0, 0.2);
}
.content {
position: relative;
h1, h2 {
color: white;
}
h2 {
margin-top: 0;
}
}
}
.teaser{
font-style: italic;
}
.description{
font-weight: bold;
}
.backgroundimg{
background-position: center;
}