Advertisement
sirinpeccable

CSS HTML5 site

Nov 26th, 2014
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 8.96 KB | None | 0 0
  1. /*
  2.     TXT by HTML5 UP
  3.     html5up.net | @n33co
  4.     Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
  5. */
  6.  
  7. /*********************************************************************************/
  8. /* Basic                                                                         */
  9. /*********************************************************************************/
  10.  
  11.     h1, h2, h3, h4, h5, h6
  12.     {
  13.         margin: 0 0 0.5em 0;
  14.     }
  15.  
  16.     h2
  17.     {
  18.         font-size: 1.65em;
  19.     }
  20.  
  21.         h2.major
  22.         {
  23.             font-size: 1.65em;
  24.             text-align: center;
  25.             margin: 0 0 3em 0;
  26.         }
  27.  
  28.             h2.major span
  29.             {
  30.                 top: -0.775em;
  31.                 padding: 0 1.5em 0 1.5em;
  32.             }
  33.  
  34.     h3
  35.     {
  36.         font-size: 1.25em;
  37.     }
  38.  
  39.     h4
  40.     {
  41.         font-size: 1.25em;
  42.     }
  43.  
  44.     /* Button */
  45.    
  46.         input[type="button"],
  47.         input[type="submit"],
  48.         input[type="reset"],
  49.         .button
  50.         {
  51.             font-size: 1.25em;
  52.             padding: 0.85em 1.85em;
  53.         }
  54.  
  55.             input[type="button"].big,
  56.             input[type="submit"].big,
  57.             input[type="reset"].big,
  58.             .button.big
  59.             {
  60.                 font-size: 1.65em;
  61.                 padding: 0.85em 1.85em;
  62.             }
  63.    
  64.     /* List */
  65.  
  66.         ul
  67.         {
  68.         }  
  69.    
  70.             ul.actions
  71.             {
  72.                 text-align: center;
  73.                 margin: 2em 0 0 0;
  74.             }
  75.    
  76.     /* Box */
  77.  
  78.         .box
  79.         {
  80.         }
  81.  
  82.             .box.highlight
  83.             {
  84.             }
  85.            
  86.                 .box.highlight .special
  87.                 {
  88.                     margin: 0 0 4em 0;
  89.                 }
  90.  
  91.                 .box.highlight h2
  92.                 {
  93.                     font-size: 3em;
  94.                     margin: 0 0 0.75em 0;
  95.                 }
  96.  
  97.                 .box.highlight header > p
  98.                 {
  99.                     font-size: 1.65em;
  100.                     margin: 0 0 1.5em 0;
  101.                 }
  102.  
  103.             .box.feature
  104.             {
  105.                 text-align: center;
  106.             }
  107.            
  108.             .box.post
  109.             {
  110.             }
  111.  
  112.                 .box.post header
  113.                 {
  114.                     margin: 0 0 2.5em 0;
  115.                 }
  116.  
  117.                 .box.post h3
  118.                 {
  119.                     font-size: 3em;
  120.                     margin: 0 0 0.5em 0;
  121.                 }
  122.  
  123.                 .box.post header > p
  124.                 {
  125.                     font-size: 1.65em;
  126.                     margin: 0 0 0.5em 0;
  127.                 }
  128.  
  129.                 .box.post ul.meta
  130.                 {
  131.                     margin: 0 0 0.5em 0;
  132.                 }
  133.            
  134.             .box.post-summary
  135.             {
  136.             }
  137.            
  138.                 .box.post-summary h3
  139.                 {
  140.                     line-height: 1em;
  141.                     margin: 0 0 0.75em 0;
  142.                 }
  143.  
  144.                 .box.post-summary .meta
  145.                 {
  146.                     margin: 0;
  147.                     line-height: 1em;
  148.                 }
  149.  
  150.             .box.page-content
  151.             {
  152.             }
  153.  
  154.                 .box.page-content header
  155.                 {
  156.                     margin: 0 0 2.5em 0;
  157.                 }
  158.  
  159.                 .box.page-content h2
  160.                 {
  161.                     font-size: 3em;
  162.                     margin: 0 0 0.5em 0;
  163.                 }
  164.  
  165.                 .box.page-content header > p
  166.                 {
  167.                     font-size: 1.65em;
  168.                     margin: 0 0 0.5em 0;
  169.                 }
  170.  
  171.                 .box.page-content ul.meta
  172.                 {
  173.                     margin: 0 0 0.5em 0;
  174.                 }
  175.  
  176. /*********************************************************************************/
  177. /* Sidebar + Content                                                             */
  178. /*********************************************************************************/
  179.  
  180.     .sidebar
  181.     {
  182.         padding-top: 0.5em;
  183.     }
  184.    
  185.         .homepage .sidebar
  186.         {
  187.             padding-top: 0;
  188.         }
  189.  
  190.         .sidebar h2.major
  191.         {
  192.             text-align: left;
  193.             margin: 0 0 1em 0;
  194.         }
  195.        
  196.             .sidebar h2.major span
  197.             {
  198.                 padding-left: 0;
  199.             }
  200.  
  201.     .content
  202.     {
  203.     }
  204.  
  205.         .content-left
  206.         {
  207.             padding-right: 2em;
  208.         }
  209.    
  210.         .content-right
  211.         {
  212.             padding-left: 2em;
  213.         }
  214.  
  215. /*********************************************************************************/
  216. /* Wrappers                                                                      */
  217. /*********************************************************************************/
  218.  
  219.     #banner-wrapper
  220.     {
  221.         padding: 11em 0;
  222.     }
  223.    
  224.     #main-wrapper
  225.     {
  226.         border-top-width: 35px;
  227.         border-bottom-width: 10px;
  228.     }
  229.    
  230. /*********************************************************************************/
  231. /* Header                                                                        */
  232. /*********************************************************************************/
  233.  
  234.     #header
  235.     {
  236.         text-align: center;
  237.         font-size: 2em;
  238.         font-family: 'Open Sans Condensed', sans-serif;
  239.         font-weight: 700;
  240.         text-transform: uppercase;
  241.         padding: 5em 0 2em 0;
  242.         background: #fff;
  243.         margin: 0 auto;
  244.     }
  245.  
  246.         #header .logo
  247.         {
  248.             position: relative;
  249.             text-align: center;
  250.             border-top: solid 5px #e7eae8;
  251.         }
  252.  
  253.             #header .logo div
  254.             {
  255.                 background: #fff;
  256.                 position: relative;
  257.                 display: inline-block;
  258.                 padding: 0 1.5em 0 1.5em;
  259.                 top: -0.65em;
  260.             }
  261.        
  262.             #header .logo h1,
  263.             #header .logo p
  264.             {
  265.                 display: inline;
  266.             }
  267.            
  268.             #header .logo p
  269.             {
  270.                 color: #C1CAC5;
  271.             }
  272.  
  273. /*********************************************************************************/
  274. /* Nav                                                                           */
  275. /*********************************************************************************/
  276.  
  277.     #nav
  278.     {
  279.         position: fixed;
  280.         top: 0;
  281.         left: 0;
  282.         z-index: 1000;
  283.         background-color: rgba(255,255,255,0.95);
  284.         background-image: url('images/overlay.png');
  285.         width: 100%;
  286.         height: 3.25em;
  287.         line-height: 3.25em;
  288.         text-align: center;
  289.         font-family: 'Open Sans Condensed', sans-serif;
  290.         font-weight: 700;
  291.         text-transform: uppercase;
  292.         cursor: default;
  293.     }
  294.  
  295.         #nav ul
  296.         {
  297.             position: relative;
  298.             z-index: 1001;
  299.         }
  300.    
  301.         #nav li
  302.         {
  303.             display: inline-block;
  304.             margin: 0 0.5em 0 0.5em;
  305.             top: 0;
  306.             position: relative;
  307.             -moz-transition: top .15s ease-in-out;
  308.             -webkit-transition: top .15s ease-in-out;
  309.             -o-transition: top .15s ease-in-out;
  310.             -ms-transition: top .15s ease-in-out;
  311.             transition: top .15s ease-in-out;
  312.         }
  313.  
  314.             #nav li > ul
  315.             {
  316.                 display: none;
  317.             }
  318.  
  319.             #nav li a,
  320.             #nav li span
  321.             {
  322.                 position: relative;
  323.                 display: block;
  324.                 text-decoration: none;
  325.                 color: #6b7770;
  326.                 top: -6px;
  327.                 padding: 6px 1.5em 0.25em 1.5em;
  328.                 border-bottom-left-radius: 6px;
  329.                 border-bottom-right-radius: 6px;
  330.                 outline: 0;
  331.                 -moz-transition: background-color .075s ease-in-out, color .075s ease-in-out;
  332.                 -webkit-transition: background-color .075s ease-in-out, color .075s ease-in-out;
  333.                 -o-transition: background-color .075s ease-in-out, color .075s ease-in-out;
  334.                 -ms-transition: background-color .075s ease-in-out, color .075s ease-in-out;
  335.                 transition: background-color .075s ease-in-out, color .075s ease-in-out;
  336.             }
  337.  
  338.             #nav li:hover,
  339.             #nav li.active
  340.             {
  341.                 top: 3px;
  342.             }
  343.  
  344.                 #nav li:hover a,
  345.                 #nav li:hover span,
  346.                 #nav li.active a,
  347.                 #nav li.active span
  348.                 {
  349.                     background: #C1CAC5;
  350.                     color: #fff;
  351.                 }
  352.  
  353.             #nav li.current
  354.             {
  355.             }
  356.  
  357.                 #nav li.current a
  358.                 {
  359.                     background: #b1ddab;
  360.                     color: #fff;
  361.                 }
  362.  
  363.     .dropotron
  364.     {
  365.         background: #6B7770;
  366.         color: #fff;
  367.         border-radius: 6px;
  368.         line-height: 2.75em;
  369.         text-align: center;
  370.         font-family: 'Open Sans Condensed', sans-serif;
  371.         font-weight: 700;
  372.         text-transform: uppercase;
  373.         padding: 1em 0;
  374.         text-align: left;
  375.         min-width: 14em;
  376.         margin-top: -1em;
  377.         box-shadow: 0 1em 2em 0 rgba(0,0,0,0.1);
  378.     }
  379.    
  380.         .dropotron li
  381.         {
  382.         }
  383.        
  384.             .dropotron li > a,
  385.             .dropotron li > span
  386.             {
  387.                 display: block;
  388.                 color: #D7DAD8;
  389.                 text-decoration: none;
  390.                 padding: 0 1.25em;
  391.             }
  392.  
  393.             .dropotron li:hover > a,
  394.             .dropotron li:hover > span,
  395.             .dropotron li.active > a,
  396.             .dropotron li.active > span
  397.             {
  398.                 color: #fff;
  399.                 background: #7B8780;
  400.             }
  401.  
  402.             .dropotron li:first-child
  403.             {
  404.                 border-top: 0;
  405.             }
  406.            
  407.         .dropotron.level-0
  408.         {
  409.             margin-top: 1em;
  410.             font-size: 0.9em;
  411.         }
  412.        
  413.             .dropotron.level-0:before
  414.             {
  415.                 content: '';
  416.                 position: absolute;
  417.                 left: 50%;
  418.                 margin-left: -1em;
  419.                 top: -0.65em;
  420.                 border-bottom: solid 1em #6B7770;
  421.                 border-left: solid 1em transparent;
  422.                 border-right: solid 1em transparent;
  423.             }
  424.  
  425. /*********************************************************************************/
  426. /* Banner                                                                        */
  427. /*********************************************************************************/
  428.  
  429.     #banner
  430.     {
  431.         padding: 4em 0 3.5em 0;
  432.     }
  433.    
  434.         #banner h2
  435.         {
  436.             font-size: 2.75em;
  437.             margin: 0 0 0.75em 0;
  438.         }
  439.        
  440.         #banner p
  441.         {
  442.             font-size: 1.35em;
  443.             margin: 0 0 1.25em 0;
  444.         }
  445.  
  446.         #banner .button
  447.         {
  448.             font-size: 1.5em;
  449.         }
  450.  
  451. /*********************************************************************************/
  452. /* Main                                                                          */
  453. /*********************************************************************************/
  454.  
  455.     #main
  456.     {
  457.         padding: 6em 0 6em 0;
  458.     }
  459.  
  460. /*********************************************************************************/
  461. /* Footer                                                                        */
  462. /*********************************************************************************/
  463.  
  464.     #footer
  465.     {
  466.         text-align: center;
  467.         padding: 8em 0 8em 0;
  468.     }
  469.    
  470.         #footer h2.major
  471.         {
  472.             margin: 0 0 1em 0;
  473.         }      
  474.  
  475. /*********************************************************************************/
  476. /* Copyright                                                                     */
  477. /*********************************************************************************/
  478.  
  479.     #copyright
  480.     {
  481.         margin: 4em 0 0 0;
  482.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement