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

209 lines
2.8 KiB
SCSS
Raw Normal View History

2016-09-01 22:05:38 +00:00
.has-text-justified {
text-align: justify;
}
2016-10-31 12:48:39 +00:00
html, .footer {
background-color: white;
}
.hero {
background-position: center;
background-size: cover;
}
2016-10-12 08:57:23 +00:00
.content {
a {
&:not(.button) {
border-bottom: none;
}
&:visited:hover {
color: $link-hover;
}
}
}
2016-11-01 12:28:23 +00:00
#navbar {
margin-bottom: 10px;
.logo-wrapper {
padding-bottom: 0;
}
.actual-nav-bar {
2016-11-01 18:57:09 +00:00
padding: 0;
margin: 10px;
margin-bottom: 0;
2016-11-01 12:28:23 +00:00
border-bottom: 1px solid #eee;
}
}
2016-10-04 15:42:56 +00:00
header.section {
padding-bottom: 10px;
}
main.section {
padding-top: 20px;
}
2016-08-02 17:54:18 +00:00
2016-08-23 18:21:02 +00:00
#navbar {
align-items: flex-end;
2016-08-02 17:54:18 +00:00
2016-09-01 22:05:38 +00:00
#inline-logo {
min-width: 38.703px;
}
2016-08-23 18:21:02 +00:00
#logo-link {
#logo {
2016-08-30 21:20:15 +00:00
padding-top: 10px;
padding-left: 10px;
2016-08-23 18:21:02 +00:00
width: 100px;
}
}
.nav {
height: 100%;
align-items: flex-end;
2016-08-23 18:21:02 +00:00
.nav-item {
2016-08-02 17:54:18 +00:00
transition: 0.2s;
2016-08-23 18:21:02 +00:00
font-variant: small-caps;
2016-09-03 19:37:00 +00:00
font-size: 1.15em;
2016-08-23 18:21:02 +00:00
&:hover {
transition: 0.2s;
}
&.social-icon {
padding-left: 5px;
padding-right: 5px;
}
&.is-tab {
border-bottom: 3px solid transparent;
border-top: 3px solid transparent;
&:hover, &.is-active {
border-bottom-color: $zeus-orange;
}
}
2016-08-02 17:54:18 +00:00
}
}
}
2016-08-27 17:07:03 +00:00
2016-09-03 14:51:25 +00:00
footer.footer {
padding-bottom: 40px;
2016-08-27 17:07:03 +00:00
.fa {
vertical-align: inherit;
}
}
2016-10-03 17:21:29 +00:00
::selection {
2016-10-03 18:21:17 +00:00
color: white;
background: rgba(255, 127, 0, 0.99);
2016-10-03 17:21:29 +00:00
}
2016-10-04 20:04:34 +00:00
.imgcenter {
display: flex;
justify-content: center;
align-items: center;
}
.hydra-tile {
background-color: #1E64C8;
}
.lana-tile {
background-color: $tile-orange;
}
2016-10-04 21:06:41 +00:00
.project-tile {
background-color: $turquoise;
2016-10-04 15:42:56 +00:00
}
2016-10-31 16:51:52 +00: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 13:13:22 +00:00
&.is-active {
2016-10-31 16:51:52 +00:00
max-height: 250px;
}
}
//for better spacing on mobile
header.section {
padding: 0px 0px;
2016-11-01 16:11:51 +00:00
padding-bottom: 15px;
}
main.section {
padding-top: 0px;
}
2016-11-01 12:28:23 +00:00
.is-narrow {
flex: none;
}
2016-10-31 16:51:52 +00:00
}
2016-10-04 20:04:34 +00:00
#tipue_search_input {
background: none;
padding: 12px;
font: inherit;
color: inherit;
2016-10-08 17:18:37 +00:00
width: 40px;
border-color: rgba(0, 0, 0, 0);
2016-10-04 20:04:34 +00:00
display: flex;
flex-direction: row;
2016-10-08 19:24:55 +00:00
justify-content: inherit;
2016-10-08 17:18:37 +00:00
transition: all 0.5s;
2016-10-04 20:04:34 +00:00
input {
background: none;
border: none;
-moz-appearance: none;
-webkit-appearance: none;
box-shadow: none;
outline: 0;
margin: 0;
color: inherit;
}
2016-10-08 17:18:37 +00:00
&:hover, &:focus, &.focused {
width: 170px;
border: 1px solid #e2e2e2;
}
2016-10-04 20:04:34 +00:00
&::before {
font: normal normal normal 14px/1 FontAwesome;
content: "\f002 ";
color: inherit;
padding-right: 5px;
}
}
2016-10-29 20:04:20 +00:00
.fa {
vertical-align: baseline;
}
2016-11-01 16:11:51 +00:00
.subnav {
margin-top: -20px;
}