zerobin.css 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357
  1. /* ZeroBin 0.15 - http://sebsauvage.net/wiki/doku.php?id=php:zerobin */
  2. /* Hé, t'as vu Idleman, j'ai fait un effort sur les CSS ! ;-) */
  3. /* CSS Reset from YUI 3.4.1 (build 4118) - Copyright 2011 Yahoo! Inc. All rights reserved.
  4. Licensed under the BSD License. - http://yuilibrary.com/license/ */
  5. html{color:#000;background:#FFF}body,div,dl,dt,dd,ul,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal}ol,ul{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}q:before,q:after{content:''}abbr,acronym{border:0;font-variant:normal}sup{vertical-align:text-top}sub{vertical-align:text-bottom}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit}input,textarea,select{*font-size:100%}legend{color:#000}
  6. html {
  7. background-color:#455463;
  8. color:white;
  9. min-height:100%;
  10. background-image: linear-gradient(bottom, #0F1823 0%, #455463 100%);
  11. background-image: -o-linear-gradient(bottom, #0F1823 0%, #455463 100%);
  12. background-image: -moz-linear-gradient(bottom, #0F1823 0%, #455463 100%);
  13. background-image: -webkit-linear-gradient(bottom, #0F1823 0%, #455463 100%);
  14. background-image: -ms-linear-gradient(bottom, #0F1823 0%, #455463 100%);
  15. background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #0F1823), color-stop(1, #455463));
  16. }
  17. body {
  18. font-family: Arial, Helvetica, sans-serif;
  19. font-size: 0.8em;
  20. margin-bottom:15px;
  21. padding-left:60px; padding-right:60px;
  22. }
  23. a { color:#0F388F; }
  24. h1 {
  25. font-size:3.5em;
  26. font-weight:700;
  27. color:#000;
  28. position:relative;
  29. display:inline;
  30. cursor:pointer;
  31. }
  32. h1:before {
  33. content:attr(title);
  34. position:absolute;
  35. color:rgba(255,255,255,0.15);
  36. top:1px;
  37. left:1px;
  38. cursor:pointer;
  39. }
  40. h2 {
  41. color:#000;
  42. font-size:1em;
  43. display:inline;
  44. font-style:italic;
  45. font-weight:bold;
  46. position:relative;
  47. bottom:8px;}
  48. h3 {
  49. color:#94a3b4;
  50. font-size:0.7em;
  51. display:inline;
  52. position:relative;
  53. bottom:8px;}
  54. #aboutbox {
  55. font-size:0.85em;
  56. color: #94a3b4;
  57. padding: 4px 8px 4px 16px;
  58. position:relative;
  59. top:10px;
  60. border-left: 2px solid #94a3b4;
  61. float:right;
  62. width:60%;
  63. }
  64. div#aboutbox a { color: #94a3b4; }
  65. textarea#message,div#cleartext,.replymessage {
  66. clear:both;
  67. color:black;
  68. background-color:#fff;
  69. white-space:pre-wrap;
  70. font-family:Consolas,"Lucida Console","DejaVu Sans Mono",Monaco,monospace;
  71. font-size:9pt;
  72. border: 1px solid #28343F;
  73. padding:5px;
  74. box-sizing:border-box;
  75. -webkit-box-sizing:border-box;
  76. -moz-box-sizing:border-box;
  77. -ms-box-sizing:border-box;
  78. -o-box-sizing:border-box;
  79. width:100%;
  80. }
  81. div#status {
  82. clear:both;
  83. padding:5px 10px;
  84. }
  85. div#pastelink {
  86. background-color:#1F2833;
  87. color:white;
  88. padding:4px 12px;
  89. clear:both;
  90. -moz-box-shadow: inset 0px 2px 2px #000;
  91. -webkit-box-shadow: inset 0px 2px 2px #000;
  92. box-shadow: inset 0px 2px 5px #000;
  93. }
  94. div#pastelink a { color:white; }
  95. div#pastelink button { margin-left:11px }
  96. div#toolbar, div#status { margin-bottom:5px; }
  97. button,.button,div#expiration,div#language {
  98. color:#fff;
  99. background-color:#323B47;
  100. background-repeat:no-repeat;
  101. background-position:center left;
  102. padding:4px 8px;
  103. font-size:1em;
  104. margin-right:5px;
  105. display:inline;
  106. background-image: linear-gradient(bottom, #323B47 0%, #51606E 100%);
  107. background-image: -o-linear-gradient(bottom, #323B47 0%, #51606E 100%);
  108. background-image: -moz-linear-gradient(bottom, #323B47 0%, #51606E 100%);
  109. background-image: -webkit-linear-gradient(bottom, #323B47 0%, #51606E 100%);
  110. background-image: -ms-linear-gradient(bottom, #323B47 0%, #51606E 100%);
  111. background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #323B47), color-stop(1, #51606E));
  112. border: 1px solid #28343F;
  113. -moz-box-shadow: inset 0px 1px 2px #647384;
  114. -webkit-box-shadow: inset 0px 1px 2px #647384;
  115. box-shadow: inset 0px 1px 2px #647384;
  116. -webkit-border-radius: 3px;
  117. -moz-border-radius: 3px;
  118. border-radius: 3px;
  119. -moz-background-clip: padding; -webkit-background-clip: padding-box; background-clip: padding-box;
  120. }
  121. button:hover {
  122. background-image: linear-gradient(bottom, #424B57 0%, #61707E 100%);
  123. background-image: -o-linear-gradient(bottom, #424B57 0%, #61707E 100%);
  124. background-image: -moz-linear-gradient(bottom, #424B57 0%, #61707E 100%);
  125. background-image: -webkit-linear-gradient(bottom, #424B57 0%, #61707E 100%);
  126. background-image: -ms-linear-gradient(bottom, #424B57 0%, #61707E 100%);
  127. background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #424B57), color-stop(1, #61707E));
  128. }
  129. button:active {
  130. background-image: linear-gradient(bottom, #51606E 0%, #323B47 100%);
  131. background-image: -o-linear-gradient(bottom, #51606E 0%, #323B47 100%);
  132. background-image: -moz-linear-gradient(bottom, #51606E 0%, #323B47 100%);
  133. background-image: -webkit-linear-gradient(bottom, #51606E 0%, #323B47 100%);
  134. background-image: -ms-linear-gradient(bottom, #51606E 0%, #323B47 100%);
  135. background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #51606E), color-stop(1, #323B47));
  136. position:relative;
  137. top:1px;
  138. }
  139. button:disabled, .buttondisabled {
  140. background:#ccc;
  141. color:#888;
  142. top:0px;
  143. }
  144. button img {
  145. margin-right:8px;
  146. position:relative;
  147. top:2px;
  148. }
  149. div#expiration, div#language, div#opendisc {
  150. background-color:#414D5A;
  151. padding:6px 8px;
  152. margin:0px 5px 0px 0px;;
  153. position: relative;
  154. bottom:1px; /* WTF ? Why is this shifted by 1 pixel ? */
  155. }
  156. div#expiration select, div#language select {
  157. color:#eee;
  158. background: transparent;
  159. border: none;
  160. }
  161. div#expiration select option, div#language select option {
  162. color:#eee;
  163. background: #414D5A;
  164. background-color:#414D5A;
  165. }
  166. div#remainingtime {
  167. color: #94a3b4;
  168. display:inline;
  169. font-size:0.85em;
  170. }
  171. .foryoureyesonly {
  172. color: yellow !important;
  173. font-size: 1em !important;
  174. font-weight:bold !important;
  175. }
  176. button#newbutton { float:right; margin-right:0px;margin-bottom:5px; display:inline; }
  177. input { color:#777; font-size:1em; padding:6px; border: 1px solid #28343F; }
  178. .nonworking {
  179. background-color:#fff;
  180. color:#000;
  181. width:100%;
  182. text-align:center;
  183. font-weight:bold;
  184. font-size:10pt;
  185. -webkit-border-radius:4px;
  186. -moz-border-radius:4px;
  187. border-radius:4px;
  188. padding:5px;
  189. }
  190. div#ienotice {
  191. background-color:#7E98AF;
  192. color:#000;
  193. font-size:0.85em;
  194. padding:3px 5px;
  195. text-align:center;
  196. -webkit-border-radius:4px;
  197. -moz-border-radius:4px;
  198. border-radius:4px;
  199. display:none;
  200. }
  201. div#ienotice a {
  202. color:black;
  203. }
  204. div#oldienotice {
  205. display:none;
  206. }
  207. .errorMessage {
  208. background-color:#FF7979 !important;
  209. color:#FF0;
  210. }
  211. /* --- discussion related CSS ------- */
  212. div#discussion { /* Discussion container */
  213. margin-top:20px;
  214. width:100%;
  215. margin-left:-30px;
  216. min-width:200px;
  217. }
  218. h4 {
  219. font-size:1.2em;
  220. color: #94A3B4;
  221. font-style:italic;
  222. font-weight:bold;
  223. position:relative;
  224. margin-left:30px;
  225. }
  226. div.comment /* One single reply */
  227. {
  228. background-color:#CECED6;
  229. color:#000;
  230. white-space:pre-wrap;
  231. font-family:Consolas,"Lucida Console","DejaVu Sans Mono",Monaco,monospace;
  232. font-size:9pt;
  233. border-left: 1px solid #859AAE;
  234. border-top: 1px solid #859AAE;
  235. padding:5px 0px 5px 5px;
  236. margin-left:30px;
  237. -moz-box-shadow: -3px -3px 5px rgba(0,0,0,0.15);
  238. -webkit-box-shadow: -3px -3px 5px rgba(0,0,0,0.15);
  239. box-shadow: -3px -3px 5px rgba(0,0,0,0.15);
  240. min-width:200px;
  241. overflow:auto;
  242. }
  243. /* FIXME: Add min-width */
  244. div.reply {
  245. margin: 5px 0px 0px 30px;
  246. }
  247. div#replystatus {
  248. display:inline;
  249. padding:1px 7px;
  250. font-family: Arial, Helvetica, sans-serif;
  251. }
  252. div.comment button {
  253. color:#446;
  254. background-color:#aab;
  255. background-repeat:no-repeat;
  256. background-position:center left;
  257. padding:0px 2px;
  258. font-size:0.73em;
  259. margin: 3px 5px 3px 0px;
  260. display:inline;
  261. background-image: linear-gradient(bottom, #aab 0%, #ccc 100%);
  262. background-image: -o-linear-gradient(bottom, #aab 0%, #ccc 100%);
  263. background-image: -moz-linear-gradient(bottom, #aab 0%, #ccc 100%);
  264. background-image: -webkit-linear-gradient(bottom, #aab 0%, #ccc 100%);
  265. background-image: -ms-linear-gradient(bottom, #aab 0%, #ccc 100%);
  266. background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #aab), color-stop(1, #ccc));
  267. border: 1px solid #ccd;
  268. -moz-box-shadow: inset 0px 1px 2px #ddd;
  269. -webkit-box-shadow: inset 0px 1px 2px #fff;
  270. box-shadow: inset 0px 1px 2px #eee;
  271. -webkit-border-radius: 3px;
  272. -moz-border-radius: 3px;
  273. border-radius: 3px;
  274. -moz-background-clip: padding; -webkit-background-clip: padding-box; background-clip: padding-box;
  275. }
  276. div.comment button:hover {
  277. background-image: linear-gradient(bottom, #ccd 0%, #fff 100%);
  278. background-image: -o-linear-gradient(bottom, #ccd 0%, #fff 100%);
  279. background-image: -moz-linear-gradient(bottom, #ccd 0%, #fff 100%);
  280. background-image: -webkit-linear-gradient(bottom, #ccd 0%, #fff 100%);
  281. background-image: -ms-linear-gradient(bottom, #ccd 0%, #fff 100%);
  282. background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #ccd), color-stop(1, #fff));
  283. }
  284. div.comment button:active {
  285. background-image: linear-gradient(bottom, #fff 0%, #889 100%);
  286. background-image: -o-linear-gradient(bottom, #fff 0%, #889 100%);
  287. background-image: -moz-linear-gradient(bottom, #fff 0%, #889 100%);
  288. background-image: -webkit-linear-gradient(bottom, #fff 0%, #889 100%);
  289. background-image: -ms-linear-gradient(bottom, #fff 0%, #889 100%);
  290. background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #fff), color-stop(1, #889));
  291. position:relative;
  292. top:1px;
  293. }
  294. div.comment input {
  295. padding:2px;
  296. }
  297. textarea#replymessage {
  298. margin-top:5px;
  299. }
  300. div.commentmeta {
  301. color: #fff;
  302. background-color:#8EA0B2;
  303. margin-bottom:3px;
  304. padding:0px 0px 0px 3px;
  305. }
  306. span.commentdate {
  307. color: #BFCEDE;
  308. }
  309. img.vizhash {
  310. width:16px;
  311. height:16px;
  312. position:relative;
  313. top:2px;
  314. left:-3px;
  315. }