zeus.ugent.be/content/assets/stylesheets/includes/tiles.scss

115 lines
1.7 KiB
SCSS
Raw Normal View History

2016-10-03 18:52:01 +00:00
a.box {
&:hover {
box-shadow: 0 2px 3px rgba($black, 0.1), 0 0 0 1px $blue
}
}
2016-08-30 20:01:23 +00:00
2016-08-30 20:48:58 +00:00
#homepage {
.box {
2016-10-03 18:52:01 +00:00
border-radius: 0;
2016-11-02 14:27:01 +00:00
img {
width: 100%;
}
2016-08-27 00:16:35 +00:00
}
}
2016-10-03 14:56:56 +00:00
.centering {
display: flex;
justify-content: center;
2016-10-04 20:04:34 +00:00
align-items: center;
2016-10-03 14:56:56 +00:00
}
2016-10-04 14:06:26 +00:00
.highlighted{
background: $tile-orange;
.content {
color: white;
h1, h2 {
color: inherit;
}
2016-10-13 21:05:06 +00:00
a, a:visited {
2016-10-04 14:06:26 +00:00
color:inherit;
}
}
}
#quote{
font-style: italic;
}
.icon a{
color:$tile-orange;
}
2016-10-13 18:05:28 +00:00
#gamification-coders {
display: flex;
justify-content: center;
ol{
list-style-type: decimal-leading-zero;
counter-reset:li;
> li{
float:left;
padding:5px;
margin:20px;
margin-bottom:3px;
margin-top:3px;
display:inline;
&:before{
content:counter(li); /* Use the counter as content */
counter-increment:li;
color:$tile-orange;
font: bold 18pt helvetica, arial, sans-serif;
background-color:whitesmoke;
height:30px;
width:30px;
display:inline-block;
margin-right:10px;
border-radius:50px;
text-align: center;
line-height: 30px;
}
}
}
2016-12-20 12:44:02 +00:00
}
#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;
2016-10-13 18:05:28 +00:00
2016-12-20 12:44:02 +00:00
.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;
}
}
2016-10-13 18:05:28 +00:00
}
2017-02-07 22:30:11 +00:00
.teaser{
font-style: italic;
}
.description{
font-weight: bold;
}
2017-02-08 10:25:06 +00:00
.backgroundimg{
Background-position: center;
}