Advertisement
Guest User

local.css

a guest
Jun 30th, 2015
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 5.91 KB | None | 0 0
  1. /* $Id: local_sample.css,v 1.1 2010/04/08 17:16:16 danprobo Exp $ */
  2.  
  3. /****************************/
  4. /* LOCAL CSS                */
  5. /****************************/
  6.  
  7. /* Put your custom css and css overrides in this file and  */
  8. /* rename it local.css.  By restricting your css changes   */
  9. /* to local.css, your changes will not be overwritten when */
  10. /* upgrading to a new version of this theme.               */
  11.  
  12. /* Steps to activate local.css:                       */
  13. /* 1. Add your custom css to this file                */
  14. /* 2. Rename this file to local.css                   */
  15. /* 3. Uncomment (remove leading semicolon from ) the  */
  16. /*    following line in your theme's .info file:      */
  17. /*    ;stylesheets[all][] = local.css                 */
  18. /* 4. Clear cached data at admin/settings/performance */
  19.  
  20. #notice {
  21. display: none;
  22. }
  23. #authorize {
  24. display: none;
  25. }
  26.  
  27. #content img, #sidebar-first img, #sidebar-second img {
  28.   max-width: 100%;
  29.   height: auto;
  30. }
  31. .node-teaser .field-item img {
  32.   float: left;
  33.   margin-right: 15px;
  34. }
  35.  
  36. .view-singapore-story .views-field-title a {
  37.     color: #DD8725;
  38.     font-weight: bold;
  39.     text-decoration: none;
  40.     font-size: 18px;
  41. }
  42.  
  43. .view-singapore-story .views-field-field-image {
  44.     margin-right: 15px;
  45.     float: left;
  46. }
  47. .view-singapore-story .views-row {
  48.     padding-bottom: 9px;
  49.     padding-top: 9px;
  50.     font-size: 13px;
  51.     color: #424242;
  52.     border-bottom: dashed;
  53.     border-color: #8DB1D0;
  54.     border-bottom-width: 1px;
  55. }
  56.  
  57. h1 {
  58.   font-family: Arial, sans-serif;
  59.       /* letter-spacing: -0.025em; */
  60.       font-weight: 500;
  61.       -webkit-margin-before: 1em;
  62.       -webkit-margin-after: 1em;
  63.       -webkit-margin-start: 0px;
  64.       -webkit-margin-end: 0px;
  65.       color: #404040;    
  66. }
  67. h2, h3, h4 {
  68.     letter-spacing: -0.025em;
  69.     color: #333;
  70.     line-height: 1.5em;
  71.     font-weight: normal;
  72.     font-family: arial,sans-serif;
  73. }
  74.  
  75. body {
  76.   font-size: 87%;
  77.   line-height: 1.5em;
  78.   font-family: Verdana,Geneva,Arial,'Bitstream Vera Sans','DejaVu Sans',Meiryo,'Hiragino Kaku Gothic Pro','MS PGothic',Osaka,sans-serif;
  79. }
  80.  
  81. p, li, dl, dt {
  82.   margin: 6px 0;
  83.   margin-top: 6px;
  84.   margin-right: 0px;
  85.   margin-bottom: 1em;
  86.   margin-left: 0px;
  87.   line-height: 1.5em;
  88. }
  89.  
  90. #last-published {
  91. /*  color: #fff;
  92.   text-decoration: none;
  93.   font-size: 12px;
  94.   padding: 7px 29px 0 29px;
  95.   display: inline-block;
  96.   font-weight: bold;
  97.   height: 25px;
  98.   text-transform: uppercase;
  99.   background: transparent url(images/menu-hover-bg.gif) repeat-x;
  100. */
  101.   color: #fff;
  102.   text-decoration: none;
  103.   font-size: 12px;
  104.   padding: 7px 29px 0 29px;
  105.   display: inline-block;
  106.   font-weight: bold;
  107.   height: 25px;
  108.   text-transform: uppercase;
  109.   float: left;
  110.   background: url(images/menu-separator.gif) no-repeat right top;
  111.  
  112. }
  113. #copyright {
  114.   background-color: rgb(50,50,50);
  115.   color: rgb(200,200,200);
  116.   margin: 0 auto 30px auto;
  117.   padding: 10px 60px 10px 30px;
  118.   text-align: right;
  119. }
  120.  
  121. #header {
  122.   height: 90px;
  123.   position: relative;
  124.   width: 950px;
  125.   margin: 0 auto;
  126.   background-image: url(http://i.imgur.com/xol2iqy.png), url(http://i.imgur.com/2htHb0k.png);
  127.   background-repeat: no-repeat;
  128.   background-position: left, right;
  129. }
  130. .site-name {
  131.     margin-left: 210px}
  132. .site-slogan {
  133.     display: inherit;
  134.     margin-left: 250px;
  135. }
  136.  
  137. /* =Responsive Structure
  138.  ----------------------------------------------- */
  139. /* Smaller than standard 960 (devices and browsers) */
  140.  
  141.  
  142. .block-menu li {
  143. font-size: larger;
  144. }
  145.  
  146. .sidebar .block-menu {
  147.   background-color: #f0f0f0;
  148.   border: transparent;
  149.   margin: 0 0 15px;
  150. }
  151.  
  152. .block-menu {
  153.   box-shadow: 0 1px 2px rgba(0,0,0,.2);  
  154. }
  155. .block-menu .content {
  156.   border-right: 1px solid #7C9CBD;
  157.   border-left: 1px solid #7C9CBD;
  158.   border-bottom: 1px solid #7C9CBD;
  159.   border-bottom-left-radius: 3px;
  160.   border-bottom-right-radius: 3px;
  161. }
  162. #block-menu-menu-travels h2.block-title {
  163.   background-image: linear-gradient(to bottom,#3278B4 0,#2B669A 100%);
  164.   border-top: 1px solid #0C213A;
  165.   border-left: 1px solid #0C213A;
  166.   border-right: 1px solid #0C213A;
  167.   border-top-left-radius: 3px;
  168.   color: #fff;
  169.   border-top-right-radius: 3px;
  170.   padding: 10px 15px;
  171.   font-family: verdana, Arial,sans-serif;
  172. }
  173.  
  174. #menu {
  175.     height: auto;
  176.     background: linear-gradient(#163764, #265C8E);
  177.     border: 1px solid #003B71;
  178.     width: 950px;
  179.     border-radius: 3px;
  180.     box-shadow: 0 2px 3px -1px black;
  181. }
  182. #rounded-menu-left, #rounded-menu-right {
  183.     display: none;
  184.     clear: both;
  185. }
  186. #nav {
  187.     height: auto;
  188.     background: none;
  189.     width: 100%;
  190. }
  191. #nav li {
  192.     height: auto;
  193.     background: none;
  194.     border-right: 1px solid #346C9A;
  195. }
  196. #nav li:hover {
  197.     background: linear-gradient(#153258, #234F7B);
  198. }
  199. #nav li a {
  200.     padding: 4px 29px 0 29px;
  201. }
  202. #nav li a:hover {
  203.     background: none;
  204. }
  205. @media (max-width: 950px) {
  206.     #header, .slideshow-inner, .slideshow, .slideshow img, #slideshow-bottom, #preface-wrapper, #wrapper, #bottom-teaser, #bottom-wrapper, #footer-wrapper, #footer, #notice {
  207.         width: 100%;
  208.     }
  209.     #bottom-wrapper {
  210.         border-left: none;
  211.         border-right: none;
  212.     }
  213.     .site-name {
  214.         font-size: 20px;
  215.     }
  216.     #slideshow-wrapper {
  217.         display: none;
  218.     }
  219.     #menu {
  220.         width: calc(100% - 4px);
  221.     }
  222. }
  223. @media (max-width: 825px) {
  224.     #header {
  225.         background-image: url(http://i.imgur.com/xol2iqy.png);
  226.         background-repeat: no-repeat;
  227.         background-position: left;
  228.     }
  229. }
  230. @media (max-width: 600px) {
  231.     .site-name {
  232.         font-size: 15px;
  233.     }
  234. }
  235. @media (max-width: 520px) {
  236.     #header {
  237.         background: none;
  238.     }
  239.     .site-name {
  240.         margin-left: 20px;
  241.     }
  242.     .site-slogan {
  243.         margin-left: 60px;
  244.     }
  245.     #nav li {
  246.         width: 100%;
  247.         border-right: none;
  248.     }
  249.     #nav li a {
  250.         width: 100%;
  251.         padding: 4px 0 4px 0;
  252.         text-align: center;
  253.     }
  254. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement