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

126 lines
1.7 KiB
SCSS
Raw Normal View History

// Small helper in bulma style
2016-09-02 00:05:38 +02:00
.has-text-justified {
text-align: justify;
}
// Override box styling without round corners
.box {
margin-bottom:10px;
border-radius: 0 !important;
}
// Add some hero attributes to make backgrounds prettier
.hero {
background-position: center;
background-size: cover;
}
// link borders are unnecessary
2016-10-12 10:57:23 +02:00
.content {
a {
&:not(.button) {
border-bottom: none;
}
&:visited:hover {
color: $link-hover;
}
}
}
footer .content a {
&:not(.button) {
color: $text-light;
2016-11-01 13:28:23 +01:00
&:visited {
color: $text-light;
}
2016-11-03 23:07:41 +01:00
&:hover {
color: $link-hover;
}
2016-11-03 23:07:41 +01:00
}
2016-11-01 13:28:23 +01:00
}
// Proper padding of these sections
2016-10-04 17:42:56 +02:00
header.section {
padding-bottom: 10px;
}
main.section {
padding-top: 20px;
}
2016-09-03 16:51:25 +02:00
footer.footer {
padding-bottom: 40px;
2016-08-27 19:07:03 +02:00
}
2016-10-03 19:21:29 +02:00
// Cursor highlight color
2016-10-03 19:21:29 +02:00
::selection {
2016-10-03 20:21:17 +02:00
color: white;
background: rgba(255, 127, 0, 0.99);
2016-10-03 19:21:29 +02:00
}
2016-10-04 22:04:34 +02:00
2016-12-20 13:44:02 +01:00
.has-content-centered, .imgcenter {
2016-10-04 22:04:34 +02:00
display: flex;
justify-content: center;
align-items: center;
}
.hydra-tile {
background-color: #1E64C8;
}
.lana-tile {
background-color: $tile-orange;
}
2016-10-04 23:06:41 +02:00
.project-tile {
background-color: $turquoise;
2016-10-04 17:42:56 +02:00
}
2016-10-31 17:51:52 +01:00
// For better centering on mobile
@media screen and (max-width: 768px) {
#tipue_search_input {
margin: 5px;
}
.nav-menu {
flex-direction: column;
max-height: 0;
overflow: hidden;
transition: all 0.30s ease-in-out;
2016-11-02 14:13:22 +01:00
&.is-active {
2016-10-31 17:51:52 +01:00
max-height: 250px;
}
}
//for better spacing on mobile
header.section {
padding: 0px 0px;
2016-11-01 17:11:51 +01:00
padding-bottom: 15px;
}
main.section {
padding-top: 0px;
}
2016-11-01 13:28:23 +01:00
.is-narrow {
flex: none;
}
2016-10-31 17:51:52 +01:00
}
2016-10-29 22:04:20 +02:00
.fa {
vertical-align: baseline;
}
2016-11-01 17:11:51 +01:00
.subnav {
margin-top: -20px;
}
2016-12-12 14:34:43 +01:00
.heart {
color: $red;
}