Advertisement
lwaltzer

Untitled

Mar 25th, 2019
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.35 KB | None | 0 0
  1. #wpadminbar {
  2. display: none;
  3. }
  4.  
  5. html {
  6. margin-top: -45px;
  7. }
  8.  
  9. /* ---- necessary to left align section headers on archive views ----*/
  10. section#content article h2 {
  11. text-align: left;
  12. }
  13.  
  14. a.ftnref:before,a.ftn:before {
  15. display: inline-block;
  16. content: " ";
  17. margin-top: -85px;
  18. padding-top: 85px;
  19. visibility: hidden;
  20. }
  21.  
  22. /* Make sure in-page jumps aren't hidden by the header */
  23. h1.jump,h2.jump,h2 a {
  24. margin-top: -45px;
  25. /* Size of fixed header */
  26. padding-top: 45px;
  27. display: block;
  28. }
  29.  
  30. /* Give Vertical space to iframes provided by Commons */
  31. iframe {
  32. margin: 20px 0 10px;
  33. }
  34.  
  35. /* ---- Issue 9 Custom CSS ---- */
  36. table#reflecting td {
  37. border: 1px solid #ddd;
  38. }
  39.  
  40. .wp-caption {
  41. border: none;
  42. }
  43.  
  44. h4 {
  45. margin: 12px 0 10px;
  46. font-size: 19px;
  47. }
  48.  
  49. /* ---- end Issue 9 CSS ----*/
  50. /* ---- Issue 11 CSS ----*/
  51. .epigraph {
  52. text-align: right;
  53. font-style: italic;
  54. font-size: .9em;
  55. margin-left: 33%;
  56. }
  57.  
  58. figcaption {
  59. font-style: italic;
  60. margin-top: 20px;
  61. color: #666666;
  62. }
  63.  
  64. /* ---- end Issue 11 CSS ----*/
  65. /* ---- make sure slider info shows ----*/
  66. @media screen and (max-width:782px) {
  67. section#slider .featimg .info {
  68. margin: 0;
  69. }
  70. }
  71.  
  72. body.login #loader {
  73. display: none;
  74. }
  75.  
  76. /* ---- new CSS for Issue 10 starts here ---- */
  77. /* hide CUNY AC ZenDesk widget, which gets in the way of some navigation,
  78. even when invisible */
  79. .zEwidget-ticketSubmissionForm {
  80. display: none;
  81. }
  82.  
  83. body.login #loader {
  84. display: none;
  85. }
  86.  
  87. code {
  88. color: #000;
  89. border: 1px solid #ccc;
  90. font-size: 80%;
  91. }
  92.  
  93. pre code {
  94. border: none;
  95. }
  96.  
  97. section#content article .textcontent h2.byline {
  98. text-align: center;
  99. }
  100.  
  101. div#authorbio span.author-name {
  102. font-weight: bold;
  103. }
  104.  
  105. div#authorbio p {
  106. font-size: 16px;
  107. font-style: italic;
  108. padding: 0 15px 15px;
  109. /* text-align: right; */
  110. /* This was present in blockquote styling */
  111. /* border-right: 5px solid #eeeeee; */
  112. /* This was present in blockquote styling */
  113. }
  114.  
  115. /* ---- javascript fallback handling ---- */
  116. /* For interactive images requiring javascript, have a static image fallback that will display only if javascript is disabled. This works because WordPress's template starts with a .no-js class on the top-level html element, then runs javascript to convert .no-js to .js – if this runs successfully, then display for img.jsfallback will be set to none. Similarly, hide elements with the .needsJS class if for some reason javascript isn't enabled. */
  117. .jsfallback {
  118. display: block;
  119. }
  120.  
  121. .js .jsfallback {
  122. display: none;
  123. }
  124.  
  125. .needsJS {
  126. display: none;
  127. }
  128.  
  129. .js .needsJS {
  130. display: block;
  131. }
  132.  
  133. /* Resize main menu to fit all items on medium-sized screens */
  134. @media (max-width: 992px) {
  135. ul#mainmenu li.menu-item a {
  136. font-size: 17px;
  137. padding: 18px 9px;
  138. }
  139. }
  140.  
  141. /* ---- end javascript fallback handling ---- */
  142. /* ---- end Issue 10 CSS ---- */
  143. .abstract,#abstract {
  144. font-size: 80%;
  145. font-style: italic;
  146. background-color: #f1f1f1;
  147. padding: 10px;
  148. margin-bottom: 25px;
  149. border: 1px solid #eee;
  150. }
  151.  
  152. /* ----Issue 12 Images Perspective Distortion ---- */
  153. /* Benjamin courtesy to solve a gallery problem */
  154. .wp-caption.height-reset img {
  155. height: initial;
  156. }
  157.  
  158. /* ---- Issue 13 CSS ---- */
  159.  
  160. blockquote em {
  161. text-decoration: underline;
  162. }
  163.  
  164. #authorbio em {
  165. font-style: normal;
  166. }
  167.  
  168. figure .fluid-width-video-wrapper {
  169. width: 90%;
  170. margin: auto;
  171. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement