Venciity

[ Telerik CSS] LAYOUT 04-W3Fools CSS

Feb 16th, 2014
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 3.42 KB | None | 0 0
  1. /* RESET */
  2.         body, h1, h2, dl, dt, dd, ul, li, p {
  3.             margin: 0;
  4.             padding: 0;
  5.         }
  6.  
  7.         /* TAGS */
  8.         body {
  9.             background: #F1F1F1;
  10.             font: 12px/1.2 Verdana, sans-serif;
  11.         }
  12.  
  13.         h1, h2, p {
  14.             margin-bottom: 10px;
  15.         }
  16.  
  17.         h2 {
  18.             padding: 3px;
  19.             background: #808080;
  20.             color: #fff;
  21.             font-size: 100%;
  22.         }
  23.  
  24.         a {
  25.             color: #961917;
  26.         }
  27.  
  28.         /* GRID */
  29.         .row {
  30.             overflow: hidden;
  31.             margin-left: -10px;
  32.         }
  33.  
  34.         [class ^= "span"], [class *= " span"] {
  35.             float: left;
  36.             margin-left: 10px;
  37.         }
  38.  
  39.         .span1 {
  40.             width: 150px;
  41.         }
  42.  
  43.         .span3 {
  44.             width: 450px;
  45.         }
  46.  
  47.         .container {
  48.             margin: 10px auto;
  49.             padding: 0 10px;
  50.             width: 770px; /* 150 + 10 + 450 + 10 + 150 */
  51.             border: 1px solid #000;
  52.         }
  53.  
  54.         /* CLASSES */
  55.         .pull-left {
  56.             float: left;
  57.             margin-right: 10px;
  58.         }
  59.  
  60.         .search input[type = "search"] {
  61.             width: 90px;
  62.         }
  63.  
  64.         /* ICONS */
  65.         [class ^= "icon"], [class *= " icon"] {
  66.             display: inline-block;
  67.             width: 19px;
  68.             height: 20px;
  69.             vertical-align: text-bottom;
  70.         }
  71.  
  72.         .icon-home {
  73.             background: url(../IMAGES/icon-home.png);
  74.         }
  75.  
  76.         /* LISTS */
  77.         .unstyled {
  78.             list-style: none;
  79.         }
  80.  
  81.         .inline li {
  82.             display: inline-block;
  83.         }
  84.  
  85.         .styled dt {
  86.             font-weight: bold;
  87.         }
  88.  
  89.         .styled dd a {
  90.             color: #000;
  91.         }
  92.  
  93.         .styled a {
  94.             text-decoration: none;
  95.         }
  96.  
  97.             .styled a:hover {
  98.                 text-decoration: underline;
  99.             }
  100.  
  101.         /* PAGINATION */
  102.         .pagination a {
  103.             display: block;
  104.             padding: 3px;
  105.             width: 100px;
  106.             border: 1px solid #2A2A2A;
  107.             color: #0F0F0F;
  108.             text-align: center;
  109.             text-decoration: none;
  110.         }
  111.  
  112.         .pagination li {
  113.             position: relative;
  114.         }
  115.  
  116.         .prev::after, .next::after {
  117.             position: absolute;
  118.             top: 3px;
  119.         }
  120.  
  121.         .prev::after {
  122.             left: 3px;
  123.             content: "◄";
  124.         }
  125.  
  126.         .next::after {
  127.             right: 3px;
  128.             content: "►";
  129.         }
  130.  
  131.         /* BOX */
  132.         .box {
  133.             margin-bottom: 2px;
  134.             padding: 2px;
  135.             border: 1px solid #8A8A8A;
  136.             background: #fff;
  137.         }
  138.  
  139.             .box h2 {
  140.                 margin: -2px -2px 0 -2px;
  141.             }
  142.  
  143.         /* SITE */
  144.         .nav, .aside {
  145.             padding-top: 10px;
  146.         }
  147.  
  148.             /* NAV */
  149.             .nav .styled {
  150.                 margin-bottom: 10px;
  151.             }
  152.  
  153.         /* CONTENT*/
  154.         .content {
  155.             margin-top: 10px;
  156.             padding: 10px;
  157.             border: 1px solid #A1A1A1;
  158.             background: #fff;
  159.         }
  160.  
  161.         /* ASIDE */
  162.         .aside {
  163.             text-align: center;
  164.         }
  165.  
  166.             .aside h2 {
  167.                 margin-bottom: 2px;
  168.                 text-transform: uppercase;
  169.             }
Advertisement
Add Comment
Please, Sign In to add comment