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

209 lines
2.8 KiB
SCSS
Raw Normal View History

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