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

182 lines
2.7 KiB
SCSS
Raw Normal View History

2017-02-08 16:31:17 +01:00
$top_coder_size: 80px;
2016-08-30 22:48:58 +02:00
#homepage {
.box {
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
2017-10-11 22:31:19 +02:00
.event-tile {
display: flex;
align-items: center;
justify-content: center;
padding: 1em;
filter: grayscale(30%);
.event-content {
2017-10-12 01:16:50 +02:00
color: $text;
2017-10-11 22:31:19 +02:00
height: 100%;
width: 100%;
2017-12-16 18:20:55 +01:00
// background: rgba($tertiary, 0.2);
2017-10-11 22:31:19 +02:00
display: flex;
align-items: center;
justify-content: center;
.event-text {
display: inline-block;
font-size: 1.1em;
2017-10-13 11:24:06 +02:00
margin-left: 10px;
margin-right: 10px;
2017-12-16 18:12:00 +01:00
>h2 {
margin-bottom: 0;
}
>hr {
margin: 0.4rem 0;
}
2017-10-13 11:24:06 +02:00
.event-time-loc {
margin-left: 10px;
margin-right: 10px;
}
2017-10-11 22:31:19 +02:00
}
2017-10-13 11:24:06 +02:00
2017-10-11 22:31:19 +02:00
.is-divider {
margin: 0.5em;
}
}
}
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;
2019-12-06 22:14:02 +01:00
h1, h2, h3 {
2016-10-04 16:06:26 +02:00
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 {
2017-12-17 20:17:01 +01:00
font-variant: all-small-caps;
2016-10-13 20:05:28 +02:00
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 {
2017-12-16 18:12:00 +01:00
2016-12-20 13:44:02 +01:00
position: relative;
height: 200px;
2017-12-16 18:12:00 +01:00
background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, .2)), url("https://cldup.com/-FmSDFbd07.jpg");
2016-12-20 13:44:02 +01:00
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;
2019-12-06 22:14:02 +01:00
h1, h2, h3 {
2016-12-20 13:44:02 +01:00
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
}
2017-12-17 20:17:01 +01:00
.gamification-tile {
overflow: hidden;
padding: 0;
.tile-header {
background-color: $primary;
padding: 20px;
h1 {
margin: 0;
}
a, a:visited {
color: white;
}
}
#gamification-coders {
padding: 20px;
}
}