zeus.ugent.be/content/assets/stylesheets/main.scss

253 lines
3.9 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-07-18 10:33:35 +00:00
$event-border-color: #DDD;
2016-06-29 19:38:57 +00:00
2016-07-18 07:24:24 +00:00
$cammie-controls-color: rgba(0, 0, 0, 0.60);
2016-07-20 12:38:50 +00:00
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,700);
2016-07-12 21:14:12 +00:00
html, button, input, select, textarea,
.pure-g [class *= "pure-u"] {
2016-07-12 21:58:08 +00:00
font-family: 'Open Sans', sans-serif;
2016-07-12 21:14:12 +00:00
}
2016-07-18 07:24:24 +00:00
html, body {
width: 100%;
height: 100%;
2016-07-27 16:13:52 +00:00
color: #444;
}
h1, h2, strong {
color: #222;
2016-07-18 07:24:24 +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-18 10:33:35 +00:00
a, a:hover, a:visited, a:link, a:active {
color: $zeus_orange;
}
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
2016-07-18 13:08:41 +00:00
a {
2016-07-05 21:57:18 +00:00
padding: 8px;
transition: 0.2s;
2016-07-18 10:33:35 +00:00
2016-07-19 06:39:52 +00:00
font-variant: small-caps;
font-size: 1.25em;
2016-07-18 13:08:41 +00:00
&, &:hover, &:visited, &:link, &:active {
2016-07-18 10:33:35 +00:00
text-decoration: none;
color: black;
}
2016-07-18 13:08:41 +00:00
&:hover {
background-color: $zeus_orange;
transition: 0.2s;
2016-07-18 10:33:35 +00:00
color: white;
}
2016-07-05 20:13:14 +00:00
}
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-18 10:33:35 +00:00
border: 2px solid $event-border-color;
2016-07-05 20:38:59 +00:00
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-18 14:31:45 +00:00
&: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;
}
&:hover:after {
opacity: 1;
}
2016-07-05 20:13:14 +00:00
}
2016-06-17 23:43:41 +00:00
}
2016-07-05 20:38:59 +00:00
2016-07-12 21:14:12 +00:00
#event-banner {
position: fixed;
2016-07-12 21:58:08 +00:00
min-width: 100%;
}
#event-description {
padding: 20px;
}
#event-info {
padding-top: 20px;
2016-07-12 21:14:12 +00:00
}
#event-content {
position: absolute;
top: 500px;
background-color: white;
height: 100vh;
2016-07-12 21:58:08 +00:00
border-top: 2px solid $navbar-border-color;
2016-07-12 21:14:12 +00:00
}
#event-title {
text-align: center;
2016-07-12 21:58:08 +00:00
font-size: 50px;
line-height: 50px;
2016-07-12 21:14:12 +00:00
}
#sticky.stick {
position: fixed;
top: 0;
z-index: 10000;
width: 100%;
background-color: white;
}
2016-07-18 07:24:24 +00:00
#cammie {
2016-07-18 13:08:41 +00:00
object-fit: contain;
2016-07-18 14:31:45 +00:00
max-width: 100%;
height: auto;
2016-07-18 07:24:24 +00:00
}
.fullpage {
min-width: 100%;
min-height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
background-color: black;
}
.ctrl {
background-color: $cammie-controls-color;
color: white;
position: absolute;
z-index: 100;
// Chevron centering
display: flex;
justify-content: center;
align-items: center;
&:hover {
background-color: $zeus_orange;
z-index: 200;
2016-07-18 09:15:03 +00:00
cursor: pointer;
2016-07-18 07:24:24 +00:00
}
}
#left {
height: 100%;
width: 100px;
top: 0;
left: 0;
}
#right {
height: 100%;
width: 100px;
top: 0;
right: 0;
}
#up {
height: 100px;
width: 100%;
top: 0;
}
#down {
height: 100px;
width: 100%;
bottom: 0;
}
2016-07-26 20:48:59 +00:00
.project-card {
background-color: #2D5CB4;
color: white;
height: 300px;
margin-top: 5px;
margin-bottom: 5px;
display: flex;
justify-content: space-between;
.project-title {
background: #1e3c72; /* fallback for old browsers */
background: -webkit-linear-gradient(to left, #1e3c72 , #2a5298); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to left, #1e3c72 , #2a5298); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
font-size: 4em;
padding: 20px;
flex-grow: 1;
}
.project-description {
background-color: #1e3c72;
text-align: right;
padding: 20px;
width: 700px;
}
}