zeus.ugent.be/content/stylesheet.scss

104 lines
1.5 KiB
SCSS
Raw Normal View History

2016-07-05 20:13:14 +00:00
$zeus_orange: #FF7F00;
$event-padding: 10px;
$navbar-border-color: #CCC;
2016-06-29 19:38:57 +00:00
2016-07-05 20:13:14 +00:00
#container {
height: 700px;
margin-top: 35px;
2016-06-17 23:43:41 +00:00
}
2016-07-05 20:13:14 +00:00
#logo {
height: 150px;
2016-06-17 23:43:41 +00:00
}
2016-07-05 20:13:14 +00:00
#logos {
display: inline-block;
color: black;
2016-07-06 09:11:39 +00:00
a, a:hover, a:visited, a:link, a:active {
2016-07-05 21:57:18 +00:00
text-decoration: none;
color: currentColor;
}
2016-07-05 20:13:14 +00:00
.logo-link {
margin-left: 10px;
2016-07-05 21:57:18 +00:00
transition: 0.2s;
&:hover {
color: $zeus_orange;
transition: 0.2s;
}
2016-07-05 20:13:14 +00:00
}
2016-06-17 23:43:41 +00:00
}
2016-07-05 20:13:14 +00:00
.header-top {
display: flex;
justify-content: space-between;;
align-items: flex-end;
2016-06-17 23:43:41 +00:00
}
2016-07-05 20:13:14 +00:00
#navbar {
border-top: 1px solid $navbar-border-color;
border-bottom: 1px solid $navbar-border-color;
2016-07-05 21:57:18 +00:00
padding-top: 7px;
padding-bottom: 7px;
2016-06-17 23:43:41 +00:00
2016-07-05 20:13:14 +00:00
color: black;
2016-06-17 23:43:41 +00:00
2016-07-05 20:13:14 +00:00
display: flex;
justify-content: space-around;
2016-06-17 23:43:41 +00:00
2016-07-05 20:13:14 +00:00
margin-bottom: $event-padding * 2;
margin-top: $event-padding * 2;
2016-06-17 23:43:41 +00:00
2016-07-05 21:57:18 +00:00
.navlink {
padding: 8px;
transition: 0.2s;
}
2016-07-05 20:13:14 +00:00
.navlink:hover {
2016-07-05 21:57:18 +00:00
background-color: $zeus_orange;
color: white;
transition: 0.2s;
2016-07-05 20:13:14 +00:00
}
2016-06-17 23:43:41 +00:00
}
2016-07-05 20:13:14 +00:00
.main-event {
height: 250px;
margin-bottom: $event-padding;
2016-07-05 20:38:59 +00:00
overflow: hidden;
2016-06-17 23:43:41 +00:00
}
2016-07-05 20:13:14 +00:00
#all-events {
margin-left: -10px;
margin-right: -10px;
.event {
2016-07-05 20:38:59 +00:00
border: 2px solid #DDD;
position: relative;
2016-07-05 20:13:14 +00:00
2016-07-05 20:38:59 +00:00
overflow: hidden;
2016-07-05 20:13:14 +00:00
height: 200px;
margin: $event-padding;
2016-07-05 20:38:59 +00:00
2016-07-05 20:13:14 +00:00
}
2016-06-17 23:43:41 +00:00
}
2016-07-05 20:38:59 +00:00
.event:after {
content: '\A';
position: absolute;
width: 100%; height:100%;
top:0; left:0;
background:rgba(0,0,0,0.6);
opacity: 0;
transition: all 0.5s;
-webkit-transition: all 0.5s;
}
.event:hover:after {
opacity: 1;
}