Difference between revisions of "Template:ITB INDONESIA/dev/css/style"
(Created page with "<html> <style type="text/css"> .testing { background-color:yellow; } </style> </html>") |
|||
Line 1: | Line 1: | ||
<html> | <html> | ||
<style type="text/css"> | <style type="text/css"> | ||
− | + | body { | |
− | + | margin: 1% 5%; | |
+ | font: Helvetica, Arial, sans-serif; | ||
+ | color: #14464a; | ||
} | } | ||
+ | |||
+ | .logo { | ||
+ | width: 20%; | ||
+ | float: left; | ||
+ | } | ||
+ | |||
+ | .main-nav { | ||
+ | float: left; | ||
+ | width: 80%; | ||
+ | } | ||
+ | |||
+ | .main-nav > ul { | ||
+ | font-size: 1.2em; | ||
+ | font-weight: 100; | ||
+ | margin: 1% 0 1% 0; | ||
+ | list-style-type: none; | ||
+ | } | ||
+ | |||
+ | .main-nav > ul > li { | ||
+ | float: left; | ||
+ | padding: 10px 1em; | ||
+ | position: relative; | ||
+ | } | ||
+ | |||
+ | .main-nav > ul > li ul { | ||
+ | position: absolute; | ||
+ | display: none; | ||
+ | margin: 0 0 10px 0; | ||
+ | padding: 0; | ||
+ | background-color: #e0f2eb; | ||
+ | width: 120%; | ||
+ | top: 2em; | ||
+ | left: 0; | ||
+ | } | ||
+ | |||
+ | .main-nav > ul > li ul li { | ||
+ | display: block; | ||
+ | padding: 5px 20px; | ||
+ | } | ||
+ | |||
+ | .main-nav > ul li:hover { | ||
+ | background-color: #e0f2eb; | ||
+ | cursor: pointer; | ||
+ | } | ||
+ | |||
+ | .main-nav > ul li:hover > ul { | ||
+ | display: block; | ||
+ | } | ||
+ | |||
+ | .main-nav .socmed { | ||
+ | border-top: 1px solid #14464a; | ||
+ | padding-top: 2%; | ||
+ | float: left; | ||
+ | } | ||
+ | |||
+ | .main-nav .socmed img { | ||
+ | width: 2%; | ||
+ | margin-right: 5px; | ||
+ | } | ||
+ | |||
+ | h1, h2, h3 { | ||
+ | border-bottom: 1px solid #14464a; | ||
+ | padding-bottom: 5px; | ||
+ | font-weight: 100; | ||
+ | } | ||
+ | |||
+ | p { | ||
+ | word-spacing: 0.1em; | ||
+ | } | ||
+ | |||
+ | .clearfix { | ||
+ | clear: both; | ||
+ | } | ||
+ | |||
</style> | </style> | ||
</html> | </html> |
Revision as of 15:48, 26 June 2015