datascience/src/styles/styles.scss

116 lines
1.9 KiB
SCSS
Raw Normal View History

2018-12-04 14:38:27 +01:00
@import 'fonts';
@import 'global';
body {
color: $brand-white;
}
main {
2018-12-04 15:02:40 +01:00
background: $brand-black url('/assets/img/mantaray-back.svg') no-repeat
center top;
2018-12-04 14:55:23 +01:00
background-size: cover;
2018-12-04 14:38:27 +01:00
min-height: 100vh;
display: flex;
flex-wrap: wrap;
padding-top: 15%;
@media (min-width: $break-point--small) {
padding-top: 0;
align-items: center;
justify-content: center;
min-height: calc(100vh - #{$page-frame * 2});
}
}
article {
width: 100%;
padding: $spacer;
flex: 1;
text-align: center;
}
header {
max-width: 40rem;
margin: auto;
}
h1 {
2018-12-13 15:30:49 +01:00
margin-bottom: $spacer / 2;
2018-12-04 14:38:27 +01:00
font-size: $font-size-h3;
@media (min-width: $break-point--small) {
font-size: $font-size-h1;
}
}
2018-12-13 15:30:49 +01:00
h2 {
margin-top: 0;
margin-bottom: $spacer;
font-size: $font-size-h5;
@media (min-width: $break-point--small) {
font-size: $font-size-h4;
}
}
p {
max-width: 40rem;
margin: auto;
text-align: left;
margin-bottom: $spacer / 2;
}
2018-12-04 14:38:27 +01:00
img {
width: 5rem;
height: 5rem;
display: block;
margin: auto;
}
.links {
2018-12-13 15:30:49 +01:00
margin-top: $spacer;
2018-12-04 14:38:27 +01:00
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.link {
display: inline-block;
padding: $spacer / 3 $spacer;
border: 1px solid $brand-pink;
border-radius: $border-radius;
margin: 0 $spacer / 2;
flex: 1;
white-space: nowrap;
margin-bottom: $spacer;
max-width: 20rem;
2018-12-04 15:02:40 +01:00
background: rgba($brand-black, 0.8);
2018-12-04 14:38:27 +01:00
}
footer {
width: 100%;
font-size: $font-size-mini;
padding: $spacer;
display: flex;
justify-content: space-between;
align-self: flex-end;
&,
a {
color: $brand-grey-light;
}
> div {
flex: 1 1 48%;
&:last-child {
text-align: right;
a {
display: inline-block;
margin-left: $spacer / 2;
}
}
}
}