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

161 lines
2.8 KiB
SCSS
Raw Normal View History

2018-10-06 07:05:18 +02:00
@media only screen and (max-width: 425px) {
table {
border-collapse: inherit;
}
2018-10-06 07:05:18 +02:00
thead {
> tr {
visibility: collapse;
2017-10-13 13:30:56 +02:00
}
2018-10-06 07:05:18 +02:00
}
tbody {
> tr {
display: grid;
grid-template-columns: auto auto;
grid-template-areas:
"func func"
"name name"
"email link";
2017-10-13 13:30:56 +02:00
2018-10-06 07:05:18 +02:00
width: 87vw;
}
> tr > td:nth-child(3) {
grid-area: email;
border: none;
2018-10-06 07:05:18 +02:00
}
> tr > td:nth-child(2) {
grid-area: name;
border: none;
2018-10-06 07:05:18 +02:00
}
> tr > td:nth-child(4) {
display: grid;
justify-items: end;
grid-area: link;
border: none;
2018-10-06 07:05:18 +02:00
}
> tr > td:nth-child(1) {
grid-area: func;
border: none;
2018-10-06 07:05:18 +02:00
}
}
tbody {
> tr > td:nth-child(3):before {
content: "E-mail: ";
font-weight: bold;
}
}
tbody {
> tr > td:nth-child(2):before {
content: "Name: ";
font-weight: bold;
}
}
tbody {
> tr > td:nth-child(1):before {
content: "Function: ";
font-weight: bold;
}
}
tbody {
> tr > td:nth-child(4):before {
grid-area: link;
}
}
}
2017-10-12 01:16:50 +02:00
2018-10-06 07:05:18 +02:00
#contact-icons {
display: flex;
justify-content: center;
align-items: center;
2017-10-12 01:16:50 +02:00
2018-10-06 07:05:18 +02:00
> .column {
max-width: 70vw;
}
2017-10-12 01:16:50 +02:00
2018-10-06 07:05:18 +02:00
.contact-circle-option {
display: block;
max-width: 200px;
2017-10-12 01:16:50 +02:00
2018-10-06 07:05:18 +02:00
.contact-circle-wrapper {
display: block;
position: relative;
width: 60%;
padding-bottom: 60%;
height: 0;
margin: 0 auto;
2017-10-12 01:16:50 +02:00
2018-10-06 07:05:18 +02:00
.contact-circle-pulse {
position: absolute;
left: 0;
width: 100%;
height: 100%;
border-radius: 50%;
border: 1px solid $secondary;
margin: 0 auto;
}
2017-10-12 01:16:50 +02:00
2018-10-06 07:05:18 +02:00
.contact-circle {
position: absolute;
left: 0;
width: 100%;
height: 100%;
border-radius: 50%;
background-color: $secondary;
display: flex;
justify-content: center;
align-items: center;
margin: 0 auto;
color: $highlighted-text-colour;
}
2017-10-12 01:16:50 +02:00
}
2018-10-06 07:05:18 +02:00
.contact-circle-wrapper:hover,
.contact-circle-wrapper:focus {
.grow {
transition: all 0.2s ease-in-out;
-moz-transform: scale(1.2);
-webkit-transform: scale(1.2);
transform: scale(1.2);
}
2017-10-19 16:41:56 +02:00
}
2018-10-06 07:05:18 +02:00
.contact-description {
display: block;
text-align: center;
margin-top: 20px;
color: $primary;
2017-10-19 16:41:56 +02:00
}
2018-10-06 07:05:18 +02:00
.contact-text-link {
color: $text;
border-bottom: 1px solid $secondary;
margin-top: 7px;
//font-size: 1.5em;
2017-10-19 16:41:56 +02:00
}
2018-10-06 07:05:18 +02:00
.contact-text-link:hover {
color: $secondary;
2017-10-19 16:41:56 +02:00
}
2018-10-06 07:05:18 +02:00
}
}
#contact-info {
h1 {
margin-bottom: 0.3em;
}
.is-divider {
margin-bottom: 0.7em;
margin-top: 0.7em;
}
#contact-location-buttons {
width: 100%;
text-align: center;
}
.button:hover,
.button:focus {
border-color: $primary;
}
}