Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tweaks for mobile and flexbox layout for top nav #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 24 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,15 @@
height: 100px;
background-color: black;
display: flex;
flex-direction: column;
justify-content: center;
padding: 0 1rem;
justify-content: space-between;
align-items: center;
margin-bottom: 1.5em;
}
.top_nav .logo {
position: absolute;
top: 0;
left: 0;

}
.top_nav .title {
margin-left: 240px;
text-align: left;
color: #ff7300;
font-size: 2em;
Expand Down Expand Up @@ -114,6 +112,25 @@
padding: 0;
}
}

@media only screen and (max-width: 768px) {
.qrcode_container {
padding: 0.5rem;
margin: 0.5rem;
}
.qrcode_container img {
max-width: 100%;
height: auto;
}

.qrcode {
margin: 0.5rem;
}

.top_nav .title {
font-size: 1.2rem;
}
}


</style>
Expand Down Expand Up @@ -264,4 +281,4 @@ <h3>Settings QR</h3>
})
});
</script>
</body>
</body>