Guest User

Css szarvasijaszai

a guest
Oct 2nd, 2010
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 9.70 KB | None | 0 0
  1. /* $Id: style.css,v 1.8.2.3 2008/07/02 14:24:55 jswaby Exp $ */
  2.  
  3. /*
  4. ** HTML elements
  5. */
  6. body {
  7.   background:url(images/bg-body.png) repeat-x top center #E8F7F9;
  8.   font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  9.   font-size:62.5%; /* Sets default font size to 10px */
  10.   color:#222222;
  11. }
  12.  
  13. * {
  14.   margin:0;
  15.   padding:0;
  16.   }
  17.  
  18. tr.odd td, tr.even td {
  19.   padding: 0.3em;
  20. }
  21. h1, h2, h3, h4, h5, h6 {
  22.   margin-bottom: 0.5em;
  23. }
  24. h1 {
  25.   font-size: 1.3em;
  26. }
  27. h2 {
  28.   font-size: 1.2em;
  29. }
  30. h3, h4, h5, h6 {
  31.   font-size: 1.1em;
  32. }
  33. p {
  34.   margin-top: 0.5em;
  35.   margin-bottom: 0.9em;
  36. }
  37. a {
  38.   text-decoration: none;
  39. }
  40. a:link {
  41.   color: #39c;
  42. }
  43. a:visited {
  44.   color: #369;
  45. }
  46. a:hover {
  47.   color: #39c;
  48. }
  49. fieldset {
  50.   border: 1px solid #ccc;
  51. }
  52. pre {
  53.   background-color: #eee;
  54.   padding: 0.75em 1.5em;
  55.   font-size: 12px;
  56.   border: 1px solid #ddd;
  57. }
  58. table {
  59.   /* make <td> sizes relative to body size! */
  60.   font-size: 1em;
  61. }
  62. .form-item label {
  63.   font-size: 1em;
  64.   color: #222;
  65. }
  66. .item-list .title {
  67.   font-size: 1em;
  68.   color: #222;
  69. }
  70. .links {
  71.   margin-bottom: 0;
  72. }
  73. .comment .links {
  74.   margin-bottom: 0;
  75. }
  76.  
  77. /*
  78. ** Page layout blocks / IDs
  79. */
  80. #wrapper {
  81.   margin:0 auto;
  82.   width:700px;
  83.   background:#000000;
  84.   font-size:1.20em;
  85. }
  86.  
  87. #header, #content {
  88.   width: 100%;
  89. }
  90. #header {
  91.   height:139px;
  92.   background:url(images/bg-header.jpg) no-repeat;
  93. }
  94. #logo {
  95.   vertical-align: middle;
  96.   border: 0;
  97. }
  98. #logo img {
  99.   float: left;
  100.   padding: 0 1em;
  101.   border: 0;
  102. }
  103.  
  104.  
  105. /**
  106.  * Top (primary) menu system
  107.  */
  108. #menu {
  109.   padding: 0.5em 0.5em 0 0.5em;
  110.  
  111.   height:35px;
  112.   line-height:35px;
  113.   background:url(images/bg-menu.png) repeat-x;
  114.   padding:0 10px;
  115. }
  116. #navlist {
  117.   list-style-type: none;
  118. }
  119. #navlist li {
  120.     float: left;
  121. }
  122. #navlist a {
  123.   font-weight: bold;
  124.   color: #fff;
  125.   display:block;
  126.   margin-right:2px;
  127.   padding:0pt 15px;
  128. }
  129.  
  130. #navlist a:hover {
  131.   background:transparent url(images/bg-menu-hover.png) no-repeat scroll center;
  132. }
  133.  
  134.  
  135.  
  136.  
  137.  
  138. #subnavlist {
  139.   padding: 0.5em 1.2em 0.4em 0;
  140.   font-size: 0.8em;
  141.   color: #9cf;
  142. }
  143. #subnavlist a {
  144.   font-weight: bold;
  145.   color: #9cf;
  146. }
  147.  
  148. #search {
  149.   position: relative;
  150.   top: 28px;
  151.   left: 370px;
  152.   width: 180px;
  153. }
  154. #search .form-text{
  155.   background-color: #E8F7F9;
  156. }
  157. #search .form-submit {
  158.   background-color: #39c;
  159. }
  160.  
  161. #search .form-text, #search .form-submit {
  162.   border: 1px solid #369;
  163.   font-size: 0.8em;
  164.   height: 1.5em;
  165.   vertical-align: middle;
  166. }
  167. #search .form-text {
  168.   width: 8em;
  169.   padding: 0 0.5em;
  170. }
  171.  
  172. .form-text {
  173.   border: 1px solid #ccc;
  174.   height: 17px;
  175. }
  176. .form-submit {
  177.   border: 1px solid #ccc;
  178.   background-color: #E8F7F9;
  179. }
  180.  
  181. #mission {
  182.   background-color: #CAF7F5;
  183.   padding: 1.5em 2em;
  184.   color: #000;
  185.   margin: 5px 0 0 5px;
  186.   text-align: justify;
  187. }
  188. #mission a, #mission a:visited {
  189.   color: #aaa;
  190.   font-weight: bold;
  191. }
  192. .site-name {
  193.   font-size:0em;
  194.   font-weight:normal;
  195.   cursor:default;
  196.   position:relative; top:50px; left:30px;
  197.   letter-spacing:1px;
  198.   color:#aaa;
  199.   font-style:italic;
  200. }
  201. .site-name a:link, .site-name a:visited {
  202.   color:#aaa;
  203. }
  204. .site-name a:hover {
  205.   color: #369;
  206.   text-decoration: none;
  207. }
  208. .site-slogan {
  209.   font-size: 1em;
  210.   color: #bbb;
  211.   display: block;
  212.   margin: 0;
  213.   font-style: italic;
  214.   font-weight: bold;
  215.   position:relative; top:28px; left:30px;
  216. }
  217.  
  218. #content {
  219.   float:left;
  220.   min-height:400px;
  221.   width:500px;
  222. }
  223.  
  224. #main {
  225.   /* padding in px not ex because IE messes up 100% width tables otherwise */
  226.   padding: 10px;
  227. }
  228. #mission, .node .content, .comment .content {
  229.   line-height: 1.4em;
  230. }
  231. #help {
  232.   font-size: 0.9em;
  233.   margin-bottom: 1em;
  234. }
  235. .breadcrumb {
  236.   margin-bottom: .5em;
  237. }
  238. .messages {
  239.   background-color: #eee;
  240.   border: 1px solid #ccc;
  241.   padding: 0.3em;
  242.   margin-bottom: 1em;
  243. }
  244.  
  245. #main ul, #main ol {
  246.   margin-left: 20px;
  247. }
  248.  
  249. .error {
  250.   border-color: red;
  251. }
  252.  
  253. #sidebar {
  254.   float:right;
  255.   margin-right:10px;
  256.   width:180px;
  257. }
  258.  
  259. #sidebar-left, #sidebar-right {
  260.   background:#EFEFEF none repeat scroll 0%;
  261.     width:174px;
  262.   /* padding in px not ex because IE messes up 100% width tables otherwise */
  263.   padding: 0;
  264.   vertical-align: top;
  265.   margin: 0 0 5px 3px;
  266. }
  267. #sidebar-bottom {
  268.   height:20px;
  269.   background:url(images/bg-sidebar-bottom.gif) no-repeat top center #fff;
  270. }
  271. #sidebar-top {
  272.   height:20px;
  273.   background:url(images/bg-sidebar-top.gif) no-repeat top center #fff;
  274. }
  275.  
  276.  
  277. #sidebar ul li a {
  278.   border-bottom:1px solid #DDDDDD;
  279.   color:#222222;
  280.   display:block;
  281.   padding-left:5px;
  282.   height: 1%;
  283. }
  284. #sidebar li a:hover {
  285.   background:#edebed;
  286.   color:#6CC4D8;
  287. }
  288.  
  289. #sidebar a {
  290.   color: #aaa;
  291. }
  292.  
  293. #sidebar #sidebar-right a:hover, #sidebar #sidebar-left a:hover {
  294.   background:#EDEBED;
  295.   color:#6CC4D8;
  296. }
  297.  
  298. #sidebar .block li{
  299.   padding: 0;
  300. }
  301. #sidebar .block ul {
  302.   padding: 0 0 0 1em;
  303. }
  304.  
  305. #sidebar .block .title{
  306.   text-align: center;
  307. }
  308.  
  309. /**
  310.  * Feed
  311.  */
  312.  
  313. #feed {
  314.     height:25px;
  315.     width:148px;
  316.     background:url(images/bg-feed.gif) no-repeat #EFEFEF;
  317.     margin:0 auto;
  318.     padding-left:26px;
  319.     }
  320. a.feed-button {
  321.     display:block;
  322.     width:100px;
  323.     height:25px;
  324.     background:url(images/button-feed.png) 0 0 no-repeat;
  325.     text-decoration: none;
  326.     }
  327.  
  328. a.feed-button:hover {
  329.     background-position:0 -25px;
  330.     }
  331.  
  332.  
  333. /* Footer */
  334. #footer {
  335.   padding: 1em;
  336.   font-size: 0.8em;
  337.   clear:both;
  338.   height: 81px;
  339.   background:url(images/bg-footer.jpg) no-repeat;
  340. }
  341.  
  342. #footer-valid {
  343.     float:left;
  344.     padding-top:15px;
  345.     padding-left:20px;
  346.     cursor:default;
  347.     color:#ffffff;
  348.     clear: both;
  349. }
  350. #footer-valid a {
  351.     color:#ffffff;
  352.     text-decoration:none;
  353.     }
  354. #footer-valid a:hover {
  355.     color:#ffffff;
  356.     text-decoration:underline;
  357.     }
  358.  
  359. /*
  360. ** Common declarations for child classes of node, comment, block, box, etc.
  361. ** If you want any of them styled differently for a specific parent, add
  362. ** additional rules /with only the differing properties!/ to .parent .class.
  363. ** See .comment .title for an example.
  364. */
  365. .title, .title a {
  366.   font-weight: bold;
  367.   font-size: 1.5em;
  368.   color: #777;
  369.   margin: 0 auto;  /* decrease default margins for h<x>.title */
  370. }
  371.  
  372. .node .title a, #main .title {
  373.   color:#B4C835;
  374.   font-weight:normal;
  375.   letter-spacing:-1px;
  376. }
  377.  
  378. .node .title a:hover {
  379.   color:#6CC7DC;
  380. }
  381.  
  382. .submitted {
  383.   color: #999;
  384.   font-size: 0.8em;
  385. }
  386. .links a {
  387.   color:#6CC7DC;
  388. }
  389. .links li.comment_comments, a.comment_add{
  390.   padding-left:20px;
  391.   padding-right:2px;
  392.   background:url(images/icon-comment.png) no-repeat 0px 2px;
  393. }
  394. .block, .box {
  395.   padding: 0 0 1.5em 0;
  396. }
  397. .block {
  398.   border-bottom: 1px solid #bbb;
  399.   padding-bottom: 0.75em;
  400.   margin-bottom: 1.5em;
  401. }
  402. .block .title {
  403.   margin-bottom: .25em;
  404. }
  405. .box .title {
  406.   font-size: 1.1em;
  407. }
  408. .node {
  409.   margin: .5em 0 2em 0;
  410. }
  411. .sticky {
  412.   padding: .5em;
  413.   background-color: #eee;
  414.   border: solid 1px #ddd;
  415. }
  416. .node .content, .comment .content {
  417.   margin: .5em 0 .5em 0;
  418. }
  419. .node .taxonomy {
  420.   color: #999;
  421.   font-size: 0.8em;
  422.   padding-left: 1.5em;
  423. }
  424. .node .picture {
  425.   border: 1px solid #ddd;
  426.   float: right;
  427.   margin: 0.5em;
  428. }
  429. .comment {
  430.   border: 1px solid #abc;
  431.   padding: .5em;
  432.   margin-bottom: 1em;
  433. }
  434. .comment .title a {
  435.   font-size: 1.1em;
  436.   font-weight: normal;
  437. }
  438. .comment .new {
  439.   text-align: right;
  440.   font-weight: bold;
  441.   font-size: 0.8em;
  442.   float: right;
  443.   color: red;
  444. }
  445. .comment .picture {
  446.   border: 1px solid #abc;
  447.   float: right;
  448.   margin: 0.5em;
  449. }
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.  
  469.  
  470.  
  471.  
  472.  
  473.  
  474.  
  475.  
  476.  
  477.  
  478.  
  479.  
  480.  
  481.  
  482.  
  483.  
  484.  
  485.  
  486.  
  487.  
  488.  
  489. /*
  490. ** Module specific styles
  491. */
  492. #aggregator .feed-source {
  493.   background-color: #eee;
  494.   border: 1px solid #ccc;
  495.   padding: 1em;
  496.   margin: 1em 0;
  497. }
  498. #aggregator .news-item .categories, #aggregator .source, #aggregator .age {
  499.   color: #999;
  500.   font-style: italic;
  501.   font-size: 0.9em;
  502. }
  503. #aggregator .title {
  504.   margin-bottom: 0.5em;
  505.   font-size: 1em;
  506. }
  507. #aggregator h3 {
  508.   margin-top: 1em;
  509. }
  510. #forum table {
  511.   width: 100%;
  512. }
  513. #forum td {
  514.   padding: 0.5em;
  515. }
  516. #forum td.forum, #forum td.posts {
  517.   background-color: #eee;
  518. }
  519. #forum td.topics, #forum td.last-reply {
  520.   background-color: #ddd;
  521. }
  522. #forum td.container {
  523.   background-color: #ccc;
  524. }
  525. #forum td.container a {
  526.   color: #555;
  527. }
  528. #forum td.statistics, #forum td.settings, #forum td.pager {
  529.   height: 1.5em;
  530.   border: 1px solid #bbb;
  531. }
  532. #forum td .name {
  533.   color: #96c;
  534. }
  535. #forum td .links {
  536.   padding-top: 0.7em;
  537.   font-size: 0.9em;
  538. }
  539. #profile .profile {
  540.   clear: both;
  541.   border: 1px solid #abc;
  542.   padding: .5em;
  543.   margin: 1em 0em;
  544. }
  545. #profile .profile .name {
  546.   padding-bottom: 0.5em;
  547. }
  548. .block-forum h3 {
  549.   margin-bottom: .5em;
  550. }
  551. div.admin-panel .description {
  552.   color: #999;
  553. }
  554. div.admin-panel .body {
  555.   background: #f4f4f4;
  556. }
  557. div.admin-panel h3 {
  558.   background:transparent url(images/bg-menu.png) repeat-x scroll 0%;
  559.   color: #fff;
  560.   padding: 5px 8px 5px;
  561.   margin: 0;
  562. }
  563.  
  564. /**
  565.  * Style the bullets
  566.  */
  567. #sidebar li,
  568. #sidebar li.leaf,
  569. #sidebar li.expanded,
  570. #sidebar li.collapsed{
  571.   list-style-image: none;
  572.   list-style-type: none;
  573. }
  574.  
  575. #sidebar .item-list ul li {
  576.   list-style-position:outside;
  577.   list-style-type: none;
  578. }
  579.  
  580. #sidebar .item-list ul li {
  581.   margin: 0 0 0.25em 0;
  582. }
  583.  
  584. #sidebar .block ul {
  585.   padding:0;
  586. }
  587.  
  588. #sidebar .block {
  589.  padding: 0 2px 1.5em;
  590. }
  591.  
  592. /*add on css to force grid view - can go in theme css*/
  593.  
  594. .gallery-images-list li {
  595.   float: left;
  596.   width: 24%;/* you can adjust this to your theme */
  597.   min-height: 190px; /* if you use long titles which will be displayed under pictures some pictures may 'stuck' and not go to left, try lower value and you will see what I mean */
  598.   background: none !important;
  599. }
  600. .gallery-images-list .image-thumbnail a {
  601.   display: block;
  602.   text-align: center;
  603. }
  604. .gallery-images-list .image-thumbnail img {
  605.   margin: 5px;
  606. }
Advertisement
Add Comment
Please, Sign In to add comment