152 lines
2.4 KiB
CSS
152 lines
2.4 KiB
CSS
#wrapper * {
|
|
box-sizing: border-box;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
background-image: linear-gradient(90deg, #000000, #000030, #6000B0, #000030);
|
|
background-color: #000040;
|
|
color: #EEEEEE;
|
|
font-family: Tahoma, Verdana, Arial, sans-serif;
|
|
font-size: 16px;
|
|
}
|
|
|
|
p {
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
#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;
|
|
overflow: hidden;
|
|
opacity: .8;
|
|
}
|
|
|
|
#nav_top {
|
|
margin: 0;
|
|
padding: 0;
|
|
top: 0;
|
|
left: 150px;
|
|
width: 100%;
|
|
position: fixed;
|
|
height: 40px;
|
|
background-image: linear-gradient(90deg, #202020, #000000);
|
|
background-color: #202020;
|
|
display: block;
|
|
}
|
|
|
|
#nav_top ul {
|
|
margin: 0;
|
|
padding: 0;
|
|
height: inherit;
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: nowrap;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
#nav_top ul li {
|
|
margin: 0;
|
|
padding: 0;
|
|
height: inherit;
|
|
text-decoration: none;
|
|
list-style-type: none;
|
|
text-align: left;
|
|
vertical-align: middle;
|
|
flex: 20px;
|
|
font-weight: bold;
|
|
justify-content: center;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
#nav_top ul li:hover {
|
|
background-color: #303030;
|
|
}
|
|
|
|
/* Sub-menu */
|
|
#nav_top ul ul {
|
|
display: none;
|
|
position: absolute;
|
|
top: 100%;
|
|
height: fit-content;
|
|
}
|
|
|
|
#nav_top ul ul:hover {
|
|
display: flex;
|
|
}
|
|
|
|
/*popup sub-menu*/
|
|
#nav_top ul li:hover > ul {
|
|
display: inherit;
|
|
}
|
|
|
|
#nav_top ul ul li {
|
|
width: inherit;
|
|
min-width: inherit;
|
|
display: block;
|
|
position: relative;
|
|
}
|
|
|
|
#footer {
|
|
background-image: linear-gradient(90deg, #000000, #000030, #6000B0, #000030);
|
|
}
|
|
|
|
#footer p {
|
|
text-align: center;
|
|
margin: 20px;
|
|
}
|
|
|
|
#nav_left {
|
|
margin: 0;
|
|
top: 0;
|
|
left: 0;
|
|
height: 100%;
|
|
width: 150px;
|
|
position: fixed;
|
|
background-image: linear-gradient(#202020, #000000);
|
|
background-color: #202020;
|
|
}
|
|
|
|
#nav_left ul {
|
|
margin: 0;
|
|
padding: 0;
|
|
text-align: left;
|
|
}
|
|
|
|
#nav_left h1 {
|
|
padding: 0;
|
|
margin: 10px;
|
|
text-align: center;
|
|
}
|
|
|
|
#nav_left h2 {
|
|
margin: 50px 10px 10px 10px;
|
|
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;
|
|
}
|
|
|
|
#nav_left ul li:hover {
|
|
background-color: #303030;
|
|
}
|