Advertisement
Guest User

unicyclist.com style

a guest
Jul 13th, 2019
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.73 KB | None | 0 0
  1. /* custom style for the forum unicyclist.com
  2.  * in order to focus on content and get rid of annoying useless spacing
  3.  */
  4. /* get rid of some table spacings */
  5. div.page > div {
  6.     padding-left: 0 !important;
  7.     padding-right: 0 !important;
  8. }
  9. div.page > div > div {
  10.     padding-bottom: 0 !important;
  11. }
  12. /* get rid of an unnecessary space at the top */
  13. div.page > div > br {
  14.     display: none;
  15. }
  16. /* reduce inner cell padding */
  17. table.tborder > tbody > tr > td {
  18.     padding: 2px;
  19. }
  20. /* hide the user title */
  21. table.tborder > tbody > tr > td.alt2 > div.smallfont:nth-child(2) {
  22.     display: none;
  23. }
  24. /* get rid of the blank line beneath the user name */
  25. table.tborder > tbody > tr > td.alt2 > div.smallfont:nth-child(3) {
  26.     line-height: 0;
  27. }
  28. table.tborder > tbody > tr > td.alt2 > div.smallfont:nth-child(3) > div {
  29.     line-height: 100%;
  30. }
  31. /* display user stats small unless hovered */
  32. table.tborder > tbody > tr > td.alt2:nth-child(1) > div.smallfont {
  33.     font-size: 50%;
  34. }
  35. table.tborder > tbody > tr > td.alt2:nth-child(1) > div.smallfont:hover {
  36.     font-size: 100%;
  37. }
  38. /* reduce size of buttons at bottom of each post */
  39. td.alt2 > img.inlineimg,
  40. td.alt2 > a > img,
  41. td.alt1 > a > img {
  42.     height: 10px;
  43. }
  44. td.alt2 > img.inlineimg:hover,
  45. td.alt2 > a > img:hover,
  46. td.alt1 > a > img:hover {
  47.     height: 100%;
  48. }
  49. tbody > tr:nth-child(3) > td {
  50.     line-height: 10px;
  51. }
  52. /* reduce the margin of quote boxes */
  53. table.tborder > tbody > tr:nth-child(2) > td:nth-child(2) > div > div > div:first-child {
  54.     display: none;
  55. }
  56. table.tborder > tbody > tr:nth-child(2) > td:nth-child(2) > div > div {
  57.     margin-top: 3px !important;
  58.     margin-bottom: 5px !important;
  59. }
  60. table.tborder > tbody > tr:nth-child(2) > td:nth-child(2) > div > div > table > tbody > tr > td {
  61.     padding: 3px !important;
  62. }
  63. /* reduce image size unless hovered */
  64. table.tborder > tbody > tr:nth-child(2) > td:nth-child(2) img {
  65.     max-height: 150px;
  66. }
  67. table.tborder > tbody > tr:nth-child(2) > td:nth-child(2) img:hover {
  68.     max-height: 100%;
  69. }
  70. table.tborder > tbody > tr:nth-child(2) > td:nth-child(2) img.inlineimg {
  71.     height: 100%;
  72. }
  73. /* hide horizontal rulers */
  74. table.tborder > tbody > tr:nth-child(2) > td:nth-child(2) hr {
  75.     display: none;
  76. }
  77. fieldset {
  78.     padding: 0 !important;
  79. }
  80. /* remove logo */
  81. body > table:nth-child(2) > tbody > tr:nth-child(1) > td:nth-child(1) > a:nth-child(1) > img:nth-child(1) {
  82.     display: none;
  83. }
  84. /* put search box in one line */
  85. form#cse-search-box > div > br {
  86.     display: none;
  87. }
  88. /* make login form appear in one line */
  89. div.page > div:nth-child(1) > table:nth-child(2) > tbody > tr:nth-child(1) > td:nth-child(2) > form:nth-child(1) > table:nth-child(2) > tbody > tr {
  90.     display: inline-block;
  91. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement