Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- body, div, header, h1, h2, h3, h4, h5, h6, footer, section, article, span, a, li, ul, img, p {
- margin: 0;
- padding: 0;
- }
- html, body, div#wrapper {
- height: 100%;
- min-height: 105%;
- }
- ul {
- list-style-type: none;
- }
- body div#wrapper {
- width: 960px;
- margin: 0 auto;
- position: relative;
- }
- body div#wrapper > header {
- padding: 25px;
- border-bottom: 1px solid black;
- }
- body div#wrapper > header h1 {
- margin-left: 55px;
- font-size: 2.5em;
- }
- body div#wrapper > header h1 a {
- text-decoration: none;
- color: #999;
- }
- body div#wrapper > header nav {
- float: right;
- margin-top: 5px;
- zoom: 1;
- }
- body div#wrapper > header nav:after {
- content: "";
- display: block;
- height: 0;
- clear: both;
- }
- body div#wrapper > header nav ul li {
- display: inline-block;
- position: relative;
- margin-left: 10px;
- font-size: 1.3em;
- border: 1px solid black;
- border-radius: 15px;
- background: #fff;
- }
- body div#wrapper > header nav ul li a {
- display: inline-block;
- padding: 5px 15px;
- color: black;
- text-decoration: none;
- }
- body div#wrapper > header nav ul li:hover {
- background: #aaa;
- }
- body div#wrapper > header nav ul li:hover > a {
- text-decoration: underline;
- }
- body div#wrapper > section {
- margin: 0 auto;
- }
- body div#wrapper > section header .slider {
- padding: 25px;
- }
- body div#wrapper > section header .slider ul {
- width: 90%;
- margin: 0 auto;
- }
- body div#wrapper > section header .slider ul li {
- display: none;
- }
- body div#wrapper > section header .slider ul li h2 {
- font-size: 1.5em;
- }
- body div#wrapper > section header .slider ul li p {
- text-align: justify;
- }
- body div#wrapper > section header .slider ul li.slider-current {
- display: block;
- }
- body div#wrapper > section header .slider .slider-controls {
- float: right;
- margin-right: 50px;
- }
- body div#wrapper > section header .slider .slider-controls a {
- text-decoration: none;
- color: black;
- }
- body div#wrapper > section header .slider .slider-controls a:hover {
- text-decoration: underline;
- }
- body div#wrapper > section article {
- margin: 0 auto;
- width: 80%;
- border: 1px solid black;
- border-radius: 15px;
- margin-bottom: 15px;
- zoom: 1;
- }
- body div#wrapper > section article:after {
- content: "";
- display: block;
- height: 0;
- clear: both;
- }
- body div#wrapper > section article header {
- padding-top: 5px;
- padding-left: 5px;
- }
- body div#wrapper > section article .article-content img {
- width: 70px;
- float: left;
- margin: 5px;
- }
- body div#wrapper > section article .article-content p {
- text-align: justify;
- padding: 5px 15px;
- }
- body div#wrapper > footer {
- position: absolute;
- bottom: 0;
- width: 100%;
- height: 60px;
- margin: 0 auto;
- padding-top: 15px;
- border-top: 1px solid black;
- text-align: center;
- }
- body div#wrapper > footer h2 {
- font-size: 1.7em;
- }
- /*Responsive design using media queries*/
- @media only screen and (max-width:480px) {
- body div#wrapper {
- font-size: 0.8em;
- width:100%;
- }
- body div#wrapper > header {
- text-align: center;
- border: none;
- }
- body div#wrapper > header nav {
- float:none;
- margin-left:-25px;
- margin-bottom:5px;
- border: none;
- }
- body div#wrapper > header nav ul {
- display:block;
- width:100%;
- }
- body div#wrapper > header nav ul li {
- text-align:center;
- width: 100%;
- }
- body div#wrapper section header {
- display: none;
- }
- body div#wrapper > section article {
- width: 100%;
- border: none;
- border-radius: 0;
- border-bottom: 1px solid black;
- padding: 0;
- }
- body div#wrapper > section article header {
- display: block;
- text-align: center;
- font-size: 1.5em;
- }
- body div#wrapper > footer {
- position:relative;
- border:none;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment