Advertisement
Guest User

zvi

a guest
Aug 19th, 2009
301
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 7.52 KB | None | 0 0
  1. /* Refried Tablet, a css port of Refried Paper, implemented by zvi.dreamwidth.org */
  2.  
  3. /* WHOLE PAGE */
  4.  
  5. #lj_controlstrip {font-size: 1em; }
  6.  
  7. A       { color: #CC6633; text-decoration: none; }
  8. A:visited   { color: #6633CC; }
  9. A:active    { color: #FF9966;  text-decoration: underline; }
  10. A:hover     { color: #3399CC; text-decoration: underline;}
  11.  
  12.  
  13. body {
  14.   margin: 0;  padding: 0;
  15.   background: #ffffff none;  color: #666666;
  16.   font-family: "NimbusRoman No9 L", Rekha, Georgia, serif; font-size: 100%; }
  17.  
  18. p,td,tr,table,hr,br,ul,ol,li {font-size:1em; line-height:1.5em; text-align:justify; }
  19.  
  20. h1, h2, h3, h4, h5, h6 {font-family: Loma, Verdana, Geneva, sans-serif; }
  21.  
  22. /* PAGE HEADER */
  23.  
  24. #canvas {border-top: #666666 20px solid; } 
  25.  
  26. h1#title, h2#subtitle { font-weight:900;
  27.                 letter-spacing:.1em;  
  28.                 background-color: #CCCC99;color: #666666;
  29.                 margin: 0em auto; padding-bottom: 0em;
  30.                 }              
  31. h1#title {  font-size: 2em; line-height: 1em; }
  32. h1#title:after {content: ": "; }
  33. h2#subtitle { font-size: 1.5em; line-height: 0.75em; }
  34.  
  35. #header {border-top: white 2px solid; background-color: #CCCC99; border-bottom: black 1px solid;  }
  36.                
  37. h2#pagetitle {color: #999966; background-color: #CCCC99;
  38.                 font-size: 1.25em; font-weight:bold; text-transform:uppercase; letter-spacing:.2em;
  39.                 clear: both; padding-right: 5em; padding-top: 0em;}
  40. h2#pagetitle:after { content: " PAGE"; }
  41. .page-archive h2#pagetitle:after { content: " ARCHIVE PAGE"; }
  42. .page-entry h2#pagetitle:after, .page-read h2#pagetitle:after {content: ""; }
  43.                
  44. /* ENTRIES */
  45.                
  46. /* Make the headers a different color than the rest of the text. */
  47. .tag, .metadata, .entry .inner .header, .entry .inner .poster, .entry .inner .userpic { color: #336699; font-size: 1em; line-height:1.4em; font-weight: bold;}
  48.  
  49.  
  50. /* Add identifiers to the header content, pt 1 */
  51. h3.entry-title:before {content: "Subject: ";}
  52. h3.entry-title {color: #336699; font-size: 1em; line-height:1.4em; margin-bottom: 0em; padding-bottom: 0em; font-family: "NimbusRoman No9 L", Rekha, Georgia, serif; }
  53.  
  54. /* replace icons for restrictions with text */
  55. .restrictions-18 .entry-title:after { display: block; content: "Rating: Restricted to adults 18 and older.";  color: #c33; background-color: white; }
  56. .restrictions-NSFW .entry-title:after { display: block; content: "Rating: Discretion advised. Not safe for work.";  }
  57. span.restrictions { display: none; }
  58.  
  59. /* Add identifiers to the header content, pt 2 */
  60. .entry .inner .header .datetime:before {content: "Date: ";}
  61.  
  62. /* replace icons for security with text */
  63. .security-public .entry .inner .header:after { content: "Security: Public"; display: block; clear: left; }
  64. .security-private .entry .inner .header:after { content: "Security: Private"; display: block; clear: left; }
  65. .security-protected .entry .inner .header:after { content: "Security: Access Only"; display: block; clear: left; }
  66. .security-custom .entry .inner .header:after { content: "Security: Access Filter"; display: block; clear: left; }
  67. .access-filter { display: none; }
  68.  
  69. /* Add identifiers to the header content, pt 3 */
  70. .entry .inner .poster:before { content: "Poster: ";}
  71. .page-recent .journal-type-P .entry .inner .poster:before { content: "Poster"; color: white; background-color: white;}
  72. .entry .inner .userpic {margin-bottom: 1em;}
  73.  
  74.  
  75. /* make metadata and tags more header-ish */
  76. .metadata {padding: 0em; margin: 0em; margin-top: 1em; margin-bottom: -1em;}
  77. .metadata ul { margin: 0em; padding: 0em; }
  78. .metadata li {line-height: 1.4em; margin: 0em auto;}
  79. .tags {margin-bottom: 0em; }
  80. div.inner > ul {margin-top: 0em; }
  81.  
  82. /* put the icons on the same line as the text entry management stuff */
  83. .entry-management-links {float: right; display: inline; }
  84.  
  85. /* Put a line under all the entries, add space between entries */
  86. .entry-wrapper { border-bottom: 1px black solid; padding-bottom: 1em; margin-bottom: 1.5em; }
  87.  
  88. /* make user pic next to header info, special rules for syndicated journals (journal type y) which never have icons */
  89. .entry .inner {position: relative; }
  90.  
  91. .entry .header {position: relative; left: 105px;}
  92. .journal-type-Y .entry .header { position: static; }
  93.  
  94. .entry .inner .poster { display: block; position: relative; left: 105px; }
  95. .journal-type-Y .entry .poster { display: block; position: static; }
  96.  
  97. .entry .inner .userpic { float: left; position: absolute; top: -4em;  }
  98. .restrictions-18 .entry .inner .userpic, .restrictions-NSFW .entry .inner .userpic { float: left; position: absolute; top: -5.25em;  } /* the restricted entries have an extra line, so they need extra top space */
  99.  
  100. .entry .inner .entry-content { position: relative; top: 5em; margin-bottom: 5em; }
  101. .journal-type-Y .inner .entry-content {position: static; margin-bottom: auto; }
  102.  
  103. /* Make text entry management links left-align and pretty */
  104. .entry .inner {margin-bottom: 1em; }
  105. ul.entry-interaction-links { text-align: left;}
  106. ul.entry-interaction-links li { font-family: Loma, Verdana, Geneva, sans-serif; font-size: 0.8em; color: #336699; line-height:1.4em; text-transform: uppercase;}
  107. ul.entry-interaction-links li:before { content: "| ";}
  108. ul.entry-interaction-links li:first-child:before  { content: ""; }
  109.  
  110. /* SIDEBARS AND MODULES */
  111.  
  112. /* make headers pretty */
  113. div h2.module-header { border-top: 1px black solid; border-bottom: 2px black solid;
  114.             padding: 0em 1em 0.25em 1em; margin-bottom: 1em; margin: 0em;
  115.             color: #333333; background-color: #CCCCCC;
  116.             font-size: 1.1em; font-weight:bold; letter-spacing: .1em; text-transform: lowercase; }
  117.  
  118. /* get rid of padding so that the header borders go all the way to the sides, add border around the columns */
  119. #secondary {padding: 0em; border: thin black solid; }
  120. #secondary .inner:first-child {padding: 0em; }
  121.  
  122. /* avoid triple borders on the top of the top module */
  123. #secondary .module:first-child h2.module-header { border-top: 0px black solid; }
  124.  
  125. /* but keep the line on the top of a one column implementation */
  126. .one-column #secondary .module:first-child h2 { border-top: 1px black solid; }
  127.  
  128. /* add padding to module content because whitespace is good! But we don't need so much on ul and table. */
  129. .module-content { margin: 1em; }
  130. .module-content ul, .module-content table { margin-left: -0.5em; }
  131.  
  132. /* make lists prettier */
  133. .module-content li { text-align: left; list-style-type: none; list-style-position: inside;}
  134.  
  135. /* special case for the navlinks module, add line because it has no h2 */
  136. .module-navlinks { border-top: 1px black solid; }
  137.  
  138. /* special case for the syndicate tags, too close to top */
  139. .module-syndicate .module-content {margin-top: .5em; }
  140.  
  141. /* FOOTER */
  142.  
  143. /* make footer a contrast color bar */
  144. #footer { background-color: #555555; }
  145. #footer a { font-weight: bold; color: #FFD4BD;}
  146.  
  147. /* don't make tertiary modules in two column into 15px boxes, the data doesn't fit! */
  148. .two-columns-left #tertiary .module, .two-columns-right #tertiary .module {
  149. clear: both; width: auto; margin: 0em auto; padding: 0em auto; }
  150.  
  151. /* COMMENTS */
  152.  
  153. /* add line between comments */
  154. .comment-wrapper { border-bottom: thin black inset; }
  155.  
  156. /* make comment headers headerish */
  157. .comment .inner .header, .comment .inner .contents .poster, .comment .inner .contents .poster-ip { color: #336699; line-height:1.4em; font-weight: bold; }
  158.  
  159. /* visually distinguish screened/frozen comments */
  160. .screened { font-family: "Nimbus Mono L", "Courier New", monospace; font-size: .9em; font-weight: 300; background-color: #ecf7ff; }
  161. .frozen { font-family: "Nimbus Mono L", "Courier New", monospace; font-size: .9em; font-weight: 300; background-color: #F5F5F5; }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement