Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Main elements of the page */
- body
- {
- font-family: 'Trebuchet MS', Arial, sans-serif;
- }
- #main_wrapper
- {
- width: 900px;
- margin: auto;
- }
- header
- { position: static;
- width: 335px;
- height:100px;
- background-color: #827db1;
- box-shadow: 0px 2px 5px #1c1a19;
- border: 1px solid #ffffff;
- border-radius: 5px;
- padding: 5px;
- color: white;
- font-size: 0.9em;}
- section h1, footer h1, nav a
- {
- font-family: Dayrom, serif;
- font-weight: normal;
- text-transform: uppercase;
- }
- /* Header */
- #main_title
- {
- display: inline-block;
- text-align: center
- }
- section h2
- {
- font-style: italic
- }
- /* Navigation */
- nav {
- display: inline-block;
- width: 740px;
- text-align: right;
- position: absolute;
- top: 0px;
- }
- nav ul
- {
- list-style-type: none;
- }
- nav li
- {
- display: inline-block;
- margin-right: 15px;
- }
- nav a
- {
- font-size: 1.3em;
- color: #181818;
- padding-bottom: 3px;
- text-decoration: none;
- }
- /* Body */
- article, aside
- {
- display: inline-block;
- vertical-align: top;
- text-align: justify;
- position: absolute
- }
- article
- {
- border-style: double;
- background-color: #b9b4e6;
- width: 625px;
- margin-right: 15px;
- position: static
- }
- .cat_icon
- {
- vertical-align: middle;
- margin-right: 8px;
- }
- article p
- {
- font-size: 0.8em;
- }
- aside
- {
- position: relative;
- width: 335px;
- background-color: #827db1;
- box-shadow: 0px 2px 5px #1c1a19;
- border: 1px solid #ffffff;
- border-radius: 5px;
- padding: 10px;
- color: white;
- font-size: 0.9em;
- }
- img {
- padding: 1px;
- border: 1px solid #181818;
- background-color: #827db1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement