Pastebin

content.css

von Kirk (12.11.2025 19:51)
Beschreibung:
content.css von HAL9000
Snippet erstellt:
12.11.2025 19:51
Snippet wird automatisch gelöscht:
12.12.2025 19:51

Dein Code:
  1. /* Content Styles
  2. ---------------------------------------- */
  3.  
  4. ul.topiclist {
  5.         display: block;
  6.         list-style-type: none;
  7.         margin: 0;
  8. }
  9.  
  10. ul.topiclist li {
  11.         display: block;
  12.         list-style-type: none;
  13.         margin: 0;
  14. }
  15.  
  16. ul.topiclist dl {
  17.         position: relative;
  18. }
  19.  
  20. ul.topiclist li.row  {
  21.  
  22. }
  23.  
  24. ul.topiclist dt, ul.topiclist dd {
  25.         display: block;
  26.         float: left;
  27. }
  28.  
  29. ul.topiclist dt {
  30.         width: 100%;
  31.         margin-right: -440px;
  32.         font-size: 1.1em;
  33. }
  34.  
  35. ul.topiclist.missing-column dt {
  36.         margin-right: -345px;
  37. }
  38.  
  39. ul.topiclist.two-long-columns dt {
  40.         margin-right: -250px;
  41. }
  42.  
  43. ul.topiclist.two-columns dt {
  44.         margin-right: -80px;
  45. }
  46.  
  47. ul.topiclist dt .list-inner {
  48.         margin-right: 440px;
  49.         padding-left: 5px;
  50.         padding-right: 5px;
  51. }
  52.  
  53. ul.topiclist.missing-column dt .list-inner {
  54.         margin-right: 345px;
  55. }
  56.  
  57. ul.topiclist.two-long-columns dt .list-inner {
  58.         margin-right: 250px;
  59. }
  60.  
  61. ul.topiclist.two-columns dt .list-inner {
  62.         margin-right: 80px;
  63. }
  64.  
  65. ul.topiclist dd {
  66.         border-left: 1px solid transparent;
  67.         padding: 4px 0;
  68.         -webkit-box-sizing: border-box;
  69.         -moz-box-sizing: border-box;
  70.         box-sizing: border-box;
  71. }
  72.  
  73. ul.topiclist li.row dd {
  74.         padding: 4px 0 999px 0;
  75.         margin-bottom: -995px;
  76. }
  77.  
  78. ul.topiclist dfn {
  79.         /* Labels for post/view counts */
  80.         position: absolute;
  81.         left: -999px;
  82.         width: 990px;
  83. }
  84.  
  85. .forum-image {
  86.         float: left;
  87.         padding-top: 5px;
  88.         margin-right: 5px;
  89. }
  90.  
  91. li.row {
  92.         border-bottom: 1px solid transparent;
  93.         padding: 5px 0;
  94.         border-radius: 8px;
  95. }
  96.  
  97. li.row:last-child {
  98.         border-bottom: none;
  99. }
  100.  
  101. /* li.row strong {
  102.         font-weight: normal;
  103. } */
  104.  
  105. li.header dt, li.header dd {
  106.         line-height: 1em;
  107.         border-left-width: 0;
  108.         margin: 2px 0 4px 0;
  109.         padding-top: 2px;
  110.         padding-bottom: 7px;
  111.         font-size: 1em;
  112.         font-family: Arial, Helvetica, sans-serif;
  113.         text-transform: uppercase;
  114. }
  115.  
  116. li.header dt {
  117.         font-weight: bold;
  118.         width: 100%;
  119.         margin-right: -440px;
  120. }
  121.  
  122. li.header dt .list-inner {
  123.         margin-right: 440px;
  124. }
  125.  
  126. li.header dd {
  127.         padding-left: 1px;
  128.         -webkit-box-sizing: border-box;
  129.         -moz-box-sizing: border-box;
  130.         box-sizing: border-box;
  131. }
  132.  
  133. li.header dl.row-item dt, li.header dl.row-item dd {
  134.         min-height: 0;
  135. }
  136.  
  137. li.header dl.row-item dt .list-inner {
  138.         /* Tweak for headers alignment when folder icon used */
  139.         padding-left: 0;
  140.         padding-right: 50px;
  141. }
  142.  
  143. /* Forum list column styles */
  144. .row .list-inner { padding: 4px 0; }
  145. .row .list-inner img {max-width: 100%;}
  146.  
  147. dl.row-item {
  148.         background-position: 5px 50%;           /* Position of folder icon */
  149.         background-repeat: no-repeat;
  150.         background-size: 32px;
  151. }
  152.  
  153. dl.row-item dt {
  154.         background-repeat: no-repeat;
  155.         background-position: 500px 10%;         /* Position of topic icon */
  156.         background-height: 15px;
  157. }
  158.  
  159. dl.row-item dt .list-inner {
  160.         padding-left: 52px;                                     /* Space for folder icon */
  161. }
  162.  
  163. dl.row-item dt, dl.row-item dd {
  164.         min-height: 36px;
  165. }
  166.  
  167. dl.row-item dt a {
  168.         display: inline;
  169. }
  170.  
  171. dl a.row-item-link {                                            /* topic row icon links */
  172.         display: block;
  173.         width: 30px;
  174.         height: 30px;
  175.         padding: 0;
  176.         position: absolute;
  177.         top: 50%;
  178.         left: 0;
  179.         margin-top: -15px;
  180.         margin-left: 9px;
  181. }
  182.  
  183. dd.posts, dd.topics, dd.views, dd.extra, dd.mark {
  184.         width: 80px;
  185.         text-align: center;
  186.         line-height: 2.2em;
  187.         font-size: 1.2em;
  188. }
  189.  
  190. dd.posts, dd.topics, dd.views {
  191.         width: 95px;
  192. }
  193.  
  194. /* List in forum description */
  195. dl.row-item dt ol,
  196. dl.row-item dt ul {
  197.         list-style-position: inside;
  198.         margin-left: 1em;
  199. }
  200.  
  201. dl.row-item dt li {
  202.         display: list-item;
  203.         list-style-type: inherit;
  204. }
  205.  
  206. dd.lastpost, dd.redirect, dd.moderation, dd.time, dd.info {
  207.         width: 250px;
  208.         font-size: 1.1em;
  209. }
  210.  
  211. dd.redirect {
  212.         line-height: 2.5em;
  213. }
  214.  
  215. dd.time {
  216.         line-height: 200%;
  217. }
  218.  
  219. dd.lastpost > span, ul.topiclist dd.info > span, ul.topiclist dd.time > span, dd.redirect > span, dd.moderation > span {
  220.         display: block;
  221.         padding-left: 5px;
  222. }
  223.  
  224. dd.extra, dd.mark {
  225.         line-height: 200%;
  226. }
  227.  
  228. dd.option {
  229.         width: 125px;
  230.         line-height: 200%;
  231.         text-align: center;
  232.         font-size: 1.1em;
  233. }
  234.  
  235. /* Post body styles
  236. ----------------------------------------*/
  237. .postbody {
  238.         padding: 0;
  239.         line-height: 1.48em;
  240.         width: 76%;
  241.         float: left;
  242.         position: relative;
  243. }
  244.  
  245. .postbody .ignore {
  246.         font-size: 1.1em;
  247. }
  248.  
  249.  
  250.  
  251. .postbody h3 {
  252.         /* Postbody requires a different h3 format - so change it here */
  253.         float: left;
  254.         font-size: 1.1em;
  255.         padding: 2px 0 0 0;
  256.         margin-top: 0 !important;
  257.         margin-bottom: 0.3em !important;
  258.         text-transform: none;
  259.         border: none;
  260.         font-family: "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif;
  261.         line-height: 125%;
  262. }
  263.  
  264. .postbody h3 img {
  265.         vertical-align: bottom;
  266. }
  267.  
  268. .has-profile .postbody h3 {
  269.         /* If there is a post-profile, we position the post-buttons differently */
  270.         float: none !important;
  271.         margin-right: 180px;
  272. }
  273.  
  274. .postbody .content {
  275.         font-size: 1.3em;
  276.         overflow-x: auto;
  277. }
  278.  
  279. .postbody img.postimage {
  280.         max-width: 100%;
  281.         -webkit-box-sizing: border-box;
  282.         -moz-box-sizing: border-box;
  283.         box-sizing: border-box;
  284. }
  285.  
  286. .search .postbody {
  287.         width: 68%
  288. }
  289.  
  290. /* Topic review panel
  291. ----------------------------------------*/
  292. .panel .review {
  293.         margin-top: 2em;
  294. }
  295.  
  296. .topicreview {
  297.         padding-right: 5px;
  298.         overflow: auto;
  299.         height: 300px;
  300. }
  301.  
  302. .topicreview .postbody {
  303.         width: auto;
  304.         float: none;
  305.         margin: 0;
  306.         height: auto;
  307. }
  308.  
  309. .topicreview .post {
  310.         height: auto;
  311. }
  312.  
  313. .topicreview h2 {
  314.         border-bottom-width: 0;
  315. }
  316.  
  317. .post-ignore .postbody {
  318.         display: none;
  319. }
  320.  
  321. /* MCP Post details
  322. ----------------------------------------*/
  323. .post_details {
  324.         /* This will only work in IE7+, plus the others */
  325.         overflow: auto;
  326.         max-height: 300px;
  327. }
  328.  
  329. /* Content container styles
  330. ----------------------------------------*/
  331. .content {
  332.         clear: both;
  333.         min-height: 3em;
  334.         overflow: hidden;
  335.         line-height: 1.4em;
  336.         font-family: "Lucida Grande", "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif;
  337.         font-size: 1em;
  338.         padding-bottom: 1px;
  339. }
  340.  
  341. .content h2, .panel h2 {
  342.         font-weight: normal;
  343.         border-bottom: 1px solid transparent;
  344.         font-size: 1.6em;
  345.         margin-top: 0.5em;
  346.         margin-bottom: 0.5em;
  347.         padding-bottom: 0.5em;
  348. }
  349.  
  350. .panel h3 {
  351.         margin: 0.5em 0;
  352. }
  353.  
  354. .panel p {
  355.         font-size: 1.2em;
  356.         margin-bottom: 1em;
  357.         line-height: 1.4em;
  358. }
  359.  
  360. .content p {
  361.         font-family: "Lucida Grande", "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif;
  362.         font-size: 1.2em;
  363.         margin-bottom: 1em;
  364.         line-height: 1.4em;
  365. }
  366.  
  367. .agreement {
  368.         font-size: 12px;
  369.         line-height: 17px;
  370.         margin-bottom: 10px;
  371. }
  372.  
  373. .agreement-text {
  374.         line-height: 17px;
  375.         margin-bottom: 10px;
  376. }
  377.  
  378. dl.faq {
  379.         font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
  380.         font-size: 1.1em;
  381.         margin-top: 1em;
  382.         margin-bottom: 2em;
  383.         line-height: 1.4em;
  384. }
  385.  
  386. dl.faq dt {
  387.         font-weight: bold;
  388. }
  389.  
  390. .content dl.faq {
  391.         font-size: 1.2em;
  392.         margin-bottom: 0.5em;
  393. }
  394.  
  395. .content li {
  396.         list-style-type: inherit;
  397. }
  398.  
  399. .content ul, .content ol {
  400.         margin: 0.8em 0 0.9em 3em;
  401. }
  402.  
  403. .posthilit {
  404.         padding: 0 2px 1px 2px;
  405. }
  406.  
  407. /* Post author */
  408. p.author {
  409.         margin-bottom: 1em;
  410.         padding: 0 0 5px 0;
  411.         font-family: Verdana, Helvetica, Arial, sans-serif;
  412.         font-size: 1em;
  413.         line-height: 1.2em;
  414.         clear: both;
  415. }
  416.  
  417. /* Post signature */
  418. .signature {
  419.         margin-top: 1.5em;
  420.         padding-top: 0.2em;
  421.         font-size: 1.1em;
  422.         border-top: 1px solid transparent;
  423.         clear: left;
  424.         line-height: 140%;
  425.         overflow: hidden;
  426.         width: 100%;
  427. }
  428.  
  429. .signature.standalone {
  430.         border-top-width: 0;
  431.         margin-top: 0;
  432. }
  433.  
  434. dd .signature {
  435.         margin: 0;
  436.         padding: 0;
  437.         clear: none;
  438.         border: none;
  439. }
  440.  
  441. .signature li {
  442.         list-style-type: inherit;
  443. }
  444.  
  445. .signature ul, .signature ol {
  446.         margin: 0.8em 0 0.9em 3em;
  447. }
  448.  
  449. /* Post noticies */
  450. .notice {
  451.         font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
  452.         width: auto;
  453.         margin-top: 1.5em;
  454.         padding-top: 0.2em;
  455.         font-size: 1em;
  456.         border-top: 1px dashed transparent;
  457.         clear: left;
  458.         line-height: 130%;
  459. }
  460.  
  461. /* Jump to post link for now */
  462. ul.searchresults {
  463.         list-style: none;
  464.         text-align: right;
  465.         clear: both;
  466. }
  467.  
  468. /* BB Code styles
  469. ----------------------------------------*/
  470. /* Quote block */
  471. blockquote {
  472.         font-size: 0.95em;
  473.         margin: 1em 1px 1em 25px;
  474.         overflow: hidden;
  475.         padding: 10px;
  476. }
  477.  
  478. blockquote blockquote {
  479.         /* Nested quotes */
  480.         font-size: 1em;
  481.         margin: 1em 1px 1em 15px;
  482. }
  483.  
  484. blockquote cite {
  485.         /* Username/source of quoter */
  486.         font-style: normal;
  487.         font-weight: bold;
  488.         display: block;
  489.         font-size: 0.9em;
  490. }
  491.  
  492. blockquote cite cite {
  493.         font-size: 1em;
  494. }
  495.  
  496. blockquote cite:before, .uncited:before {
  497.         padding-right: 5px;
  498. }
  499.  
  500. blockquote cite > div {
  501.         float: right;
  502.         font-weight: normal;
  503. }
  504.  
  505. .postbody .content li blockquote {
  506.         overflow: inherit;
  507.         margin-left: 0;
  508. }
  509.  
  510. /* Code block */
  511. .codebox {
  512.         font-size: 1em;
  513.         margin: 1em 0 1.2em 0;
  514.         word-wrap: normal;
  515. }
  516.  
  517. .codebox p {
  518.         text-transform: uppercase;
  519.         border-bottom: 1px solid transparent;
  520.         margin-bottom: 0;
  521.         padding: 8px;
  522.         font-size: 0.8em !important;
  523.         font-weight: bold;
  524.         display: block;
  525. }
  526.  
  527. blockquote .codebox {
  528.         margin-left: 0;
  529. }
  530.  
  531. .codebox code {
  532.         overflow: auto;
  533.         display: block;
  534.         height: auto;
  535.         max-height: 200px;
  536.         padding: 10px 8px;
  537.         font: 0.9em Monaco, "Andale Mono","Courier New", Courier, monospace;
  538.         line-height: 1.3em;
  539. }
  540.  
  541. /* Attachments
  542. ----------------------------------------*/
  543. .attachbox {
  544.         font-size: 13px;
  545.         float: left;
  546.         width: auto;
  547.         max-width: 100%;
  548.         margin: 5px 5px 5px 0;
  549.         padding: 15px;
  550.         clear: left;
  551.         -webkit-box-sizing: border-box;
  552.         -moz-box-sizing: border-box;
  553.         box-sizing: border-box;
  554. }
  555.  
  556. .attachbox dt {
  557.         font-family: Arial, Helvetica, sans-serif;
  558.         text-transform: uppercase;
  559. }
  560.  
  561. .attachbox dd {
  562.         margin-top: 4px;
  563.         padding-top: 4px;
  564.         clear: left;
  565.         border-top: 1px solid transparent;
  566.         overflow-x: auto;
  567. }
  568.  
  569. .attachbox dd dd {
  570.         border: none;
  571. }
  572.  
  573. .attachbox p {
  574.         line-height: 110%;
  575.         font-weight: normal;
  576.         clear: left;
  577. }
  578.  
  579. .attachbox p.stats {
  580.         line-height: 110%;
  581.         font-weight: normal;
  582.         clear: left;
  583. }
  584.  
  585. .attach-image {
  586.         margin: 3px 0;
  587.         max-width: 100%;
  588. }
  589.  
  590. .attach-image img {
  591.         border: 1px solid transparent;
  592.         cursor: default;
  593. }
  594.  
  595. /* Inline image thumbnails */
  596. div.inline-attachment dl.thumbnail, div.inline-attachment dl.file {
  597.         display: block;
  598.         margin-bottom: 4px;
  599. }
  600.  
  601. div.inline-attachment p {
  602.         font-size: 100%;
  603. }
  604.  
  605. dl.file {
  606.         font-family: Verdana, Arial, Helvetica, sans-serif;
  607.         display: block;
  608. }
  609.  
  610. dl.file dt {
  611.         text-transform: none;
  612.         margin: 0;
  613.         padding: 0;
  614.         font-weight: bold;
  615.         font-family: Verdana, Arial, Helvetica, sans-serif;
  616. }
  617.  
  618. dl.file dd {
  619.         margin: 0;
  620.         padding: 0;
  621. }
  622.  
  623. dl.thumbnail img {
  624.         padding: 3px;
  625.         border: 1px solid transparent;
  626.         box-sizing: border-box;
  627. }
  628.  
  629. dl.thumbnail dd {
  630.         font-style: italic;
  631.         font-family: Verdana, Arial, Helvetica, sans-serif;
  632. }
  633.  
  634. .attachbox dl.thumbnail dd {
  635.         font-size: 100%;
  636. }
  637.  
  638. dl.thumbnail dt a:hover img {
  639.         border: 1px solid transparent;
  640. }
  641.  
  642. /* Post poll styles
  643. ----------------------------------------*/
  644. fieldset.polls {
  645.         font-family: "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif;
  646. }
  647.  
  648. fieldset.polls dl {
  649.         margin-top: 5px;
  650.         border-top: 1px solid transparent;
  651.         padding: 5px 0 0 0;
  652.         line-height: 120%;
  653. }
  654.  
  655. fieldset.polls dl.voted {
  656.         font-weight: bold;
  657. }
  658.  
  659. fieldset.polls dt {
  660.         text-align: left;
  661.         float: left;
  662.         display: block;
  663.         width: 30%;
  664.         border-right: none;
  665.         padding: 0;
  666.         margin: 0;
  667.         font-size: 1.1em;
  668. }
  669.  
  670. fieldset.polls dd {
  671.         float: left;
  672.         width: 10%;
  673.         border-left: none;
  674.         padding: 0 5px;
  675.         margin-left: 0;
  676.         font-size: 1.1em;
  677. }
  678.  
  679. fieldset.polls dd.resultbar {
  680.         width: 50%;
  681. }
  682.  
  683. fieldset.polls dd input {
  684.         margin: 2px 0;
  685. }
  686.  
  687. fieldset.polls dd div {
  688.         text-align: right;
  689.         font-family: Arial, Helvetica, sans-serif;
  690.         font-weight: bold;
  691.         padding: 2px 2px 0 2px;
  692.         overflow: visible;
  693.         min-width: 8px;
  694. }
  695.  
  696. .pollbar1, .pollbar2, .pollbar3, .pollbar4, .pollbar5 {
  697.         border-bottom: 1px solid transparent;
  698.         border-right: 1px solid transparent;
  699. }
  700.  
  701. .vote-submitted {
  702.         font-size: 1.2em;
  703.         font-weight: bold;
  704.         text-align: center;
  705. }
  706.  
  707. /* Poster profile block
  708. ----------------------------------------*/
  709. .postprofile {
  710.         margin: 5px 0 10px 0;
  711.         min-height: 80px;
  712.         border: 1px solid transparent;
  713.         border-width: 0 0 0 1px;
  714.         width: 22%;
  715.         float: right;
  716.         display: inline;
  717. }
  718.  
  719. .postprofile dd, .postprofile dt {
  720.         line-height: 1.2em;
  721.         margin-left: 8px;
  722. }
  723.  
  724. .postprofile dd {
  725.         overflow: hidden;
  726.         text-overflow: ellipsis;
  727. }
  728.  
  729. .postprofile strong {
  730.  
  731. }
  732.  
  733. .postprofile dt.no-profile-rank, .postprofile dd.profile-rank, .postprofile .search-result-date {
  734.         margin-bottom: 10px;
  735. }
  736.  
  737. .profile-rank img {
  738.         max-width: 160px;
  739. }
  740.  
  741. /* Post-profile avatars */
  742. .postprofile .has-avatar .avatar-container {
  743.         margin-bottom: 3px;
  744.         overflow: hidden;
  745. }
  746.  
  747. .postprofile .avatar {
  748.         display: block;
  749.         float: left;
  750.         max-width: 100%;
  751. }
  752.  
  753. .postprofile .avatar img {
  754.         display: block;
  755.         height: auto !important;
  756.         max-width: 100%;
  757. }
  758.  
  759. .postprofile .profile-posts a {
  760.         font-weight: normal;
  761. }
  762.  
  763. dd.profile-warnings {
  764.         font-weight: bold;
  765. }
  766.  
  767. dd.profile-contact {
  768.         overflow: visible;
  769. }
  770.  
  771. .profile-contact .dropdown-container {
  772.         display: inline-block;
  773. }
  774.  
  775. .profile-contact .icon_contact {
  776.         vertical-align: middle;
  777. }
  778.  
  779. .profile-contact .dropdown {
  780.         margin-right: -14px;
  781. }
  782.  
  783. /* Poster profile used by search*/
  784. .search .postprofile {
  785.         width: 30%;
  786. }
  787.  
  788. /* Profile used on view-profile */
  789. .profile-avatar img {
  790.         max-width: 100%;
  791. }
  792.  
  793. /* pm list in compose message if mass pm is enabled */
  794. dl.pmlist dt {
  795.         width: 60% !important;
  796. }
  797.  
  798. dl.pmlist dt textarea {
  799.         width: 95%;
  800. }
  801.  
  802. dl.pmlist dd {
  803.         margin-left: 61% !important;
  804.         margin-bottom: 2px;
  805. }
  806.  
  807. .action-bar div.dl_links {
  808.         padding: 10px 0 0 10px;
  809. }
  810.  
  811. div.dl_links {
  812.         display: inline-block;
  813.         text-transform: none;
  814. }
  815.  
  816. .dl_links strong {
  817.         font-weight: bold;
  818. }
  819.  
  820. .dl_links ul {
  821.         list-style-type: none;
  822.         margin: 0;
  823.         display: inline-block;
  824. }
  825.  
  826. .dl_links li {
  827.         display: inline-block;
  828. }
  829.  
  830. .attachment-filename {
  831.         width: 100%;
  832. }
  833.  
  834. .ellipsis-text {
  835.         display: inline-block;
  836.         overflow: hidden;
  837.         text-overflow: ellipsis;
  838.         white-space: nowrap;
  839. }
  840.  
  841. table.fixed-width-table {
  842.         table-layout: fixed;
  843. }
  844.  
  845. /* Show scrollbars for items with overflow on iOS devices
  846. ----------------------------------------*/
  847. .postbody .content::-webkit-scrollbar, .topicreview::-webkit-scrollbar, .post_details::-webkit-scrollbar, .codebox code::-webkit-scrollbar, .attachbox dd::-webkit-scrollbar, .attach-image::-webkit-scrollbar, .dropdown-extended ul::-webkit-scrollbar {
  848.         width: 8px;
  849.         height: 8px;
  850.         -webkit-appearance: none;
  851.         background: rgba(0, 0, 0, .1);
  852.         border-radius: 3px;
  853. }
  854.  
  855. .postbody .content::-webkit-scrollbar-thumb, .topicreview::-webkit-scrollbar-thumb, .post_details::-webkit-scrollbar-thumb, .codebox code::-webkit-scrollbar-thumb, .attachbox dd::-webkit-scrollbar-thumb, .attach-image::-webkit-scrollbar-thumb, .dropdown-extended ul::-webkit-scrollbar-thumb {
  856.         background: rgba(0, 0, 0, .3);
  857.         border-radius: 3px;
  858. }
  859.  
  860. #memberlist tr.inactive, #team tr.inactive {
  861.         font-style: italic;
  862. }
  863.  
  864. .lastpostavatar img {
  865.         border: none !important;
  866. }

Quellcode

Hier kannst du den Code kopieren und ihn in deinen bevorzugten Editor einfügen. Alternativ kannst du den gesamten Eintrag auch als Datei herunterladen.