Advertisement
Guest User

Untitled

a guest
Mar 25th, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.25 KB | None | 0 0
  1. /* Monospaced font for code samples */
  2. @font-face {
  3. font-family: "notomono_regular";
  4. src: url("../fonts/notomono-regular.eot");
  5. src: url("../fonts/notomono-regular.eot?#iefix") format("embedded-opentype"), url("../fonts/notomono-regular.woff2") format("woff2"), url("../fonts/notomono-regular.woff") format("woff"), url("../fonts/notomono-regular.ttf") format("truetype"), url("../fonts/notomono-regular.svg#notomono_regular") format("svg");
  6. font-weight: normal;
  7. font-style: normal;
  8. }
  9. /* Regular font */
  10. @font-face {
  11. font-family: "notosans-regular";
  12. src: url("../fonts/notosans-regular.eot");
  13. src: url("../fonts/notosans-regular.eot?#iefix") format("embedded-opentype"), url("../fonts/notosans-regular.woff2") format("woff2"), url("../fonts/notosans-regular.woff") format("woff"), url("../fonts/notosans-regular.ttf") format("truetype"), url("../fonts/notosans-regular.svg#notosans-regular") format("svg");
  14. font-weight: normal;
  15. font-style: normal;
  16. }
  17. /* Bold font */
  18. @font-face {
  19. font-family: "notosans-bold";
  20. src: url("../fonts/notosans-bold.eot");
  21. src: url("../fonts/notosans-bold.eot?#iefix") format("embedded-opentype"), url("../fonts/notosans-bold.woff2") format("woff2"), url("../fonts/notosans-bold.woff") format("woff"), url("../fonts/notosans-bold.ttf") format("truetype"), url("../fonts/notosans-bold.svg#notosans-bold") format("svg");
  22. font-weight: 700;
  23. font-style: normal;
  24. }
  25. /* Italic Font */
  26. @font-face {
  27. font-family: "notosans-italics";
  28. src: url("../fonts/notosans-italic.eot");
  29. src: url("../fonts/notosans-italic.eot?#iefix") format("embedded-opentype"), url("../fonts/notosans-italic.woff2") format("woff2"), url("../fonts/notosans-italic.woff") format("woff"), url("../fonts/notosans-italic.ttf") format("truetype"), url("../fonts/notosans-italic.svg#notosans-italics") format("svg");
  30. font-weight: normal;
  31. font-style: italic;
  32. }
  33. /* bold-italic font */
  34. @font-face {
  35. font-family: "notosans-bolditalic";
  36. src: url("../fonts/notosans-bolditalic.eot");
  37. src: url("../fonts/notosans-bolditalic.eot?#iefix") format("embedded-opentype"), url("../fonts/notosans-bolditalic.woff2") format("woff2"), url("../fonts/notosans-bolditalic.woff") format("woff"), url("../fonts/notosans-bolditalic.ttf") format("truetype"), url("../fonts/notosans-bolditalic.svg#notosans-bolditalic") format("svg");
  38. font-weight: 700;
  39. font-style: italic;
  40. }
  41. aside {
  42. border-bottom: 3px double #222023;
  43. border-top: 3px double #222023;
  44. color: #403f4e;
  45. line-height: 1.5em;
  46. padding-bottom: .5em;
  47. padding-top: .5em;
  48. width: 100%;
  49. }
  50. aside h3 {
  51. text-align: center;
  52. }
  53. aside .pull {
  54. margin-bottom: .5em;
  55. margin-left: -20%;
  56. margin-top: .2em;
  57. }
  58. aside .lowlight {
  59. opacity: .3;
  60. }
  61. aside .lowlight :hover {
  62. opacity: 1;
  63. }
  64.  
  65. .opening {
  66. border-bottom: 3px double #000;
  67. border-top: 3px double #000;
  68. font-size: 2em;
  69. margin-bottom: 10em;
  70. padding-bottom: 2em;
  71. padding-top: 2em;
  72. text-align: center;
  73. }
  74.  
  75. blockquote {
  76. border-left: 5px solid #ccc;
  77. color: #222023;
  78. font-weight: 100;
  79. margin-bottom: 1.2em;
  80. margin-left: 4em;
  81. margin-right: 4em;
  82. margin-top: 2em;
  83. }
  84. blockquote p {
  85. padding-left: 1em;
  86. }
  87.  
  88. .pullquote {
  89. border-bottom: 18px solid #000;
  90. border-top: 18px solid #000;
  91. font-size: 36px;
  92. font-weight: 700;
  93. letter-spacing: -.02em;
  94. line-height: 38px;
  95. margin-right: 100px;
  96. padding: 20px 0;
  97. position: relative;
  98. width: 200px;
  99. }
  100. .pullquote p {
  101. color: #00298a;
  102. font-weight: 700;
  103. position: relative;
  104. text-transform: uppercase;
  105. z-index: 1;
  106. }
  107. .pullquote p:last-child {
  108. line-height: 20px;
  109. padding-top: 2px;
  110. }
  111. .pullquote cite {
  112. color: #333;
  113. font-size: 18px;
  114. font-weight: 400;
  115. }
  116.  
  117. .margin-notes,
  118. .content-left {
  119. clear: both;
  120. display: block;
  121. float: left;
  122. font-size: .75em;
  123. margin: 1em;
  124. width: 40%;
  125. }
  126. .margin-notes h3,
  127. .content-left h3 {
  128. text-align: center;
  129. }
  130.  
  131. .margin-notes-right,
  132. .content-right {
  133. clear: both;
  134. display: block;
  135. float: right;
  136. font-size: .75em;
  137. margin: 1em;
  138. width: 40%;
  139. }
  140. .margin-notes-right h3,
  141. .content-right h3 {
  142. text-align: center;
  143. }
  144.  
  145. .margin-notes-right > p:last-of-type,
  146. .content-right > p:last-of-type {
  147. clear: both;
  148. float: right;
  149. }
  150.  
  151. .margin-notes-left > p:last-of-type,
  152. .content-left > p:last-of-type {
  153. clear: both;
  154. float: left;
  155. }
  156.  
  157. .content-right ul,
  158. .content-left ul {
  159. list-style: none;
  160. }
  161.  
  162. p {
  163. font-size: 1em;
  164. margin-bottom: 1.3em;
  165. }
  166. p + p {
  167. text-indent: 2em;
  168. }
  169.  
  170. .first-line {
  171. font-size: 1.1em;
  172. text-indent: 0;
  173. text-transform: uppercase;
  174. }
  175.  
  176. .first-letter {
  177. float: left;
  178. font-size: 7em;
  179. line-height: .8em;
  180. margin-bottom: -.1em;
  181. padding-right: .1em;
  182. }
  183.  
  184. ul li {
  185. list-style: square;
  186. }
  187.  
  188. ol li {
  189. list-style: decimal;
  190. }
  191.  
  192. h1 {
  193. font-size: 3em;
  194. line-height: 1.05;
  195. }
  196. @media screen and (min-width: 37.5em) and (max-width: 50em) and (-webkit-min-device-pixel-ratio: 1) {
  197. h1 {
  198. font-size: 2.5em;
  199. line-height: 1.125;
  200. }
  201. }
  202. @media screen and (min-width: 20em) and (max-width: 37.5em) and (-webkit-min-device-pixel-ratio: 1) {
  203. h1 {
  204. font-size: 2em;
  205. line-height: 1.25;
  206. }
  207. }
  208.  
  209. h2 {
  210. font-size: 2.25em;
  211. line-height: 1.25;
  212. }
  213. @media screen and (min-width: 37.5em) and (max-width: 50em) and (-webkit-min-device-pixel-ratio: 1) {
  214. h2 {
  215. font-size: 2em;
  216. line-height: 1.25;
  217. }
  218. }
  219. @media screen and (min-width: 20em) and (max-width: 37.5em) and (-webkit-min-device-pixel-ratio: 1) {
  220. h2 {
  221. font-size: 1.625em;
  222. line-height: 1.15384615;
  223. }
  224. }
  225.  
  226. h3 {
  227. font-size: 1.75em;
  228. line-height: 1.25;
  229. }
  230. @media screen and (min-width: 37.5em) and (max-width: 50em) and (-webkit-min-device-pixel-ratio: 1) {
  231. h3 {
  232. font-size: 1.5em;
  233. line-height: 1.25;
  234. }
  235. }
  236. @media screen and (min-width: 20em) and (max-width: 37.5em) and (-webkit-min-device-pixel-ratio: 1) {
  237. h3 {
  238. font-size: 1.375em;
  239. line-height: 1.13636364;
  240. }
  241. }
  242.  
  243. h4 {
  244. font-size: 1.125em;
  245. line-height: 1.25;
  246. }
  247. @media screen and (min-width: 37.5em) and (max-width: 50em) and (-webkit-min-device-pixel-ratio: 1) {
  248. h4 {
  249. font-size: 1.125em;
  250. line-height: 1.222222;
  251. }
  252. }
  253. @media screen and (min-width: 20em) and (max-width: 37.5em) and (-webkit-min-device-pixel-ratio: 1) {
  254. h4 {
  255. font-size: 1.125em;
  256. line-height: 1.111111;
  257. }
  258. }
  259.  
  260. h5 {
  261. font-size: ms(2);
  262. line-height: 1.25;
  263. }
  264.  
  265. h6 {
  266. font-size: ms(1);
  267. line-height: 1.25;
  268. }
  269.  
  270. .container {
  271. width: 100%;
  272. }
  273.  
  274. @page {
  275. size: 8.5in 11in;
  276. margin: 0.5in 1in;
  277. /* Footnote related attributes */
  278. @footnote {
  279. border-top: 1px solid black;
  280. padding-top: 6pt;
  281. counter-increment: footnote;
  282. float: bottom;
  283. column-span: all;
  284. height: auto;
  285. }
  286. }
  287. body[data-type="article"] {
  288. font-family: notosans-regular, Verdana, sans-serif;
  289. font-size: 12pt;
  290. line-height: 1.375;
  291. orphans: 4;
  292. widows: 2;
  293. page: article;
  294. page-break-before: always;
  295. page-break-after: always;
  296. }
  297.  
  298. section[data-type='bibliography'] {
  299. font-family: notosans-regular, Verdana, sans-serif;
  300. font-size: 12pt;
  301. line-height: 1.375;
  302. orphans: 4;
  303. widows: 2;
  304. page: bibliography;
  305. page-break-before: always;
  306. page-break-after: always;
  307. }
  308. section[data-type='bibliography'] p {
  309. text-align: left;
  310. text-indent: 0 !important;
  311. }
  312.  
  313. h1, h2, h3, h4, h5, h6,
  314. p, li, dt, dd, figcaption {
  315. font-family: notosans-regular, Verdana, sans-serif;
  316. }
  317.  
  318. pre, code {
  319. font-family: notomono_regular, Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
  320. }
  321.  
  322. p b,
  323. p strong,
  324. strong, b {
  325. font-family: notosans-bold, Verdana, sans-serif;
  326. }
  327.  
  328. em, i,
  329. i, em,
  330. p em, p i {
  331. font-family: notosans-italic, Verdana, sans-serif;
  332. }
  333.  
  334. table, thead, tbody, tr, th, td {
  335. border: 1px solid black;
  336. border-collapse: collapse;
  337. padding: .5em;
  338. }
  339.  
  340. thead tr th {
  341. font-weight: bold;
  342. padding: .5em;
  343. text-align: center;
  344. }
  345.  
  346. @page article:left {
  347. @bottom-right {
  348. content: counter(page);
  349. }
  350. }
  351. @page article:right {
  352. @bottom-right {
  353. content: counter(page);
  354. }
  355. }
  356. @page bibliography:left {
  357. @bottom-right {
  358. content: counter(page);
  359. }
  360. }
  361. @page bibliography:right {
  362. @bottom-right {
  363. content: counter(page);
  364. }
  365. }
  366. @page article:blank {
  367. /* Need this to clean up page numbers in titlepage in Prince*/
  368. @top-center {
  369. content: "This page is intentionally left blank";
  370. }
  371. @bottom-left-corner {
  372. content: normal;
  373. }
  374. @bottom-right-corner {
  375. content: normal;
  376. }
  377. }
  378. /* Footnotes */
  379. span.footnote {
  380. float: footnote;
  381. display: prince-footnote;
  382. }
  383.  
  384. ::footnote-marker {
  385. font-family: notosans-regular, verdana, sans-serif;
  386. content: counter(footnote) ". ";
  387. list-style-position: inside;
  388. }
  389.  
  390. ::footnote-call {
  391. content: counter(footnote);
  392. vertical-align: super;
  393. font-size: 65%;
  394. }
  395.  
  396. /* XReferences */
  397. a.xref[href]::after {
  398. content: " [See page " target-counter(attr(href), page) "]";
  399. }
  400.  
  401. /* PDF BOOKMARKS */
  402. body[data-type='article'] h1 {
  403. -ah-bookmark-level: 1;
  404. -ah-bookmark-state: open;
  405. -ah-bookmark-label: content();
  406. prince-bookmark-level: 1;
  407. prince-bookmark-state: open;
  408. prince-bookmark-label: content();
  409. }
  410.  
  411. body[data-type='article'] h2 {
  412. -ah-bookmark-level: 2;
  413. -ah-bookmark-state: open;
  414. -ah-bookmark-label: content();
  415. prince-bookmark-level: 2;
  416. prince-bookmark-state: open;
  417. prince-bookmark-label: content();
  418. }
  419.  
  420. body[data-type='article'] h3 {
  421. -ah-bookmark-level: 3;
  422. -ah-bookmark-state: open;
  423. -ah-bookmark-label: content();
  424. prince-bookmark-level: 3;
  425. prince-bookmark-state: open;
  426. prince-bookmark-label: content();
  427. }
  428.  
  429. body[data-type='article'] h4 {
  430. -ah-bookmark-level: 4;
  431. prince-bookmark-level: 4;
  432. }
  433.  
  434. body[data-type='article'] h5 {
  435. -ah-bookmark-level: 5;
  436. prince-bookmark-level: 5;
  437. }
  438.  
  439. body[data-type='article'] h6 {
  440. -ah-bookmark-level: 6;
  441. prince-bookmark-level: 6;
  442. }
  443.  
  444. small,
  445. .font-small {
  446. font-size: .833em;
  447. }
  448.  
  449. .justified {
  450. text-align: justify;
  451. }
  452.  
  453. pre {
  454. background-color: #ddd;
  455. padding: 1em;
  456. overflow-wrap: break-word;
  457. white-space: pre-wrap;
  458. word-wrap: break-word;
  459. }
  460.  
  461. .footnote {
  462. font-family: notosans-regular, verdana, sans-serif;
  463. }
  464.  
  465. figure {
  466. counter-increment: figure-count;
  467. margin: 12pt 0;
  468. max-width: min-content;
  469. }
  470. figure img {
  471. max-width: auto;
  472. max-height: auto;
  473. }
  474. figure figcaption {
  475. font-size: .75rem;
  476. color: #333333;
  477. }
  478. figure figcaption::before {
  479. content: "Figure " counter(figure-count) ": ";
  480. max-width: min-content;
  481. }
  482.  
  483. /* Informational messages */
  484. .message {
  485. border: 1px solid black;
  486. border-radius: 10px;
  487. display: block;
  488. padding: .5em;
  489. margin: 1em 0;
  490. }
  491. .message.info {
  492. background-color: lightblue;
  493. }
  494. .message.warning {
  495. background-color: lightyellow;
  496. }
  497. .message.danger {
  498. background-color: indianred;
  499. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement