176 lines
2.3 KiB
CSS
176 lines
2.3 KiB
CSS
|
/* Core Stuff */
|
||
|
* {
|
||
|
-webkit-box-sizing: border-box;
|
||
|
-moz-box-sizing: border-box;
|
||
|
box-sizing: border-box;
|
||
|
}
|
||
|
|
||
|
body {
|
||
|
font-size: 1rem;
|
||
|
line-height: 1.7;
|
||
|
color: #606d6e;
|
||
|
}
|
||
|
|
||
|
h1,
|
||
|
h2,
|
||
|
h3,
|
||
|
h4,
|
||
|
h5,
|
||
|
h6 {
|
||
|
color: #454B4D;
|
||
|
}
|
||
|
|
||
|
a {
|
||
|
color: #1F8CD6;
|
||
|
text-decoration: none;
|
||
|
}
|
||
|
|
||
|
a:hover {
|
||
|
color: #175E91;
|
||
|
}
|
||
|
|
||
|
pre {
|
||
|
background: #F0F0F0;
|
||
|
margin: 1rem 0;
|
||
|
border-radius: 2px;
|
||
|
}
|
||
|
|
||
|
blockquote {
|
||
|
border-left: 10px solid #eee;
|
||
|
margin: 0;
|
||
|
padding: 0 2rem;
|
||
|
}
|
||
|
|
||
|
/* Utility Classes */
|
||
|
.wrapper {
|
||
|
margin: 0 3rem;
|
||
|
}
|
||
|
|
||
|
.padding {
|
||
|
padding: 3rem 1rem;
|
||
|
}
|
||
|
|
||
|
.left {
|
||
|
float: left;
|
||
|
}
|
||
|
|
||
|
.right {
|
||
|
float: right
|
||
|
}
|
||
|
|
||
|
.text-center {
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
.text-right {
|
||
|
text-align: right;
|
||
|
}
|
||
|
|
||
|
.text-left {
|
||
|
text-align: left;
|
||
|
}
|
||
|
|
||
|
/* Content Styling */
|
||
|
.header .padding {
|
||
|
padding: 1rem 0;
|
||
|
}
|
||
|
|
||
|
.header {
|
||
|
background-color: #1F8DD6;
|
||
|
color: #eee;
|
||
|
}
|
||
|
|
||
|
.header a {
|
||
|
color: #fff;
|
||
|
}
|
||
|
|
||
|
.header .logo {
|
||
|
font-size: 1.7rem;
|
||
|
text-transform: uppercase;
|
||
|
}
|
||
|
|
||
|
.footer {
|
||
|
background-color: #eee;
|
||
|
}
|
||
|
|
||
|
/* Menu Settings */
|
||
|
.main-nav ul {
|
||
|
text-align: center;
|
||
|
letter-spacing: -1em;
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
.main-nav ul li {
|
||
|
display: inline-block;
|
||
|
letter-spacing: normal;
|
||
|
}
|
||
|
|
||
|
.main-nav ul li a {
|
||
|
position: relative;
|
||
|
display: block;
|
||
|
line-height: 45px;
|
||
|
color: #fff;
|
||
|
padding: 0 20px;
|
||
|
white-space: nowrap;
|
||
|
}
|
||
|
|
||
|
.main-nav > ul > li > a {
|
||
|
border-radius: 2px;
|
||
|
}
|
||
|
|
||
|
/*Active dropdown nav item */
|
||
|
.main-nav ul li:hover > a {
|
||
|
background-color: #175E91;
|
||
|
}
|
||
|
|
||
|
/* Selected Dropdown nav item */
|
||
|
.main-nav ul li.selected > a {
|
||
|
background-color: #fff;
|
||
|
color: #175E91;
|
||
|
}
|
||
|
|
||
|
/* Dropdown CSS */
|
||
|
.main-nav ul li {position: relative;}
|
||
|
|
||
|
.main-nav ul li ul {
|
||
|
position: absolute;
|
||
|
background-color: #1F8DD6;
|
||
|
min-width: 100%;
|
||
|
text-align: left;
|
||
|
z-index: 999;
|
||
|
|
||
|
display: none;
|
||
|
}
|
||
|
.main-nav ul li ul li {
|
||
|
display: block;
|
||
|
}
|
||
|
|
||
|
/* Dropdown CSS */
|
||
|
.main-nav ul li ul ul {
|
||
|
left: 100%;
|
||
|
top: 0;
|
||
|
}
|
||
|
|
||
|
/* Active on Hover */
|
||
|
.main-nav li:hover > ul {
|
||
|
display: block;
|
||
|
}
|
||
|
|
||
|
/* Child Indicator */
|
||
|
.main-nav .has-children > a {
|
||
|
padding-right: 30px;
|
||
|
}
|
||
|
.main-nav .has-children > a:after {
|
||
|
font-family: FontAwesome;
|
||
|
content: '\f107';
|
||
|
position: absolute;
|
||
|
display: inline-block;
|
||
|
right: 8px;
|
||
|
top: 0;
|
||
|
}
|
||
|
|
||
|
.main-nav .has-children .has-children > a:after {
|
||
|
content: '\f105';
|
||
|
}
|