oliverhentairules

CSS thing

Sep 1st, 2015
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 6.16 KB | None | 0 0
  1. /* @override
  2.     http://www.hentairules.net/wp-content/themes/canvas/custom.css */
  3.    
  4. /*
  5. WOO CUSTOM STYLESHEET
  6. ---------------------
  7.  
  8. Instructions:
  9.  
  10. Add your custom styles in this file instead of style.css so it
  11. is easier to update the theme. Simply copy an existing style
  12. from style.css to this file, and modify it to your liking. */
  13.  
  14.  
  15. /* GLOBAL STYLES
  16. ----------------
  17. Add styles beneath this line that you want to be applied across your entire site */
  18.  
  19.  
  20.  
  21. .spoiler-body {
  22.     background-color:#131f32 !important;
  23. }
  24.  
  25. #navigation {
  26.     margin-bottom: 0em;
  27. }
  28.  
  29. .wp-smiley { background-color: transparent !important;}
  30.  
  31. .wp-pagenavi, .wp-pagenavi form { display: inline; }
  32.  
  33. /* sure, I'll throw ads in the face of smartphone users. Their tiny screens need shit like that. */
  34. @media only screen and (max-width:480px) {
  35. .hide_on_mobile {
  36. display: none !important;}
  37. }
  38.  
  39. /* Enlarging the star ratings didn't do anything for me, but made them gigantic for someone else. FFS.
  40. .post-ratings IMG {width: 20px; height: 20px;} */
  41.  
  42. /* Won't work for me.
  43. .post-ratings {
  44. line-heigth: 1;
  45. } */
  46.  
  47. /* Won't work for me.
  48. @media="all" {
  49. .post-ratings  {
  50.  vertical-align: middle; }
  51. } */
  52.  
  53. /* Change it, don't change it... ah, damn it, I hesitate... Defaults are padding 3 and border 1
  54. .entry img, img.thumbnail, #portfolio .group.portfolio-img img {
  55.   height: auto;
  56.   padding: 1px;
  57.   border: 0px solid #e6e6e6;
  58.   background: #F8F8F8;
  59.   background: rgba(255, 255, 255, 0.7); }
  60.   */  
  61.  
  62. div.deco {
  63.   background-image: url(http://www.hentairules.net/blog/wp-content/uploads/top.png), url(http://www.hentairules.net/blog/wp-content/uploads/footer.png);
  64.   background-position: center top, center bottom;
  65.   background-repeat: no-repeat, no-repeat;
  66.   background-color: #030f22;
  67. }
  68.  
  69. .deco #footer-widgets {
  70.     border-top:none;
  71. }
  72.  
  73. .lienzip {
  74.     padding: 1em;
  75.     margin: 2em 3em;
  76.     line-height: 1.7em;
  77.     border: 1px solid #a9a9a9;    
  78.     }
  79.  
  80. .bonuslinks p {
  81.     font-size:x-small !important;
  82.     font-style: italic !important;
  83.     }
  84.     /* Not working. I added "p" just in case, meh, to no chance. FFS. Abandon it. */
  85.    
  86. article.type-post {
  87.     background: url(http://www.hentairules.net/blog/wp-content/uploads/post.png) left top no-repeat #131f32;
  88.     padding: 30px 20px 20px;
  89. }
  90.  
  91. .widget a {
  92.     color: white;
  93. }
  94.  
  95. article.type-post a.more-link {
  96.     -moz-appearance: none;
  97.     background: none 0 0 repeat scroll #dd3333;
  98.     border-color: rgba(255, 255, 255, 0);
  99.     border-radius: 3px;
  100.     border-style: solid;
  101.     border-width: 1px;
  102.     box-shadow: 0 0 0 0 #888;
  103.     box-sizing: border-box;
  104.     color: white !important;
  105.     cursor: pointer;
  106.     display: inline-block;
  107.     font-family: inherit;
  108.     font-size: 1em;
  109.     font-weight: 200;
  110.     line-height: 1.618em;
  111.     overflow: visible;
  112.     padding: 0.327em 1em;
  113.     text-align: center;
  114.     text-decoration: none;
  115.     text-shadow: none;
  116.     text-transform: uppercase;
  117.     white-space: normal;
  118.     width: auto;
  119.     margin-top: 20px;
  120. }
  121.  
  122. article.type-post a.more-link:hover {
  123.     background: none 0 0 repeat scroll #881616;
  124.     text-decoration: none;
  125. }
  126.  
  127. /* won't work.
  128. .more-link {
  129.     text-align: center !important;
  130.     margin: 0 auto !important;
  131. }       */
  132.  
  133. /* won't work
  134. .more-link p {
  135.     text-align: center !important;
  136.     margin: 0 auto !important;
  137. }       */
  138.  
  139. /* won't work
  140. .more-link {
  141. display: block;
  142. width: 200px;
  143. }  */
  144.  
  145. /* won't work  
  146. .more-link {
  147. display: block;
  148. width: 200px;
  149. margin: 20px auto 0;
  150. }   */
  151.  
  152. /* partially works, the CONTINUE READING is a bit on the right of the horizontal middle.
  153. article.type-post a.more-link {
  154. position: relative;
  155. left: 50%;
  156. margin-left: -100px;
  157. width: 200px:
  158. } */
  159. /* That margin-left didn't do shit, with or without it, nothing new happens */
  160.  
  161. /* Hey, why didn't I try that one already ? -- Bummer, doesn't work.
  162. article.type-post a.more-link {
  163. text-align: center;
  164. } */
  165.  
  166. /* That one works, at least. Not much of a surprise, though, and at the cost of affecting EVERYTHING even when I don't want it :(
  167. .entry, .entry p {
  168. text-align: center;
  169. }
  170. */
  171.  
  172. /*  Need to specify it because it has been reset to font-size:100% in the main style.css */
  173. small {
  174.     font-size: smaller;
  175. }
  176.  
  177. /*  Need to specify it because it has been reset in the main style.css */
  178. b {
  179.     font-weight: bold;
  180. }
  181.  
  182. /* Note to self, there's this reference in style.css that MIGHT be cause for the emoticons and the star ratings to be wrongly aligned
  183. img {
  184.   vertical-align: bottom;
  185.   max-width: 100%; }
  186. */
  187.  
  188. /* That one works! But it centers EVERYTHING, which may not be such a great thing
  189. section.entry :last-child {
  190. text-align: center;
  191. }  */
  192.    
  193. article .post-meta .small {
  194.     text-transform: none;
  195. }
  196.  
  197. .post-meta a:link, .post-meta a:visited, .post p.tags a:link, .post p.tags a:visited {
  198.     color: #e4e4e4;
  199. }
  200.  
  201.  
  202. #main #comments h3, .comment-respond h3#reply-title.comment-reply-title, #main h1.archive_header {
  203.     color: white;
  204. }
  205.  
  206. #avertissementVieuxPost {
  207.  
  208.   /* A bright orange color, with some very slight transparency added. */
  209.   background: rgba(255, 128, 0, 1);
  210.     /* le ", 1" final c'est pour dire "aucune transparence", plus c'est près de zéro plus c'est transparent, par ex 0.7 en ferait une couleur plus pâlotte */
  211.   width:80%;
  212.   margin:0 auto;
  213.   padding: 8px;
  214.   text-align:center;
  215.   color:black;
  216.  
  217.   /* ANGLES ARRONDIS : A few vendor-prefixed versions of the property... */
  218.   -webkit-border-radius: 4px;
  219.   -moz-border-radius: 4px;
  220.    /* ...and the 'real' property last. */
  221.   border-radius: 4px;
  222.  
  223.   /* OMBRES : A few vendor-prefixed versions of the property... */
  224.   -webkit-box-shadow: 2px 2px 2px rgba(0,0,0,0.7);
  225.   -moz-box-shadow: 2px 2px 2px rgba(0,0,0,0.7);
  226.    /* ...and the 'real' property last. */
  227.   box-shadow: 2px 2px 2px rgba(0,0,0,0.7);
  228.  
  229.   font-family: "Lucida Sans Unicode", "Lucida Sans", Tahoma, Arial, sans-serif;
  230.    
  231. }
  232.  
  233. #avertissementVieuxPost a {
  234. color:black;
  235. }
  236.  
  237. /* DESKTOP STYLES
  238. -----------------
  239. Add styles inside the media query below that you only want to be applied to the desktop layout of your site */
  240. @media only screen and (min-width: 768px) {
  241.     /* Desktop styles go below this line */
  242.  
  243.     div#content.col-full {
  244.         padding-top: 30px;
  245.     }
  246.  
  247.    
  248. }
Add Comment
Please, Sign In to add comment