Advertisement
Guest User

Untitled

a guest
May 20th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.86 KB | None | 0 0
  1. CSS:
  2.  
  3. /** GLOBAL RESETS **/
  4. :link,:visited {text-decoration:none}
  5. h1,h2,h3,h4,h5,h6,pre,code {font-size:1em;font-weight:400;}
  6. ul,dl,dt,dd,ol,li,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input {margin:0; padding:0}
  7. a img,:link img,:visited img {border:none}
  8.  
  9. /** GLOBAL SETS **/
  10. .clear {clear:both;}
  11. .hidden {display:none;}
  12. body {margin:0 0 50px 0;font-size:13px;color:#222;font-family:arial,lucida,tahoma, helvetica, verdana;background:#FFF url(images/bg.png) top repeat-x;text-align:center;}
  13. a:link, a:visited {color:#BA0000;text-decoration:underline;}
  14. a:hover, a:focus {color:#1a1a1a;text-decoration:underline;}
  15. #wrapper {width:925px;margin-right:auto;margin-left:auto;}
  16.  
  17. #header {position:relative;height:180px;}
  18. #homepage #header {position:relative;height:415px;}
  19.  
  20. #header #nav {position:absolute;top:10px;left:0;list-style:none;}
  21. #header #nav li {float:left;margin:0 10px 0 0;font-size:13px;text-transform:uppercase;font-weight:bold;}
  22. #header #nav li a {display:block;line-height:30px;padding:0 10px;}
  23. #header #nav li a:link, #header #nav li a:visited {border:1px solid #D23939;color:#E17979;text-decoration:none;}
  24. #header #nav li a:hover, #header #nav li a:focus {color:#FFFFFF;text-decoration:none;}
  25. #header #nav li.current a {border:1px solid #FFC4C4;color:#FFFFFF;text-decoration:none;}
  26.  
  27. #header a.logo:link, #header a.logo:visited, #header a.logo:hover {position:absolute;top:68px;left:0;
  28. color:#fff;
  29. font-size:52px;
  30. text-transform:uppercase;
  31. font-family:Arial;
  32. letter-spacing:-2px;
  33. text-decoration:none;
  34. }
  35. #header span.logo2 {position:absolute;top:70px;left:2px;
  36. color:#7C1B1B;
  37. font-size:52px;
  38. text-transform:uppercase;
  39. font-family:Arial;
  40. letter-spacing:-2px;
  41. }
  42. #content {text-align:left;}
  43.  
  44. #content h1 {font-size:40px;font-family:arial;line-height:40px;letter-spacing:-2px;margin:25px 0 20px 0;}
  45. #content h2 {font-size:25px;font-family:arial;line-height:37px;letter-spacing:-1px;margin:25px 0 10px 0;}
  46. #content h3 {font-family:arial;font-size:18px;color:#1a1a1a;margin:25px 0 10px 0;}
  47. #content h4 {font-family:arial;font-size:16px;color:#1a1a1a;margin:25px 0 10px 0;}
  48. #content h5 {font-family:arial;font-size:14px;color:#1a1a1a;margin:25px 0 10px 0;}
  49. #content h6 {font-family:arial;font-size:10px;color:#1a1a1a;margin:25px 0 10px 0;}
  50.  
  51. #content #page-content {float:left;width:575px}
  52. .page-meta {line-height:40px;text-transform:uppercase;color:#999;font-size:11px;border-top:1px dotted #ccc;padding-top:15px;margin-top:15px;}
  53. .page-meta span {text-transform:none;color:#BA0000;font-size:15px;font-family:georgia;}
  54.  
  55. #content .page-text {font-size:14px;line-height:22px;margin-bottom:50px;}
  56. #content .page-text p, #content .page-text ul, #content .page-text ol {margin:0 0 22px 0;}
  57. #content .page-text ul, #content .page-text ol {margin-left:25px;}
  58. #content .page-text ul ul, #content .page-text ol ul, #content .page-text ul ol, #content .page-text ol ol {
  59. margin:0 0 0 25px;
  60. }
  61. #content .page-text blockquote {
  62. margin:0 0 22px 20px;
  63. line-height: 19px;
  64. font-size:13px;
  65. color:#666;
  66. font-style:italic;
  67. border-left:2px solid #ccc;
  68. padding:0 0 0 15px;
  69. }
  70. #content code {border:1px dotted #ececec;padding:2px;font-family: Consolas, Monaco, "Courier New", Courier, monospace;font-size: 12px;background:#f9f9f9;color:#000;}
  71. #content pre code {line-height:17px;padding:15px;border:1px dotted #ececec;font-family: Consolas, Monaco, "Courier New", Courier, monospace;font-size: 12px;background:#f9f9f9;color:#000;margin-bottom:22px;display:block;}
  72.  
  73. #content .page-text img {margin:0 0 20px 0;border:1px solid #1a1a1a;}
  74.  
  75. #sidebar {width:300px;float:right;border:1px solid #ccc;background:#f6f6f6;margin-bottom:50px;}
  76.  
  77. .section {padding:30px 20px 20px 20px;text-align:left;}
  78. .section p, .section ul, .section ol {line-height:20px;margin:0 0 20px 0;}
  79. .section ul, .section ol {margin-left:20px;}
  80. .section ul ul, .section ol ul, .section ul ol, .section ol ol {
  81. margin:0 0 0 20px;
  82. }
  83. .section h2 {color:#BA0000;font-size:22px;font-family:arial;line-height:22px;letter-spacing:-1px;margin:0 0 15px 0;padding:0;}
  84. .section h3 {color:#BA0000;font-family:arial;font-size:19px;margin:0 0 10px 0;}
  85. .section h4 {color:#BA0000;font-family:arial;font-size:15px;margin:0 0 10px 0;}
  86. .section h5 {color:#BA0000;font-family:arial;font-size:13px;margin:0 0 10px 0;}
  87. .section h6 {color:#BA0000;font-family:arial;font-size:10px;margin:0 0 10px 0;}
  88.  
  89. .section blockquote {
  90. margin:0 0 20px 20px;
  91. line-height: 19px;
  92. font-size:12px;
  93. color:#666;
  94. font-style:italic;
  95. border-left:2px solid #ccc;
  96. padding:0 0 0 15px;
  97. }
  98. .section code {border:1px solid #ececec;padding:2px;font-family: Consolas, Monaco, "Courier New", Courier, monospace;font-size: 12px;background:#f9f9f9;color:#000;}
  99. .section pre code {line-height:17px;padding:15px;border:1px solid #ececec;font-family: Consolas, Monaco, "Courier New", Courier, monospace;font-size: 12px;background:#f9f9f9;color:#000;margin-bottom:22px;display:block;}
  100.  
  101. .credits {font-size:11px;text-transform:uppercase;color:#666;padding-top:15px;margin-top:30px;border-top:1px dotted #ccc;}
  102. .credits p {margin:0 0 0 0;line-height:16px;padding:5px 0 0 0;}
  103. .credits a:link, .credits a:visited {color:#666;}
  104. .credits a:hover {color:#333}
  105.  
  106. SZABLON:
  107.  
  108. <?php if(!defined('IN_GS')){ die('you cannot load this page directly.'); }
  109. /****************************************************
  110. *
  111. * @File: template.php
  112. * @Package: GetSimple
  113. * @Action: Cardinal theme for GetSimple CMS
  114. *
  115. *****************************************************/
  116. ?>
  117. <!DOCTYPE html>
  118. <html>
  119. <head>
  120.  
  121. <!-- Site Title -->
  122. <title><?php get_page_clean_title(); ?> &lt; <?php get_site_name(); ?></title>
  123. <?php get_header(); ?>
  124. <meta name="robots" content="index, follow" />
  125. <meta charset="utf-8">
  126. <link rel="stylesheet" type="text/css" href="<?php get_theme_url(); ?>/style.css" media="all" />
  127.  
  128. </head>
  129. <body id="<?php get_page_slug(); ?>" >
  130.  
  131. <div id="wrapper">
  132.  
  133. <div id="header">
  134.  
  135. <ul id="nav">
  136. <?php get_navigation(return_page_slug()); ?>
  137. </ul>
  138.  
  139. <span class="logo2"><?php get_site_name(); ?></span>
  140. <a class="logo" href="<?php get_site_url(); ?>"><?php get_site_name(); ?></a>
  141.  
  142. </div><!-- end header -->
  143.  
  144. <div id="content">
  145. <h1><?php get_page_title(); ?></h1>
  146. <div id="page-content">
  147. <div class="page-text">
  148. <?php get_page_content(); ?>
  149. <p class="page-meta">Published on &nbsp;<span><?php get_page_date('F jS, Y'); ?></span></p>
  150. </div>
  151. </div>
  152. </div>
  153.  
  154. <div id="sidebar">
  155. <div class="section">
  156. <?php get_component('sidebar'); ?>
  157. </div>
  158. <div class="section credits">
  159. <p><?php echo date('Y'); ?> - <strong><?php get_site_name(); ?></strong></p>
  160. <p>
  161. Cardinal Theme by <a href="http://www.cagintranet.com" >Cagintranet</a><br />
  162. <?php get_site_credits(); ?>
  163. </p>
  164. </div>
  165. </div>
  166.  
  167. <div class="clear"></div>
  168.  
  169. <?php get_footer(); ?>
  170.  
  171. </div><!-- end wrapper -->
  172. </body>
  173. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement