1
0
mirror of https://github.com/kremalicious/portfolio.git synced 2024-12-22 17:23:22 +01:00

change availability line placement tactic

* closes #97
This commit is contained in:
Matthias Kretschmann 2019-03-20 01:03:42 -03:00
parent ba1aac7640
commit db7cac9649
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 9 additions and 8 deletions

View File

@ -1,13 +1,12 @@
@import 'variables';
.availability {
position: absolute;
bottom: 0;
border-radius: .25rem;
color: $text-color-light;
z-index: 2;
padding: $spacer / 2;
display: block;
margin-top: auto;
:global(.dark) & {
color: $text-color-light--dark;
@ -27,6 +26,8 @@
color: $brand-main;
position: fixed;
bottom: $spacer;
left: 50%;
transform: translateX(-50%);
:global(.dark) & {
background: rgba($body-background-color--dark, .8);

View File

@ -3,13 +3,13 @@
.header {
position: relative;
padding: $spacer;
height: calc(100vh - #{$spacer});
padding-top: 30vh;
min-height: calc(100vh - #{$spacer});
max-height: 1000px;
display: flex;
flex-wrap: wrap;
align-content: center;
justify-content: center;
text-align: center;
display: flex;
flex-direction: column;
justify-content: flex-start;
}
.link {
@ -19,7 +19,7 @@
}
.minimal {
height: auto;
min-height: 0;
padding-top: $spacer * 2;
padding-bottom: 0;