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

125 lines
1.8 KiB
SCSS
Raw Normal View History

2017-02-08 16:31:17 +01:00
$top_coder_size: 80px;
2016-10-03 20:52:01 +02:00
a.box {
&:hover {
box-shadow: 0 2px 3px rgba($black, 0.1), 0 0 0 1px $blue
}
}
2016-08-30 22:01:23 +02:00
2016-08-30 22:48:58 +02:00
#homepage {
.box {
2016-10-03 20:52:01 +02:00
border-radius: 0;
2016-11-02 15:27:01 +01:00
img {
width: 100%;
}
2016-08-27 02:16:35 +02:00
}
}
2016-10-03 16:56:56 +02:00
.centering {
display: flex;
2017-04-24 21:11:18 +02:00
2016-10-03 16:56:56 +02:00
justify-content: center;
2016-10-04 22:04:34 +02:00
align-items: center;
2016-10-03 16:56:56 +02:00
}
2017-04-24 21:11:18 +02:00
.highlighted {
2016-10-04 16:06:26 +02:00
background: $tile-orange;
.content {
color: white;
h1, h2 {
color: inherit;
}
2016-10-13 23:05:06 +02:00
a, a:visited {
2016-10-04 16:06:26 +02:00
color:inherit;
}
}
}
.icon a{
color:$tile-orange;
}
2017-02-08 16:31:17 +01:00
2016-10-13 20:05:28 +02:00
#gamification-coders {
display: flex;
2017-04-24 21:11:18 +02:00
2016-10-13 20:05:28 +02:00
justify-content: center;
2017-02-08 16:31:17 +01:00
table {
position: relative;
tr:first-child {
width: $top_coder_size;
2017-04-24 21:11:18 +02:00
height: $top_coder_size;
2017-02-08 16:31:17 +01:00
.picture img {
width: $top_coder_size !important;
2017-04-24 21:11:18 +02:00
height: $top_coder_size;
2017-02-08 16:31:17 +01:00
box-shadow: 0 0 0 3px #fff, 0 0 0 4px #999, 0 2px 5px 4px rgba(0,0,0,0.2);
}
}
td {
2017-04-24 21:11:18 +02:00
padding: 0;
2017-02-08 16:31:17 +01:00
vertical-align: middle;
text-align: center;
&.picture {
width: $top_coder_size !important;
}
&.score {
padding-right: 10px;
2017-04-24 21:11:18 +02:00
text-align: right;
2016-10-13 20:05:28 +02:00
}
}
}
2017-02-08 16:31:17 +01:00
.picture img {
2017-04-24 21:11:18 +02:00
z-index: 1;
2017-02-08 16:31:17 +01:00
margin: 10px 0;
2017-04-24 21:11:18 +02:00
width: 40px !important;
height: 40px;
2017-02-08 16:31:17 +01:00
border-radius: 50px;
2017-04-24 21:11:18 +02:00
vertical-align: middle;
2017-02-08 16:31:17 +01:00
}
2016-12-20 13:44:02 +01: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 20:05:28 +02:00
2016-12-20 13:44:02 +01:00
.overlay {
position: absolute;
2017-04-24 21:11:18 +02:00
top: 0;
left: 0;
2016-12-20 13:44:02 +01:00
width: 100%;
2017-04-24 21:11:18 +02:00
height: 100%;
2016-12-20 13:44:02 +01:00
background-color: rgba(0, 0, 0, 0.2);
}
.content {
position: relative;
h1, h2 {
color: white;
}
h2 {
margin-top: 0;
}
}
2016-10-13 20:05:28 +02:00
}
2017-02-07 23:30:11 +01:00
.teaser{
font-style: italic;
}
.description{
font-weight: bold;
}
2017-02-08 11:25:06 +01:00
.backgroundimg{
2017-02-08 13:50:59 +01:00
background-position: center;
2017-02-08 11:25:06 +01:00
}