Venciity

[ Telerik CSS] LAYOUT 05-LaptopSite CSS

Feb 16th, 2014
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.45 KB | None | 0 0
  1.  body {
  2.             margin: 0 auto;
  3.             width: 860px;
  4.             font-family: sans-serif;
  5.         }
  6.  
  7.         nav ul {
  8.             text-align: center;
  9.         }
  10.  
  11.         nav li {
  12.             display: inline-block;
  13.         }
  14.  
  15.         nav a {
  16.             padding: 0 10px;
  17.             color: #1DB7F1;
  18.             font-size: 1.5em;
  19.             font-weight: bold;
  20.         }
  21.  
  22.         article, section {
  23.             border: 1px solid #444;
  24.         }
  25.  
  26.         article {
  27.             position: relative;
  28.             overflow: hidden;
  29.             padding: 10px 224px 0 0;
  30.         }
  31.  
  32.             article section {
  33.                 float: left;
  34.                 margin: 0 0 10px 10px;
  35.                 padding: 10px 20px;
  36.                 width: 265px;
  37.             }
  38.  
  39.             article h2 {
  40.                 float: left;
  41.                 margin-top: -0.85em;
  42.                 padding: 0 7px;
  43.                 background: #fff;
  44.             }
  45.  
  46.             article ul {
  47.                 float: right;
  48.                 margin: 0;
  49.                 padding: 0;
  50.                 list-style: none;
  51.             }
  52.  
  53.             article li {
  54.                 margin-bottom: 10px;
  55.             }
  56.  
  57.         aside {
  58.             position: absolute;
  59.             top: 10px;
  60.             right: 10px;
  61.             width: 202px;
  62.             text-align: center;
  63.         }
  64.  
  65.             aside dl, aside dt, aside dd {
  66.                 margin: 0;
  67.             }
Advertisement
Add Comment
Please, Sign In to add comment