mirror of
https://gitea.smigz.com/smiggiddy/odin-codeprojects.git
synced 2024-12-25 22:10:43 -05:00
feat: basic mobile layout
This commit is contained in:
parent
a6b1c0f6e8
commit
4ea49a9e74
1 changed files with 36 additions and 2 deletions
|
@ -8,6 +8,7 @@
|
|||
.container {
|
||||
justify-content: center;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
align-content: center;
|
||||
height: 100vh;
|
||||
|
@ -15,10 +16,37 @@
|
|||
background-color: var(--light-bg);
|
||||
}
|
||||
|
||||
/* .sidebar {
|
||||
.sidebar {
|
||||
height: 100%;
|
||||
background-image: url(../static/background.jpg);
|
||||
background-position: center;
|
||||
background-size: auto;
|
||||
background-repeat: no-repeat;
|
||||
height: 100%;
|
||||
}
|
||||
.logo {
|
||||
position: relative;
|
||||
} */
|
||||
background-color: rgb(22, 72, 99, 0.7);
|
||||
top: 15vh;
|
||||
height: 200px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.logo img {
|
||||
height: 14vh;
|
||||
}
|
||||
|
||||
.logo img {
|
||||
height: 14vh;
|
||||
}
|
||||
|
||||
.logo h1 {
|
||||
font-weight: 900;
|
||||
font-size: 3rem;
|
||||
color: var(--light-bg);
|
||||
}
|
||||
|
||||
.form {
|
||||
width: 60vw;
|
||||
|
@ -47,6 +75,12 @@
|
|||
}
|
||||
|
||||
@media only screen and (min-width: 700px) {
|
||||
.container {
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
align-content: center;
|
||||
}
|
||||
.sidebar {
|
||||
width: 50vw;
|
||||
margin-right: 10px;
|
||||
|
|
Loading…
Reference in a new issue