[clean] clean code
This commit is contained in:
168
resources/css/style.css
Normal file
168
resources/css/style.css
Normal file
@@ -0,0 +1,168 @@
|
||||
body {
|
||||
overflow-x: hidden;
|
||||
font-size: 18px;
|
||||
position: relative;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
html, body {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
background-color: #FFF;
|
||||
}
|
||||
|
||||
body {
|
||||
position: relative;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
body::after {
|
||||
content: '';
|
||||
display: block;
|
||||
height: 220px;
|
||||
/* Set same as footer's height */
|
||||
}
|
||||
|
||||
/*-------- Navbar --------*/
|
||||
|
||||
.navbar .nav-link {
|
||||
font-size: 20px;
|
||||
background-color: #04021c;
|
||||
padding-left: 1rem !important;
|
||||
padding-right: 1rem !important;
|
||||
}
|
||||
|
||||
.bg-dark {
|
||||
background-color: #04021c!important;
|
||||
}
|
||||
|
||||
.navbar-nav > li > a:hover {
|
||||
transition: all 0.3s;
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
.navbar .active {
|
||||
background: #FFF !important;
|
||||
color: #000 !important;
|
||||
}
|
||||
|
||||
.navbar-nav > li > a:hover {
|
||||
cursor:pointer;
|
||||
background-color: #FFF;
|
||||
color: #000 !important;
|
||||
}
|
||||
|
||||
.project-tab #tabs{
|
||||
background: #007b5e;
|
||||
border: 1px solid transparent;
|
||||
color: #eee;
|
||||
}
|
||||
|
||||
.project-tab #tabs .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
|
||||
color: #000;
|
||||
/* background-color: transparent; */
|
||||
/* border-color: transparent transparent #111; */
|
||||
border: 1px solid;
|
||||
border-top-left-radius: .25rem;
|
||||
border-top-right-radius: .25rem;
|
||||
/* border-bottom: 3px solid !important; */
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.project-tab .nav-link:hover {
|
||||
border-color: #111;
|
||||
color: #888;
|
||||
}
|
||||
|
||||
.project-tab .nav-link {
|
||||
border: 1px solid;
|
||||
border-color: #bbb;
|
||||
border-top-left-radius: .25rem;
|
||||
border-top-right-radius: .25rem;
|
||||
color: #BBB;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
|
||||
#console-box {
|
||||
height: 50%;
|
||||
}
|
||||
|
||||
#console {
|
||||
list-style: none;
|
||||
overflow-y: auto;
|
||||
width: 100%;
|
||||
height: 200px;
|
||||
max-height: 200px;
|
||||
|
||||
font-family: "Ubuntu Mono", "Lucida Console";
|
||||
|
||||
padding-left: 15px;
|
||||
padding-top: 15px;
|
||||
|
||||
border-top-right-radius: 1%;
|
||||
border-top-left-radius: 1%;
|
||||
border: 1px solid #000;
|
||||
box-shadow: 0 0 10px rgba(0,0,0,0.3);
|
||||
|
||||
color: #AAA;
|
||||
background: #333;
|
||||
}
|
||||
|
||||
.box-shadow {
|
||||
box-shadow: 0px 10px 50px rgba(0, 0, 0, 0.6);
|
||||
}
|
||||
|
||||
.subfooter {
|
||||
position: absolute;
|
||||
bottom: 60px;
|
||||
width: 100%;
|
||||
height: 160px;
|
||||
background-color: #04021c/*#2d3436*/;
|
||||
color: white;
|
||||
}
|
||||
|
||||
#sub-footer li {
|
||||
font-size: .8125rem;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
#sub-footer a {
|
||||
color: #15abe2;
|
||||
}
|
||||
|
||||
#sub-footer a:visited {
|
||||
border-bottom: #D7D7D7;
|
||||
}
|
||||
|
||||
#sub-footer a, a:link {
|
||||
transition: all .4s;
|
||||
}
|
||||
|
||||
.exeter {
|
||||
margin-top: 10%;
|
||||
margin-left: 40%;
|
||||
width: 80%;
|
||||
content:url("/img/exeter.png");
|
||||
}
|
||||
|
||||
.russell {
|
||||
margin-top: 5%;
|
||||
margin-left: 40%;
|
||||
width: 80%;
|
||||
content:url("/img/russell.png");
|
||||
}
|
||||
|
||||
#main-footer {
|
||||
background: #000;
|
||||
color: #636e72;
|
||||
}
|
||||
|
||||
.footer {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: 60px;
|
||||
line-height: 60px;
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
Reference in New Issue
Block a user