zeus.ugent.be/content/assets/stylesheets/includes/general.scss
2016-11-01 13:28:23 +01:00

192 lines
2.6 KiB
SCSS

.has-text-justified {
text-align: justify;
}
html, .footer {
background-color: white;
}
.hero {
background-position: center;
background-size: cover;
}
.content {
a {
&:not(.button) {
border-bottom: none;
}
&:visited:hover {
color: $link-hover;
}
}
}
#navbar {
margin-bottom: 10px;
.logo-wrapper {
padding-bottom: 0;
}
.actual-nav-bar {
padding-bottom: 0;
border-bottom: 1px solid #eee;
}
}
header.section {
padding-bottom: 10px;
}
main.section {
padding-top: 20px;
}
#navbar {
align-items: flex-end;
#inline-logo {
min-width: 38.703px;
}
#logo-link {
#logo {
padding-top: 10px;
padding-left: 10px;
width: 100px;
}
}
.nav {
height: 100%;
align-items: flex-end;
.nav-item {
transition: 0.2s;
font-variant: small-caps;
font-size: 1.15em;
&: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;
}
}
}
}
}
footer.footer {
padding-bottom: 40px;
.fa {
vertical-align: inherit;
}
}
::selection {
color: white;
background: rgba(255, 127, 0, 0.99);
}
.imgcenter {
display: flex;
justify-content: center;
align-items: center;
}
.hydra-tile {
background-color: #1E64C8;
}
.lana-tile {
background-color: $tile-orange;
}
.project-tile {
background-color: $turquoise;
}
// 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;
&.open {
max-height: 250px;
}
}
.is-narrow {
flex: none;
}
}
#tipue_search_input {
background: none;
padding: 12px;
font: inherit;
color: inherit;
width: 40px;
border-color: rgba(0, 0, 0, 0);
display: flex;
flex-direction: row;
justify-content: inherit;
transition: all 0.5s;
input {
background: none;
border: none;
-moz-appearance: none;
-webkit-appearance: none;
box-shadow: none;
outline: 0;
margin: 0;
color: inherit;
}
&:hover, &:focus, &.focused {
width: 170px;
border: 1px solid #e2e2e2;
}
&::before {
font: normal normal normal 14px/1 FontAwesome;
content: "\f002 ";
color: inherit;
padding-right: 5px;
}
}
.fa {
vertical-align: baseline;
}