Rework menu and integrate splash screen
This commit is contained in:
@@ -1,6 +1,13 @@
|
||||
:root
|
||||
{
|
||||
--font-size : 1.25vmax;
|
||||
@media screen and (min-width: 601px) {
|
||||
:root {
|
||||
--font-size : 18px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 600px) {
|
||||
:root {
|
||||
--font-size : 15px;
|
||||
}
|
||||
}
|
||||
|
||||
*
|
||||
@@ -13,7 +20,7 @@
|
||||
|
||||
h1
|
||||
{
|
||||
font-size: calc(var(--font-size, 1vw) * 2.5);
|
||||
font-size: calc(var(--font-size, 1vw) * 2.15);
|
||||
}
|
||||
|
||||
html
|
||||
@@ -58,7 +65,7 @@ hr {
|
||||
|
||||
}
|
||||
|
||||
nav
|
||||
/*nav
|
||||
{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -81,7 +88,7 @@ nav a
|
||||
.nav_delimiter
|
||||
{
|
||||
margin-bottom: 5vh;
|
||||
}
|
||||
}*/
|
||||
|
||||
form
|
||||
{
|
||||
@@ -122,7 +129,7 @@ footer
|
||||
margin-bottom: 0.25vh;
|
||||
|
||||
width: 100vw;
|
||||
height: 5vh;
|
||||
height: fit-content;
|
||||
}
|
||||
|
||||
footer a {
|
||||
|
||||
64
front/static/style/menu2.css
Normal file
64
front/static/style/menu2.css
Normal file
@@ -0,0 +1,64 @@
|
||||
.menu {
|
||||
font-family: 'Roboto', sans-serif;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
height: 100vh;
|
||||
width: 60px;
|
||||
list-style-type: none;
|
||||
background: rgb(252, 220, 171, 0.85);
|
||||
overflow: hidden;
|
||||
transition: width .3s;
|
||||
}
|
||||
|
||||
.menu:hover {
|
||||
width: 300px;
|
||||
}
|
||||
|
||||
.menu nav {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.menu nav a {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin: 15px 30px 0 5px;
|
||||
border-radius: 5px;
|
||||
height: fit-content;
|
||||
width: 250px;
|
||||
}
|
||||
|
||||
.menu nav a {
|
||||
font-size: .9rem;
|
||||
text-decoration: none;
|
||||
margin: 15px 5px 5px 5px;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.menu nav a div {
|
||||
color: #4b0611;
|
||||
}
|
||||
|
||||
.menu nav a:hover,
|
||||
.menu nav:first-child a {
|
||||
background: #dd3328;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 600px) {
|
||||
.menu
|
||||
{
|
||||
width: 45px
|
||||
}
|
||||
|
||||
.menu a img {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user