Advertisement
SwitchView

/r/mcpublic old CSS

Feb 17th, 2016
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.84 KB | None | 0 0
  1. /* Filter by flair. */
  2.  
  3. html:lang(cr) .link:not(.linkflair-creative) {
  4. display: none;
  5. }
  6.  
  7. html:lang(pv) .link:not(.linkflair-pve) {
  8. display: none;
  9. }
  10.  
  11. html:lang(su) .link:not(.linkflair-survival) {
  12. display: none;
  13. }
  14.  
  15. html:lang(nt) .link:not(.linkflair-notice) {
  16. display: none;
  17. }
  18.  
  19. html:lang(ev) .link:not(.linkflair-events) {
  20. display: none;
  21. }
  22.  
  23. html:lang(wk) .link:not(.linkflair-events) {
  24. display: none;
  25. }
  26.  
  27. html:lang(ch) .link:not(.linkflair-events) {
  28. display: none;
  29. }
  30.  
  31. /* Testing log */
  32.  
  33. /* Disable Downvoting */
  34. .sitetable[id$="1ql9rp"] .down { display: none; }
  35.  
  36. /* Mansion contest */
  37.  
  38. a.author[href$="/buddyweed"]:before {
  39. content: url( %%1mansion%%) !important
  40. }
  41.  
  42. .comment .author[href$="/buddyweed"]:hover:before {
  43. content: "(Mansion contest, 1st place) " !important
  44. }
  45.  
  46. a.author[href$="/moejuda"]:before {
  47. content: url(%%2mansion%%) !important
  48. }
  49.  
  50. .comment .author[href$="/moejuda"]:hover:before {
  51. content: "(Mansion contest, 2nd place) " !important
  52. }
  53.  
  54. a.author[href$="/Deaygo"]:before {
  55. content: url(%%3mansion%%) !important
  56. }
  57.  
  58. .comment .author[href$="/Deaygo"]:hover:before {
  59. content: "(Mansion contest, 3rd place) " !important
  60. }
  61.  
  62. /* Creative Islands */
  63.  
  64. a.author[href$="/Ooer"]:before {
  65. content: url(%%pick01%%) !important
  66. }
  67.  
  68. .comment .author[href$="/Ooer"]:hover:before {
  69. content: "(Creative islands, 1st place) " !important
  70. }
  71.  
  72. a.author[href$="/WayneByNumbers"]:before {
  73. content: url(%%pick02%%) !important
  74. }
  75.  
  76. .comment .author[href$="/WayneByNumbers"]:hover:before {
  77. content: "(Creative islands, 2nd place) " !important
  78. }
  79.  
  80. a.author[href$="/Kohlse"]:before {
  81. content: url(%%pick03%%) !important
  82. }
  83.  
  84. .comment .author[href$="/Kohlse"]:hover:before {
  85. content: "(Creative islands, 3rd place) " !important
  86. }
  87.  
  88. a.author[href$="/TheSilverFalcon"]:before {
  89. content: url(%%pick04%%) !important
  90. }
  91.  
  92. .comment .author[href$="/TheSilverFalcon"]:hover:before {
  93. content: "(Creative islands, 4th place) " !important
  94. }
  95.  
  96. /* Survival League */
  97.  
  98. a.author[href$="/TornadoHorse"]:before {
  99. content: url(%%DSword%%) !important
  100. }
  101.  
  102. .comment .author[href$="/TornadoHorse"]:hover:before {
  103. content: "(Survival Arena League, 1st place) " !important
  104. }
  105.  
  106. a.author[href$="/Nuxusi"]:before {
  107. content: url(%%ISword%%) !important
  108. }
  109.  
  110. .comment .author[href$="/Nuxusi"]:hover:before {
  111. content: "(Survival Arena League, 2nd place) " !important
  112. }
  113.  
  114. a.author[href$="/produff"]:before {
  115. content: url(%%ISword%%) !important
  116. }
  117.  
  118. .comment .author[href$="/produff"]:hover:before {
  119. content: "(Survival Arena League, 2nd place) " !important
  120. }
  121.  
  122. a.author[href$="/Craae"]:before {
  123. content: url(%%WSword%%) !important
  124. }
  125.  
  126. .comment .author[href$="/Craae"]:hover:before {
  127. content: "(Survival Arena League, 3rd place) " !important
  128. }
  129.  
  130. #header-img {
  131. margin-right: 0;
  132. }
  133.  
  134. .pagename {
  135. display: inline-block;
  136. margin-right: 20px;
  137. }
  138.  
  139. .pagename a {
  140. background-image: url(%%head3%%);
  141. background-repeat: no-repeat;
  142. display: inline-block;
  143. padding-top: 61px;
  144. height: 0;
  145. width: 212px;
  146. overflow: hidden;
  147. }
  148.  
  149. /* Heads */
  150.  
  151. .author[href$="/Barlimore_"]:hover:after {
  152. content: " (Head Admin)" !important
  153. }
  154.  
  155. .author[href$="/Mrloud15"]:hover:after {
  156. content: " (Head Admin)" !important
  157. }
  158.  
  159. .author[href$="/cyotie911"]:hover:after {
  160. content: " (Head Admin)" !important
  161. }
  162.  
  163. .author[href$="/rampantangent"]:hover:after {
  164. content: " (Head Admin)" !important
  165. }
  166.  
  167. .author[href$="/JollyJackal"]:hover:after {
  168. content: " (Head Admin)" !important
  169. }
  170.  
  171. /* Techs */
  172.  
  173. .author[href$="/AlLnAtuRalX"]:hover:after {
  174. content: " (Founder)" !important
  175. }
  176.  
  177. .author[href$="/Deaygo"]:hover:after {
  178. content: " (Tech Admin)" !important
  179. }
  180.  
  181. .author[href$="/redwall_hp"]:hover:after {
  182. content: " (Tech Admin)" !important
  183. }
  184.  
  185. .author[href$="/c45y"]:hover:after {
  186. content: " (Tech Admin)" !important
  187. }
  188.  
  189. .author[href$="/slide23"]:hover:after {
  190. content: " (Tech Admin)" !important
  191. }
  192.  
  193. .author[href$="/Dumbo52islost"]:hover:after {
  194. content: " (Tech Admin)" !important
  195. }
  196.  
  197.  
  198.  
  199. #header { background-color: black; }
  200.  
  201. .footer .flat-list {
  202. background-image:url(%%mcheader%%);
  203. width:88px;
  204. height:54px;
  205. position:absolute;
  206. top:68px;
  207. left:750px;
  208. }
  209.  
  210. .footer .flat-list li {
  211. display:none;
  212. visibility:hidden;
  213. }
  214.  
  215.  
  216. /* Comment out the next two rules when not using an announcement banner */
  217. /* TODO: just put something nice in that space instead of fiddling css everytime */
  218. body:not(.submit-page) div.content {
  219. margin-top: 35px
  220. }
  221. .side {
  222. margin-top:27px;
  223. }
  224.  
  225. /* Use "> Announcement" to put a banner on top of the subreddit. */
  226. .titlebox .md blockquote {
  227. position: absolute;
  228. left:0px;
  229. top:82px;
  230. margin: 5px 0;
  231. border:none;
  232. border-top:2px solid rgb(181, 212, 254);
  233. border-bottom:2px solid rgb(181, 212, 254);
  234. background-color: rgb(248, 250, 252);
  235. width:100%;
  236. text-align:center;
  237. }
  238. /* Use "> ~~Announcement~~" to put a RED banner on top of the subreddit */
  239. .titlebox .md blockquote > p > del {
  240. display: block;
  241. margin: -7px 0 -7px -4px;
  242. border-top: 2px solid orange;
  243. border-bottom: 2px solid orange;
  244. border: none;
  245. padding: 5px 0;
  246. text-decoration: none;
  247. background: red;
  248. color: white;
  249. clear: both;
  250. }
  251. .titlebox .md blockquote > p > del > a {
  252. color: inherit;
  253. }
  254. .titlebox .md blockquote > p > del > strong > a {
  255. color: inherit;
  256. }
  257. /* end header */
  258.  
  259. /* Sidebar */
  260. .titlebox .md {
  261. overflow: hidden;
  262. }
  263. .titlebox h2 {
  264. color: black;
  265. font-size: 1.75em;
  266. border-bottom: 2px solid rgb(175, 175, 175);
  267. font-family: sans-serif;
  268. font-weight: normal;
  269. margin: 15px 0 8px 0;
  270. }
  271.  
  272. .titlebox hr {
  273. border: none;
  274. border-bottom: 2px solid rgb(175, 175, 175);
  275. }
  276.  
  277. .titlebox .md table {
  278. border-collapse: collapse;
  279. border: 2px solid rgb(255, 175, 0);
  280. outline: 10px solid rgb(255, 255, 175);
  281. margin: 15px 10px;
  282. }
  283.  
  284. .titlebox .md table th {
  285. background-color: rgb(242, 242, 217);
  286. }
  287.  
  288. /* Modmail tooltip */
  289. a[href="/message/compose?to=%2Fr%2Fmcpublic"]:hover::after {
  290. display: block;
  291. position: absolute;
  292. right: 0;
  293. margin-top: 5px;
  294. max-width: 20em;
  295. background-color: rgb(255, 255, 200);
  296. border: 1px solid rgb(255, 200, 100);
  297. color: black;
  298. text-align: center;
  299. content: "Looking for the server address? It's in the sidebar! Appealing a ban? http://nerd.nu/appeal";
  300. }
  301.  
  302. /* Submit page anti-server promo */
  303. form.submit > .formtabs-content > .spacer:first-child::after,
  304. form.submit > .formtabs-content::after
  305. {
  306. display: block;
  307. content: "This subreddit is not for advertising servers.";
  308. background-color: rgb(246, 159, 159);
  309. border: 1px solid red;
  310. font-size: small;
  311. margin: 10px 0 0 0;
  312. padding: 5px;
  313. }
  314.  
  315. form.submit > .formtabs-content::after
  316. {
  317. border-radius: 4px;
  318. padding: 9px;
  319. margin-bottom: 12px;
  320. }
  321.  
  322.  
  323.  
  324.  
  325. /* Always looks strange seeing warwick down the bottom */
  326. .titlebox .bottom {
  327. height:0px;
  328. overflow:hidden;
  329. }
  330.  
  331. a[href="/redwool"]:after {
  332. width: 32px;
  333. height: 32px;
  334. content: " ";
  335. background-image: url(%%red-wool%%);
  336. display: inline-block
  337. }
  338.  
  339. a[href="/bluewool"]:after {
  340. width: 32px;
  341. height: 32px;
  342. content: " ";
  343. background-image: url(%%blue-wool%%);
  344. display: inline-block
  345. }
  346. a[href="/yellowwool"]:after {
  347. width: 32px;
  348. height: 32px;
  349. content: " ";
  350. background-image: url(%%yellow-wool%%);
  351. display: inline-block
  352. }
  353. a[href="/greenwool"]:after {
  354. width: 32px;
  355. height: 32px;
  356. content: " ";
  357. background-image: url(%%green-wool%%);
  358. display: inline-block
  359. }
  360.  
  361. a[href="/dpick"]:after {
  362. width: 16px;
  363. height: 16px;
  364. content: " ";
  365. background-image: url(%%pick01%%);
  366. display: inline-block
  367. }
  368.  
  369. a[href="/ipick"]:after {
  370. width: 16px;
  371. height: 16px;
  372. content: " ";
  373. background-image: url(%%pick02%%);
  374. display: inline-block
  375. }
  376.  
  377. a[href="/gpick"]:after {
  378. width: 16px;
  379. height: 16px;
  380. content: " ";
  381. background-image: url(%%pick03%%);
  382. display: inline-block
  383. }
  384.  
  385. a[href="/spick"]:after {
  386. width: 16px;
  387. height: 16px;
  388. content: " ";
  389. background-image: url(%%pick04%%);
  390. display: inline-block
  391. }
  392.  
  393.  
  394. /* Server tags */
  395.  
  396. /* Invite users who haven't tagged their submissions to do it */
  397. .thing:not(.linkflair) .flairselectbtn::after {
  398. content: "Tag your post!";
  399. margin-left: 10px;
  400. outline: 1px solid red;
  401. }
  402.  
  403. /* link flair (thanks redstonehelper!) */
  404. .linkflair-untag {
  405. display:none;
  406. }
  407. .linkflairlabel {
  408. margin-right: 5px;
  409. font-family: Verdana, Arial, Helvetica, sans-serif;
  410. font-size: 0.85em;
  411. border: none;
  412. padding: 2px 3px;
  413. cursor:text;
  414. font-size: 10px;
  415. text-transform: uppercase;
  416. }
  417. a.title:before {
  418. line-height: 18pt
  419. }
  420. /* Specific styling for each flair class */
  421. .linkflair-creative > .linkflairlabel, .linkflair-creative .title > .linkflairlabel {
  422. background-color: red;
  423. color: white;
  424. content: "Creative"
  425. }
  426. .linkflair-pve > .linkflairlabel, .linkflair-pve .title > .linkflairlabel {
  427. background-color: green;
  428. color: white;
  429. content: "PvE"
  430. }
  431. .linkflair-survival > .linkflairlabel, .linkflair-survival .title > .linkflairlabel {
  432. background-color: blue;
  433. color: white;
  434. content: "Survival"
  435. }
  436. .linkflair-chaos > .linkflairlabel, .linkflair-chaos .title > .linkflairlabel {
  437. background-color: #3a4040;
  438. color: white;
  439. content: "Chaos"
  440. }
  441. .linkflair-wiki > .linkflairlabel, .linkflair-wiki .title > .linkflairlabel {
  442. background-color: #3D0099;
  443. color: white;
  444. content: "Wiki"
  445. }
  446. .linkflair-notice > .linkflairlabel, .linkflair-notice .title > .linkflairlabel {
  447. background-color: #94bdd5;
  448. color: white;
  449. content: "Notice"
  450. }
  451. .linkflair-events > .linkflairlabel, .linkflair-events .title > .linkflairlabel {
  452. background-color: orange;
  453. color: white;
  454. content: "Events"
  455. }
  456. .linkflair-other > .linkflairlabel, .linkflair-other .title > .linkflairlabel {
  457. background-color: #d3d3d3;
  458. color: white;
  459. content: "Other"
  460. }
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468. .keyHighlight {
  469. outline: none!important;
  470. border-left: 2px solid #797F80;
  471. padding-left: 5px;
  472. }
  473.  
  474. /* Changes the 'x' users online' text */
  475. div.titlebox .users-online span.word {
  476. display:none;
  477. }
  478. div.titlebox .users-online span.number:after {
  479. content: " readers online";
  480. }
  481.  
  482. /* Change players online icon to char.png */
  483. .users-online:before {
  484. background: url(%%char%%);
  485. }
  486. .users-online {
  487. margin-top:2px
  488. }
  489.  
  490. /* Status Lamps */
  491. .md sup
  492. {
  493. font-size:9px;
  494. }
  495.  
  496. a[href$="#status_green"],a[href$="#status_red"]
  497. {
  498. background: url(%%Status-Lamps%%) no-repeat scroll -9999px -9999px transparent;
  499. height:32px;
  500. vertical-align:middle;
  501. width:32px;
  502. border:0;
  503. cursor:default;
  504. text-indent:-9999px;
  505. border-radius:0;
  506. -moz-border-radius:0;
  507. -webkit-border-radius:0;
  508. padding:0!important;
  509. margin-bottom:2px;
  510. margin-top:0!important;
  511. font-size:1.1em!important;
  512. }
  513.  
  514. a[href$="#status_red"]
  515. {
  516. background-position:0 0;
  517. }
  518.  
  519. a[href$="#status_green"]
  520. {
  521. background-position:0 -32px;
  522. }
  523.  
  524. .usertext-body a
  525. {
  526. display:inline-block;
  527. }
  528.  
  529. .entry {
  530. outline: 0;
  531. border-radius: 10px;
  532. padding: 5px 5px 5px 5px;
  533. }
  534. .res-nightmode .entry { background-color: #666 !important; }
  535. .res .entry.keyHighlight {
  536. border-right-width: 4px !important;
  537. border-left: 4px solid #00FF00 !important; /* Change this color.... */
  538. border-right: 4px solid #00FF00 !important; /* ... and this one to change the selection border color */
  539. outline: 0 !important;
  540. }
  541.  
  542. .deleted .grayed {
  543. display: none;
  544. }
  545.  
  546. .deleted > .entry .noncollapsed:after {
  547. opacity: .25;
  548. color: #858585;
  549. }
  550.  
  551. .deleted>.entry .expand {
  552. visibility: visible;
  553. }
  554.  
  555. .deleted.comment> .entry .tagline {
  556. visibility: hidden;
  557. }
  558.  
  559. /* This is used by MCPublicFlairBot. Only users verified through MCPublicFlairBot should have this css */
  560. .flair-verified, .res-nightmode .flair-verified {
  561. color: purple;
  562. }
  563.  
  564. /* TimezoneSimplifier hover to display by /u/Dropping_fruits (for autowikibot) modified by /u/nijin22 */
  565. /* Changes to original: TimezoneSimplifier uses h5+h4+h6 instead of h5+h6+h4*/
  566.  
  567. .comment .md h5+h4+h6+p,.comment .md h5+h4+h6+p+p, .comment .md h5+h4+h6+p+p+table, .comment .md h5+h4+h6+p+p+table+hr, .comment .md h5+h4+h6+p+p+table+hr+p, .comment .md h5+h4+h6+p+p+table+hr+p+p, .comment .md h5+h4+h6+p+p+table+hr+p+p+p {
  568. display: none;
  569. }
  570.  
  571. .comment .md:hover h5+h4+h6+p,.comment .md:hover h5+h4+h6+p+p, .comment .md:hover h5+h4+h6+p+p+table, .comment .md:hover h5+h4+h6+p+p+table+hr, .comment .md:hover h5+h4+h6+p+p+table+hr+p, .comment .md:hover h5+h4+h6+p+p+table+hr+p+p, .comment .md:hover h5+h4+h6+p+p+table+hr+p+p+p {
  572. display: block;
  573. }
  574.  
  575. .comment .md h5+h4+h6:after {
  576. content: "Timezones converted. Hover to view";
  577. /* Remove the following 4 lines if you do not want the image next to the link*/
  578. /* Please not that you need to upload the small logo */
  579. background-image: url(%%st-logo-v3%%);
  580. background-repeat: no-repeat;
  581. padding-left: 20px;
  582. }
  583.  
  584. .comment .md:hover h5+h4+h6:after {
  585. content: ""
  586. }
  587.  
  588. .res-nightmode .titlebox .md table {
  589. border-collapse: collapse;
  590. border: 2px solid rgb(255, 175, 0);
  591. outline: 10px solid rgb(102, 102, 102);
  592. margin: 15px 10px;
  593. }
  594.  
  595. .res-nightmode .titlebox .md table th {
  596. background-color: rgb(41, 82, 157);
  597. }
  598.  
  599. .res-nightmode .titlebox .md blockquote {
  600. background-color: rgb(41,82,157);
  601. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement