Difference between revisions of "Template:ITB INDONESIA/dev/css/style"
m |
|||
Line 6: | Line 6: | ||
width: 100%; | width: 100%; | ||
font: Helvetica, Arial, sans-serif; | font: Helvetica, Arial, sans-serif; | ||
+ | background-color: #9CDCB8; | ||
color: #14464a; | color: #14464a; | ||
line-height: 1.3em; | line-height: 1.3em; | ||
+ | overflow-x: hidden; | ||
+ | } | ||
+ | |||
+ | a, a:visited { | ||
+ | color: #14464a; | ||
+ | text-decoration: none; | ||
} | } | ||
#bodyContent { | #bodyContent { | ||
− | padding: | + | width: 1080px; |
− | + | margin: 0 auto; | |
+ | background-color: white; | ||
+ | padding: 2%; | ||
+ | padding-bottom: 0; | ||
+ | position: relative; | ||
+ | } | ||
+ | |||
+ | #background-top { | ||
+ | position: absolute; | ||
+ | background-image: url(../img/bg-top.png); | ||
+ | width: 200px; | ||
+ | height: 263px; | ||
+ | left: 100%; | ||
+ | top: -2%; | ||
+ | } | ||
+ | |||
+ | #background-bottom { | ||
+ | position: absolute; | ||
+ | background-image: url(../img/bg-bottom.png); | ||
+ | width: 320px; | ||
+ | height: 269px; | ||
+ | bottom: 0; | ||
+ | right: 100%; | ||
+ | } | ||
+ | |||
+ | #header { | ||
+ | height: 333px; | ||
+ | background-image: url(../img/header.png); | ||
+ | position: relative; | ||
+ | } | ||
+ | |||
+ | #header .socmed { | ||
+ | position: absolute; | ||
+ | top : 42%; | ||
+ | left : 82%; | ||
+ | } | ||
+ | |||
+ | #header .socmed img { | ||
+ | width: 6%; | ||
} | } | ||
Line 26: | Line 71: | ||
.main-nav { | .main-nav { | ||
float: left; | float: left; | ||
− | width: | + | border-bottom: 1px solid #14464a; |
+ | width: 100%; | ||
} | } | ||
Line 55: | Line 101: | ||
background-color: #e0f2eb; | background-color: #e0f2eb; | ||
width: 120%; | width: 120%; | ||
− | |||
left: 0; | left: 0; | ||
} | } | ||
Line 70: | Line 115: | ||
.main-nav > ul li:hover > ul { | .main-nav > ul li:hover > ul { | ||
display: block; | display: block; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
h1, h2, h3 { | h1, h2, h3 { | ||
border-bottom: 1px solid #14464a; | border-bottom: 1px solid #14464a; | ||
− | padding | + | padding: 10px; |
− | font-weight | + | font-weight: 300; |
− | + | background-color: #eee; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | background-color: # | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
Line 129: | Line 151: | ||
.achievement ul li.done::before { | .achievement ul li.done::before { | ||
− | background-image: url(" | + | background-image: url("../img/check_mark.png"); |
} | } | ||
.achievement ul li.not-done::before { | .achievement ul li.not-done::before { | ||
− | background-image: url(" | + | background-image: url("../img/cross_mark.png"); |
} | } | ||
footer { | footer { | ||
border-top: 1px solid #14464a; | border-top: 1px solid #14464a; | ||
+ | background-color: #eee; | ||
text-align: center; | text-align: center; | ||
+ | padding: 20px 0; | ||
margin-top: 20px; | margin-top: 20px; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
Revision as of 09:20, 12 July 2015
.firstHeading {
display: none;
}
- content {
width: 100%; font: Helvetica, Arial, sans-serif; background-color: #9CDCB8; color: #14464a; line-height: 1.3em; overflow-x: hidden;
}
a, a:visited {
color: #14464a; text-decoration: none;
}
- bodyContent {
width: 1080px; margin: 0 auto; background-color: white; padding: 2%; padding-bottom: 0; position: relative;
}
- background-top {
position: absolute; background-image: url(../img/bg-top.png); width: 200px; height: 263px; left: 100%; top: -2%;
}
- background-bottom {
position: absolute; background-image: url(../img/bg-bottom.png); width: 320px; height: 269px; bottom: 0; right: 100%;
}
- header {
height: 333px; background-image: url(../img/header.png); position: relative;
}
- header .socmed {
position: absolute; top : 42%; left : 82%;
}
- header .socmed img {
width: 6%;
}
nav {
margin-bottom: 20px;
}
.logo {
width: 20%; float: left;
}
.main-nav {
float: left; border-bottom: 1px solid #14464a; width: 100%;
}
.main-nav a {
color: #14464a; text-decoration: none; display: inline-block; padding: 10px 1em;
}
.main-nav > ul {
font-size: 1.2em; font-weight: 100; margin: 1% 0 1% 0;
}
.main-nav > ul > li {
float: left; position: relative; list-style: none;
}
.main-nav > ul > li ul {
position: absolute; display: none; margin: 0 0 10px 0; padding: 0; background-color: #e0f2eb; width: 120%; left: 0;
}
.main-nav > ul > li ul li {
display: block;
}
.main-nav > ul li:hover {
background-color: #e0f2eb; cursor: pointer;
}
.main-nav > ul li:hover > ul {
display: block;
}
h1, h2, h3 {
border-bottom: 1px solid #14464a; padding: 10px; font-weight: 300; background-color: #eee;
}
p {
word-spacing: 0.1em;
}
.achievement ul {
margin: 0 0 0 2em; list-style-type: none; list-style-image: none;
}
.achievement ul li {
margin: 10px 0; position: relative;
}
.achievement ul li.done::before, .achievement ul li.not-done::before {
background-size: 1.2em; width: 1.5em; height: 1.5em; content: " "; display: inline-block; background-repeat: no-repeat; position: absolute; left: -1.7em;
}
.achievement ul li.done::before {
background-image: url("../img/check_mark.png");
}
.achievement ul li.not-done::before {
background-image: url("../img/cross_mark.png");
}
footer {
border-top: 1px solid #14464a; background-color: #eee; text-align: center; padding: 20px 0; margin-top: 20px;
}
.bg-bronze {
background-color: #daab85;
}
.bg-silver {
background-color: white;
}
.bg-gold {
background-color: #dfcd78;
}
.clearfix {
clear: both;
}