Advertisement
rccharles

minimalist css for asc April 1st, 2019

Apr 1st, 2019
751
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 4.50 KB | None | 0 0
  1. @-moz-document domain("communities.apple.com"), domain("discussions.apple.com"), domain("discussionsjapan.apple.com"), domain("discussionskorea.apple.com"), domain("discussionschinese.apple.com"), regexp("https://discussions.apple.com/.*/subscriptions") {
  2. /* Adjust December 2018 ASC
  3.  
  4.    Some colors to pick from:
  5.      https://www.quackit.com/css/css_color_codes.cfm  
  6.    then scroll down to "CSS Color Names"
  7.  
  8.    There is that silly question at top. Hint on how to get rid of when not
  9.    set in user's profile.
  10.    discussions.apple.com##.shown.persist-question
  11.  
  12.    Beautify many types of Code.
  13.    https://www.freeformatter.com/css-beautifier.html
  14.  
  15.    parchment #ffffcc
  16.    #F2F2F2              light grey, most of the window ¬
  17.                         was this color two releases ago.
  18.  
  19.    Color picker
  20.    https://www.quackit.com/css/css_color_codes.cfm
  21.    then scroll down to "CSS Color Names"
  22.  
  23.    Wilmut's version dec 20,2018:
  24.    http://wilmut.uk/ASC_CSS.txt¬
  25.  
  26.    ChitlinsCC's version
  27.    https://discussions.apple.com/thread/250230359?answerId=250428691022#250428691022
  28.  
  29.    General discussion
  30.    https://discussions.apple.com/thread/250028636?page=2
  31.  
  32.    Alternate background colors
  33.    by VikingOSX
  34.    FYI: You will need to adjust the embedded comments.  Change "_" to "/".  *_
  35. body,
  36. article,
  37. footer {
  38.     /* color is Cinereous, a brown shade *_
  39.     background: rgba(152, 129, 123, 0.3) !important;
  40. }
  41.  
  42.  
  43. input#askaquestion    /* Question at top of list of threads *_
  44. {
  45.     background: #d3d3d3 !important;
  46.     -webkit-appearance: textfield !important;
  47.     border-color: #e3dac9 !important;
  48.     border-style: inset !important;
  49. }
  50.  
  51. */
  52.  
  53. /*----------------------------------------------------------*/
  54.  
  55. /* adjust background colors */
  56. body,
  57. article,
  58. footer {
  59.     background: wheat !important;
  60. }
  61.  
  62. /* Dim these originally white area. Make coler a
  63.    lighter than Wheat above, so
  64.    there is some distinctin from other areas on the screen */
  65. section.content-post.top-answer,
  66. /* Correct reply just after question. */
  67. div.action-bar a.button.button-white,  /* "View answer in contect"
  68.                                           button on correct
  69.                                           reply just after question */
  70. input#create-post-title-input,
  71. /* Title for new post */
  72. div.ql-editor,
  73. /* editor input area */
  74. div.toolbar div.row,
  75. /* icons at the bottom of the input editor */
  76. button.button.button-white,
  77. /* Bottom of post button row */
  78. input#askaquestion    /* Question at top of list of threads */
  79. {
  80.     background: bisque !important;
  81. }
  82.  
  83. blockquote {
  84.     /* light grey was white, most of the window was this color anyway. */
  85.     /*  background: #F2F2F2 !important;  /* very light greay */
  86.     /*  background: #a7aaae !important;  /* light grey */
  87.     background: tan !important;
  88. }
  89.  
  90. /* reply button */
  91. button.button.button-black {
  92.     background: #4a4646 !important;     /* Back to the color it was */
  93. }
  94.  
  95. /* Let's eliminate the all apple.com header -- The black band at the top of the page. */
  96. nav#ac-globalnav,
  97. div#ac-gn-placeholder {
  98.     display: none !important;
  99. }
  100.  
  101. /* Adjust My Subscriptions Page */
  102.  
  103. /* Which Community */
  104. div.filters-and-content.allow-overflow td.community-name a {
  105.     font-size: 14px !important;   /* smaller to conserve space */
  106.     font-weight: normal !important;
  107. }
  108.  
  109. /* Thread Title */
  110. div.filters-and-content.allow-overflow a.topic-title-link {
  111.     font-size: 20px !important; /* Larger to stand out. Not perfect. Long
  112.                                    titles will be clipped.  Underline issue. */
  113.    /* color: black !important; */
  114.        /* font-weight: normal !important; /* */
  115. }
  116.  
  117. /* Lose some "whitespace" in my subscriptions */
  118. .topics-component {
  119.     border-spacing: 0 10px !important;
  120. }
  121.  
  122. /* This gives a larger editor window. [ Apple size is 200px ] */
  123. .ql-container {
  124.    --editor-height:400px !important;;
  125. }
  126.  
  127. /* Declarate links. Thanks Roger Wilmut */
  128. a:link {
  129.     text-decoration: none;
  130.     color: #0047ff !important;
  131. }
  132. a:visited {
  133.     text-decoration: none;
  134.     color: purple /*!important*/;
  135. }
  136. a:hover {
  137.     text-decoration: underline;
  138.     color: red !important;
  139. }
  140. a:active {
  141.     text-decoration: underline;
  142.     color: blue !important;
  143. }
  144.  
  145.  
  146. /* avoid tooltips blocking clicking on last row.
  147.    They are now gone.
  148.    Delete when Apple fixes their code.
  149.    
  150.    Note: not all sections have .hide-mobile
  151. */
  152.  div.toolbar div.row section.buttons-group div.rte-tooltip div.tooltip.hide-mobile {
  153.      z-index: -1;}
  154.  
  155. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement