Advertisement
rccharles

Untitled

Jun 27th, 2016
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.64 KB | None | 0 0
  1. /* https://discussions.apple.com/thread/7568866 */
  2.  
  3. @-moz-document
  4.    url-prefix(https://discussions.apple.com/thread),
  5.    url-prefix(https://discussions.apple.com/message),
  6.    url-prefix(https://discussions.apple.com/update-advanced-comment.jspa) {
  7.    
  8.       /* Move who wrote the question back to where it was before!
  9.          Will appear to the left of the question text box. */
  10.  
  11.       /* Avatar */
  12.       header.js-original-header  img.jive-avatar {
  13.            position: absolute !important;
  14.            top: 30px !important;
  15.            left: 20px !important;
  16.            width: 66px !important;
  17.            height: 66px !important;      
  18.          }
  19.  
  20.       /* Let questioner's info escape the box
  21.          Seems Apple used this as a hack to suppress  <p>portion of unmodified page.</p>  somehow */
  22.       div.j-thread-post.j-rc4 header.js-original-header.apple-overflow-hidden { overflow: visible !important; }
  23.    
  24.       /* questioner's name */
  25.       span.j-post-author strong  {
  26.           position: absolute !important;
  27.           top: 80px !important;
  28.           left: -84px !important;
  29.          }  
  30.       span.j-post-author strong  a {
  31.           font-weight: 400 !important;
  32.           font-size: 16px !important;
  33.           line-height: 16px !important;
  34.          }  
  35.  
  36.      /* questioner's points icon. fyi: position: absolute didn't work here.  */
  37.      div.j-thread-post.j-rc4 header.js-original-header.apple-overflow-hidden span.status-image img.svg {
  38.          margin-top: 100px !important;
  39.          margin-left: -45px !important;
  40.          }  
  41.  
  42.       /* questioner's points.  Actual coding:
  43.          <span class="level-points">Level 6
  44.              <span>(8,266 points)</span>
  45.          </span>
  46.       */
  47.       div.status-container span.level-points {
  48.           position: absolute !important;
  49.           top: 134px !important;
  50.           left: -152px !important;    /* shove level # off the left of window.  Need to save space. */
  51.          }  
  52.       div.status-container span.level-points span {
  53.           display: inline !important;  
  54.           font-size: 12px !important;
  55.           line-height: 12px !important;
  56.          }  
  57.      
  58.      /* For some reason, maybe overflow: visible, wrecks some tags positioning, fix up. */
  59.      /* Move folling and tool icon back to where they were */
  60.      ul.apple-social-actions-toolbar  { margin-top: -45px !important; }
  61.  
  62.      /* For some reason the first paragraph is:
  63.           <p>portion of unmodified page.</p> */
  64.      section.j-original-message div.jive-rendered-content p:first-of-type { display: none !important; }
  65.  
  66. }    /* end of @-moz-document */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement