Web interface layout complete
This commit is contained in:
1 parent
353b5f99d1
commit
19f5a8a49a
2 files changed
+209
-149
No files matched your search
+83
-41
@@ -5,13 +5,14 @@
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
margin: 50px 0 0 150px;
|
||||
padding: 0;
|
||||
background-image: linear-gradient(90deg, #000000, #000030, #6000B0, #000030);
|
||||
background-color: #000040;
|
||||
background-image: linear-gradient(90deg, #202020, #000000);
|
||||
background-color: #000000;
|
||||
color: #EEEEEE;
|
||||
font-family: Tahoma, Verdana, Arial, sans-serif;
|
||||
font-size: 16px;
|
||||
min-width: 800px;
|
||||
}
|
||||
|
||||
p {
|
||||
@@ -19,27 +20,30 @@ p {
|
||||
}
|
||||
|
||||
#page {
|
||||
margin: 40px 0 0 150px;
|
||||
left: 150px;
|
||||
top: 40px; /*This has to match hight of #nav_top so nav-top dosesnt overlap as its not in the same flow*/
|
||||
width: 100%;
|
||||
background-color: #FFFFFF;
|
||||
color: #000000;
|
||||
margin: 0;
|
||||
padding: 15px 30px 30px 30px;
|
||||
position: relative;
|
||||
top: 0; /*This has to match hight of #nav_top so nav-top dosesnt overlap as its not in the same flow*/
|
||||
right: 0;
|
||||
height: 100%;
|
||||
background-color: #101010;
|
||||
overflow: hidden;
|
||||
opacity: .8;
|
||||
}
|
||||
|
||||
#nav_top {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
top: 0;
|
||||
right: 0;
|
||||
left: 150px;
|
||||
width: 100%;
|
||||
position: fixed;
|
||||
height: 40px;
|
||||
height: 50px;
|
||||
background-image: linear-gradient(90deg, #202020, #000000);
|
||||
background-color: #202020;
|
||||
display: block;
|
||||
z-index: 1;
|
||||
min-width: 550px;
|
||||
border-bottom: 1px solid #000000;
|
||||
}
|
||||
|
||||
#nav_top ul {
|
||||
@@ -63,25 +67,30 @@ p {
|
||||
vertical-align: middle;
|
||||
flex: 20px;
|
||||
font-weight: bold;
|
||||
justify-content: center;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 120%;
|
||||
}
|
||||
|
||||
#nav_top ul li:hover {
|
||||
background-color: #303030;
|
||||
}
|
||||
|
||||
#nav_top ul li p {
|
||||
margin: 0;
|
||||
padding: 0 20px;
|
||||
}
|
||||
|
||||
/* Sub-menu */
|
||||
#nav_top ul ul {
|
||||
display: none;
|
||||
#nav_top ul li ul {
|
||||
display: none; /*change to none after debugging*/
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
height: fit-content;
|
||||
}
|
||||
|
||||
#nav_top ul ul:hover {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-wrap: nowrap;
|
||||
justify-content: left;
|
||||
align-items: left;
|
||||
}
|
||||
|
||||
/*popup sub-menu*/
|
||||
@@ -89,19 +98,45 @@ p {
|
||||
display: inherit;
|
||||
}
|
||||
|
||||
#nav_top ul ul li {
|
||||
width: inherit;
|
||||
min-width: inherit;
|
||||
display: block;
|
||||
#nav_top ul li ul li {
|
||||
margin: 0;
|
||||
padding: 15px 0;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
background-color: #303030;
|
||||
position: relative;
|
||||
text-decoration: none;
|
||||
list-style-type: none;
|
||||
text-align: left;
|
||||
vertical-align: middle;
|
||||
flex: 20px;
|
||||
font-weight: bold;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
#nav_top ul li ul li:hover {
|
||||
background-color: #404040;
|
||||
}
|
||||
|
||||
#footer {
|
||||
background-image: linear-gradient(90deg, #000000, #000030, #6000B0, #000030);
|
||||
margin: 0;
|
||||
height: 50px;
|
||||
justify-content: left;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
/*background-image: linear-gradient(90deg, #202020, #000000);*/
|
||||
/*background-image: linear-gradient(90deg, #000000, #000030, #6000B0, #000030);*/
|
||||
border-top: 1px solid #000000;
|
||||
}
|
||||
|
||||
#footer p {
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
font-size: 130%;
|
||||
margin: 20px;
|
||||
}
|
||||
|
||||
@@ -112,38 +147,45 @@ p {
|
||||
height: 100%;
|
||||
width: 150px;
|
||||
position: fixed;
|
||||
background-image: linear-gradient(#202020, #000000);
|
||||
background-color: #202020;
|
||||
z-index: 1;
|
||||
border-right: 1px solid #000000;
|
||||
}
|
||||
|
||||
#nav_left ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
text-align: left;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-wrap: nowrap;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
#nav_left ul li {
|
||||
margin: 0;
|
||||
padding: 20px 0;
|
||||
height: inherit;
|
||||
width: 100%;
|
||||
text-decoration: none;
|
||||
list-style-type: none;
|
||||
text-align: center;
|
||||
flex: 20px;
|
||||
font-weight: bold;
|
||||
font-size: 120%;
|
||||
}
|
||||
|
||||
#nav_left h1 {
|
||||
margin: 12px 0;
|
||||
padding: 0;
|
||||
margin: 10px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#nav_left h2 {
|
||||
margin: 50px 10px 10px 10px;
|
||||
margin: 50px 0 30px 0;
|
||||
padding: 0;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
|
||||
#nav_left ul li {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
height: inherit;
|
||||
text-decoration: none;
|
||||
list-style-type: none;
|
||||
text-align: left;
|
||||
flex: 20px;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#nav_left ul li:hover {
|
||||
|
||||
Reference in new issue
Block a user