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

174 lines
2.6 KiB
SCSS
Raw Normal View History

2017-02-08 15:31:17 +00:00
$top_coder_size: 80px;
2016-08-30 20:48:58 +00:00
#homepage {
.box {
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
2017-10-11 20:31:19 +00:00
.event-tile {
display: flex;
align-items: center;
justify-content: center;
padding: 1em;
filter: grayscale(30%);
.event-content {
2017-10-11 23:16:50 +00:00
color: $text;
2017-10-11 20:31:19 +00:00
height: 100%;
width: 100%;
2017-12-16 17:20:55 +00:00
// background: rgba($tertiary, 0.2);
2017-10-11 20:31:19 +00:00
display: flex;
align-items: center;
justify-content: center;
.event-text {
display: inline-block;
font-size: 1.1em;
2017-10-13 09:24:06 +00:00
margin-left: 10px;
margin-right: 10px;
2017-12-16 17:12:00 +00:00
2017-10-13 09:24:06 +00:00
.event-time-loc {
margin-left: 10px;
margin-right: 10px;
}
2017-10-11 20:31:19 +00:00
}
2017-10-13 09:24:06 +00:00
2017-10-11 20:31:19 +00:00
.is-divider {
margin: 0.5em;
}
}
}
2016-10-03 14:56:56 +00:00
.centering {
display: flex;
2017-04-24 19:11:18 +00:00
2016-10-03 14:56:56 +00:00
justify-content: center;
2016-10-04 20:04:34 +00:00
align-items: center;
2016-10-03 14:56:56 +00:00
}
2017-04-24 19:11:18 +00:00
.highlighted {
2016-10-04 14:06:26 +00:00
background: $tile-orange;
.content {
color: white;
2019-12-06 21:14:02 +00:00
h1, h2, h3 {
2016-10-04 14:06:26 +00:00
color: inherit;
}
2016-10-13 21:05:06 +00:00
a, a:visited {
2016-10-04 14:06:26 +00:00
color:inherit;
}
}
}
.icon a{
color:$tile-orange;
}
2017-02-08 15:31:17 +00:00
2016-10-13 18:05:28 +00:00
#gamification-coders {
2017-12-17 19:17:01 +00:00
font-variant: all-small-caps;
2016-10-13 18:05:28 +00:00
display: flex;
2017-04-24 19:11:18 +00:00
2016-10-13 18:05:28 +00:00
justify-content: center;
2017-02-08 15:31:17 +00:00
table {
position: relative;
tr:first-child {
width: $top_coder_size;
2017-04-24 19:11:18 +00:00
height: $top_coder_size;
2017-02-08 15:31:17 +00:00
.picture img {
width: $top_coder_size !important;
2017-04-24 19:11:18 +00:00
height: $top_coder_size;
2017-02-08 15:31:17 +00: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 19:11:18 +00:00
padding: 0;
2017-02-08 15:31:17 +00:00
vertical-align: middle;
text-align: center;
&.picture {
width: $top_coder_size !important;
}
&.score {
padding-right: 10px;
2017-04-24 19:11:18 +00:00
text-align: right;
2016-10-13 18:05:28 +00:00
}
}
}
2017-02-08 15:31:17 +00:00
.picture img {
2017-04-24 19:11:18 +00:00
z-index: 1;
2017-02-08 15:31:17 +00:00
margin: 10px 0;
2017-04-24 19:11:18 +00:00
width: 40px !important;
height: 40px;
2017-02-08 15:31:17 +00:00
border-radius: 50px;
2017-04-24 19:11:18 +00:00
vertical-align: middle;
2017-02-08 15:31:17 +00:00
}
2016-12-20 12:44:02 +00:00
}
#blokmap-tile {
2017-12-16 17:12:00 +00:00
2016-12-20 12:44:02 +00:00
position: relative;
height: 200px;
2017-12-16 17:12:00 +00: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 12:44:02 +00:00
background-position: center;
2016-10-13 18:05:28 +00:00
2016-12-20 12:44:02 +00:00
.overlay {
position: absolute;
2017-04-24 19:11:18 +00:00
top: 0;
left: 0;
2016-12-20 12:44:02 +00:00
width: 100%;
2017-04-24 19:11:18 +00:00
height: 100%;
2016-12-20 12:44:02 +00:00
background-color: rgba(0, 0, 0, 0.2);
}
.content {
position: relative;
2019-12-06 21:14:02 +00:00
h1, h2, h3 {
2016-12-20 12:44:02 +00:00
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{
2017-02-08 12:50:59 +00:00
background-position: center;
2017-02-08 10:25:06 +00:00
}
2017-12-17 19:17:01 +00: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;
}
}