5
0
mirror of https://github.com/cwinfo/yggdrasil-network.github.io.git synced 2024-11-09 01:40:26 +00:00

Merge pull request #73 from passenger0245/master

- fix scaling issues
This commit is contained in:
Neil Alexander 2019-08-06 12:48:32 +01:00 committed by GitHub
commit 688d374435
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,8 +23,20 @@ section {
flex: auto; flex: auto;
max-width: 100vw; max-width: 100vw;
margin-right: 20px; margin-right: 20px;
@media screen and (max-width: 767px) { @media screen and (max-width: 768px) {
margin-top: 20px;
border: 0; border: 0;
float: none;
position: relative;
flex: initial;
word-break: break-word;
table {
thead {
th {
min-width: 90px;
}
}
}
} }
} }
@ -32,15 +44,20 @@ header {
flex: initial; flex: initial;
position: relative; position: relative;
margin-right: 1em; margin-right: 1em;
@media screen and (max-width: 767px) { @media screen and (max-width: 768px) {
> p {
padding-right: 20%;
}
font-size: 0; font-size: 0;
margin: 0;
padding: 0;
&:before { &:before {
content:'\2261'; content:'\2261';
display: block; display: block;
position: absolute; position: absolute;
left: 0px; left: 0px;
font-size: 32px; font-size: 40px;
top: -30px; top: -38px;
} }
img { img {
display: none; display: none;
@ -50,6 +67,11 @@ header {
top: -23px; top: -23px;
left: 50px; left: 50px;
} }
a {
&:hover {
font-weight: initial;
}
}
&:hover { &:hover {
padding: 0; padding: 0;
font-size: initial; font-size: initial;
@ -59,13 +81,17 @@ header {
} }
position: fixed; position: fixed;
height: 100%; height: 100%;
overflow: scroll; overflow-y: scroll;
background-color: white; background-color: white;
top: 0px; top: 0px;
left: 0;
right: 0;
bottom: 0;
width: 100%; width: 100%;
z-index: 100; z-index: 100;
padding-top: 45px; padding-top: 20px;
padding-bottom: 50px; padding-bottom: 50px;
padding-left: 20px;
p { p {
a { a {
font-size: 24px; font-size: 24px;