ink.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688
  1. /**********************************************
  2. * Ink v1.0.5 - Copyright 2013 ZURB Inc *
  3. **********************************************/
  4. /* Client-specific Styles & Reset */
  5. #outlook a {
  6. padding:0;
  7. }
  8. body{
  9. width:100% !important;
  10. min-width: 100%;
  11. -webkit-text-size-adjust:100%;
  12. -ms-text-size-adjust:100%;
  13. margin:0;
  14. padding:0;
  15. }
  16. .ExternalClass {
  17. width:100%;
  18. }
  19. .ExternalClass,
  20. .ExternalClass p,
  21. .ExternalClass span,
  22. .ExternalClass font,
  23. .ExternalClass td,
  24. .ExternalClass div {
  25. line-height: 100%;
  26. }
  27. #backgroundTable {
  28. margin:0;
  29. padding:0;
  30. width:100% !important;
  31. line-height: 100% !important;
  32. }
  33. img {
  34. outline:none;
  35. text-decoration:none;
  36. -ms-interpolation-mode: bicubic;
  37. width: auto;
  38. max-width: 100%;
  39. float: left;
  40. clear: both;
  41. display: block;
  42. }
  43. center {
  44. width: 100%;
  45. min-width: 580px;
  46. }
  47. a img {
  48. border: none;
  49. }
  50. p {
  51. margin: 0 0 0 10px;
  52. }
  53. table {
  54. border-spacing: 0;
  55. border-collapse: collapse;
  56. }
  57. td {
  58. word-break: break-word;
  59. -webkit-hyphens: auto;
  60. -moz-hyphens: auto;
  61. hyphens: auto;
  62. border-collapse: collapse !important;
  63. }
  64. table, tr, td {
  65. padding: 0;
  66. vertical-align: top;
  67. text-align: left;
  68. }
  69. hr {
  70. color: #d9d9d9;
  71. background-color: #d9d9d9;
  72. height: 1px;
  73. border: none;
  74. }
  75. /* Responsive Grid */
  76. table.body {
  77. height: 100%;
  78. width: 100%;
  79. }
  80. table.container {
  81. width: 580px;
  82. margin: 0 auto;
  83. text-align: inherit;
  84. }
  85. table.row {
  86. padding: 0px;
  87. width: 100%;
  88. position: relative;
  89. }
  90. table.container table.row {
  91. display: block;
  92. }
  93. td.wrapper {
  94. padding: 10px 20px 0px 0px;
  95. position: relative;
  96. }
  97. table.columns,
  98. table.column {
  99. margin: 0 auto;
  100. }
  101. table.columns td,
  102. table.column td {
  103. padding: 0px 0px 10px;
  104. }
  105. table.columns td.sub-columns,
  106. table.column td.sub-columns,
  107. table.columns td.sub-column,
  108. table.column td.sub-column {
  109. padding-right: 10px;
  110. }
  111. td.sub-column, td.sub-columns {
  112. min-width: 0px;
  113. }
  114. table.row td.last,
  115. table.container td.last {
  116. padding-right: 0px;
  117. }
  118. table.one { width: 30px; }
  119. table.two { width: 80px; }
  120. table.three { width: 130px; }
  121. table.four { width: 180px; }
  122. table.five { width: 230px; }
  123. table.six { width: 280px; }
  124. table.seven { width: 330px; }
  125. table.eight { width: 380px; }
  126. table.nine { width: 430px; }
  127. table.ten { width: 480px; }
  128. table.eleven { width: 530px; }
  129. table.twelve { width: 580px; }
  130. table.one center { min-width: 30px; }
  131. table.two center { min-width: 80px; }
  132. table.three center { min-width: 130px; }
  133. table.four center { min-width: 180px; }
  134. table.five center { min-width: 230px; }
  135. table.six center { min-width: 280px; }
  136. table.seven center { min-width: 330px; }
  137. table.eight center { min-width: 380px; }
  138. table.nine center { min-width: 430px; }
  139. table.ten center { min-width: 480px; }
  140. table.eleven center { min-width: 530px; }
  141. table.twelve center { min-width: 580px; }
  142. table.one .panel center { min-width: 10px; }
  143. table.two .panel center { min-width: 60px; }
  144. table.three .panel center { min-width: 110px; }
  145. table.four .panel center { min-width: 160px; }
  146. table.five .panel center { min-width: 210px; }
  147. table.six .panel center { min-width: 260px; }
  148. table.seven .panel center { min-width: 310px; }
  149. table.eight .panel center { min-width: 360px; }
  150. table.nine .panel center { min-width: 410px; }
  151. table.ten .panel center { min-width: 460px; }
  152. table.eleven .panel center { min-width: 510px; }
  153. table.twelve .panel center { min-width: 560px; }
  154. .body .columns td.one,
  155. .body .column td.one { width: 8.333333%; }
  156. .body .columns td.two,
  157. .body .column td.two { width: 16.666666%; }
  158. .body .columns td.three,
  159. .body .column td.three { width: 25%; }
  160. .body .columns td.four,
  161. .body .column td.four { width: 33.333333%; }
  162. .body .columns td.five,
  163. .body .column td.five { width: 41.666666%; }
  164. .body .columns td.six,
  165. .body .column td.six { width: 50%; }
  166. .body .columns td.seven,
  167. .body .column td.seven { width: 58.333333%; }
  168. .body .columns td.eight,
  169. .body .column td.eight { width: 66.666666%; }
  170. .body .columns td.nine,
  171. .body .column td.nine { width: 75%; }
  172. .body .columns td.ten,
  173. .body .column td.ten { width: 83.333333%; }
  174. .body .columns td.eleven,
  175. .body .column td.eleven { width: 91.666666%; }
  176. .body .columns td.twelve,
  177. .body .column td.twelve { width: 100%; }
  178. td.offset-by-one { padding-left: 50px; }
  179. td.offset-by-two { padding-left: 100px; }
  180. td.offset-by-three { padding-left: 150px; }
  181. td.offset-by-four { padding-left: 200px; }
  182. td.offset-by-five { padding-left: 250px; }
  183. td.offset-by-six { padding-left: 300px; }
  184. td.offset-by-seven { padding-left: 350px; }
  185. td.offset-by-eight { padding-left: 400px; }
  186. td.offset-by-nine { padding-left: 450px; }
  187. td.offset-by-ten { padding-left: 500px; }
  188. td.offset-by-eleven { padding-left: 550px; }
  189. td.expander {
  190. visibility: hidden;
  191. width: 0px;
  192. padding: 0 !important;
  193. }
  194. table.columns .text-pad,
  195. table.column .text-pad {
  196. padding-left: 10px;
  197. padding-right: 10px;
  198. }
  199. table.columns .left-text-pad,
  200. table.columns .text-pad-left,
  201. table.column .left-text-pad,
  202. table.column .text-pad-left {
  203. padding-left: 10px;
  204. }
  205. table.columns .right-text-pad,
  206. table.columns .text-pad-right,
  207. table.column .right-text-pad,
  208. table.column .text-pad-right {
  209. padding-right: 10px;
  210. }
  211. /* Block Grid */
  212. .block-grid {
  213. width: 100%;
  214. max-width: 580px;
  215. }
  216. .block-grid td {
  217. display: inline-block;
  218. padding:10px;
  219. }
  220. .two-up td {
  221. width:270px;
  222. }
  223. .three-up td {
  224. width:173px;
  225. }
  226. .four-up td {
  227. width:125px;
  228. }
  229. .five-up td {
  230. width:96px;
  231. }
  232. .six-up td {
  233. width:76px;
  234. }
  235. .seven-up td {
  236. width:62px;
  237. }
  238. .eight-up td {
  239. width:52px;
  240. }
  241. /* Alignment & Visibility Classes */
  242. table.center, td.center {
  243. text-align: center;
  244. }
  245. h1.center,
  246. h2.center,
  247. h3.center,
  248. h4.center,
  249. h5.center,
  250. h6.center {
  251. text-align: center;
  252. }
  253. span.center {
  254. display: block;
  255. width: 100%;
  256. text-align: center;
  257. }
  258. img.center {
  259. margin: 0 auto;
  260. float: none;
  261. }
  262. .show-for-small,
  263. .hide-for-desktop {
  264. display: none;
  265. }
  266. /* Typography */
  267. body, table.body, h1, h2, h3, h4, h5, h6, p, td {
  268. color: #222222;
  269. font-family: "Helvetica", "Arial", sans-serif;
  270. font-weight: normal;
  271. padding:0;
  272. margin: 0;
  273. text-align: left;
  274. line-height: 1.3;
  275. }
  276. h1, h2, h3, h4, h5, h6 {
  277. word-break: normal;
  278. }
  279. h1 {font-size: 40px;}
  280. h2 {font-size: 36px;}
  281. h3 {font-size: 32px;}
  282. h4 {font-size: 28px;}
  283. h5 {font-size: 24px;}
  284. h6 {font-size: 20px;}
  285. body, table.body, p, td {font-size: 14px;line-height:19px;}
  286. p.lead, p.lede, p.leed {
  287. font-size: 18px;
  288. line-height:21px;
  289. }
  290. p {
  291. margin-bottom: 10px;
  292. }
  293. small {
  294. font-size: 10px;
  295. }
  296. a {
  297. color: #2ba6cb;
  298. text-decoration: none;
  299. }
  300. a:hover {
  301. color: #2795b6 !important;
  302. }
  303. a:active {
  304. color: #2795b6 !important;
  305. }
  306. a:visited {
  307. color: #2ba6cb !important;
  308. }
  309. h1 a,
  310. h2 a,
  311. h3 a,
  312. h4 a,
  313. h5 a,
  314. h6 a {
  315. color: #2ba6cb;
  316. }
  317. h1 a:active,
  318. h2 a:active,
  319. h3 a:active,
  320. h4 a:active,
  321. h5 a:active,
  322. h6 a:active {
  323. color: #2ba6cb !important;
  324. }
  325. h1 a:visited,
  326. h2 a:visited,
  327. h3 a:visited,
  328. h4 a:visited,
  329. h5 a:visited,
  330. h6 a:visited {
  331. color: #2ba6cb !important;
  332. }
  333. /* Panels */
  334. .panel {
  335. background: #f2f2f2;
  336. border: 1px solid #d9d9d9;
  337. padding: 10px !important;
  338. }
  339. .sub-grid table {
  340. width: 100%;
  341. }
  342. .sub-grid td.sub-columns {
  343. padding-bottom: 0;
  344. }
  345. /* Buttons */
  346. table.button,
  347. table.tiny-button,
  348. table.small-button,
  349. table.medium-button,
  350. table.large-button {
  351. width: 100%;
  352. overflow: hidden;
  353. }
  354. table.button td,
  355. table.tiny-button td,
  356. table.small-button td,
  357. table.medium-button td,
  358. table.large-button td {
  359. display: block;
  360. width: auto !important;
  361. text-align: center;
  362. background: #2ba6cb;
  363. border: 1px solid #2284a1;
  364. color: #ffffff;
  365. padding: 8px 0;
  366. }
  367. table.tiny-button td {
  368. padding: 5px 0 4px;
  369. }
  370. table.small-button td {
  371. padding: 8px 0 7px;
  372. }
  373. table.medium-button td {
  374. padding: 12px 0 10px;
  375. }
  376. table.large-button td {
  377. padding: 21px 0 18px;
  378. }
  379. table.button td a,
  380. table.tiny-button td a,
  381. table.small-button td a,
  382. table.medium-button td a,
  383. table.large-button td a {
  384. font-weight: bold;
  385. text-decoration: none;
  386. font-family: Helvetica, Arial, sans-serif;
  387. color: #ffffff;
  388. font-size: 16px;
  389. }
  390. table.tiny-button td a {
  391. font-size: 12px;
  392. font-weight: normal;
  393. }
  394. table.small-button td a {
  395. font-size: 16px;
  396. }
  397. table.medium-button td a {
  398. font-size: 20px;
  399. }
  400. table.large-button td a {
  401. font-size: 24px;
  402. }
  403. table.button:hover td,
  404. table.button:visited td,
  405. table.button:active td {
  406. background: #2795b6 !important;
  407. }
  408. table.button:hover td a,
  409. table.button:visited td a,
  410. table.button:active td a {
  411. color: #fff !important;
  412. }
  413. table.button:hover td,
  414. table.tiny-button:hover td,
  415. table.small-button:hover td,
  416. table.medium-button:hover td,
  417. table.large-button:hover td {
  418. background: #2795b6 !important;
  419. }
  420. table.button:hover td a,
  421. table.button:active td a,
  422. table.button td a:visited,
  423. table.tiny-button:hover td a,
  424. table.tiny-button:active td a,
  425. table.tiny-button td a:visited,
  426. table.small-button:hover td a,
  427. table.small-button:active td a,
  428. table.small-button td a:visited,
  429. table.medium-button:hover td a,
  430. table.medium-button:active td a,
  431. table.medium-button td a:visited,
  432. table.large-button:hover td a,
  433. table.large-button:active td a,
  434. table.large-button td a:visited {
  435. color: #ffffff !important;
  436. }
  437. table.secondary td {
  438. background: #e9e9e9;
  439. border-color: #d0d0d0;
  440. color: #555;
  441. }
  442. table.secondary td a {
  443. color: #555;
  444. }
  445. table.secondary:hover td {
  446. background: #d0d0d0 !important;
  447. color: #555;
  448. }
  449. table.secondary:hover td a,
  450. table.secondary td a:visited,
  451. table.secondary:active td a {
  452. color: #555 !important;
  453. }
  454. table.success td {
  455. background: #5da423;
  456. border-color: #457a1a;
  457. }
  458. table.success:hover td {
  459. background: #457a1a !important;
  460. }
  461. table.alert td {
  462. background: #c60f13;
  463. border-color: #970b0e;
  464. }
  465. table.alert:hover td {
  466. background: #970b0e !important;
  467. }
  468. table.radius td {
  469. -webkit-border-radius: 3px;
  470. -moz-border-radius: 3px;
  471. border-radius: 3px;
  472. }
  473. table.round td {
  474. -webkit-border-radius: 500px;
  475. -moz-border-radius: 500px;
  476. border-radius: 500px;
  477. }
  478. /* Outlook First */
  479. body.outlook p {
  480. display: inline !important;
  481. }
  482. /* Media Queries */
  483. @media only screen and (max-width: 600px) {
  484. table[class="body"] img {
  485. width: auto !important;
  486. height: auto !important;
  487. }
  488. table[class="body"] center {
  489. min-width: 0 !important;
  490. }
  491. table[class="body"] .container {
  492. width: 95% !important;
  493. }
  494. table[class="body"] .row {
  495. width: 100% !important;
  496. display: block !important;
  497. }
  498. table[class="body"] .wrapper {
  499. display: block !important;
  500. padding-right: 0 !important;
  501. }
  502. table[class="body"] .columns,
  503. table[class="body"] .column {
  504. table-layout: fixed !important;
  505. float: none !important;
  506. width: 100% !important;
  507. padding-right: 0px !important;
  508. padding-left: 0px !important;
  509. display: block !important;
  510. }
  511. table[class="body"] .wrapper.first .columns,
  512. table[class="body"] .wrapper.first .column {
  513. display: table !important;
  514. }
  515. table[class="body"] table.columns td,
  516. table[class="body"] table.column td {
  517. width: 100% !important;
  518. }
  519. table[class="body"] .columns td.one,
  520. table[class="body"] .column td.one { width: 8.333333% !important; }
  521. table[class="body"] .columns td.two,
  522. table[class="body"] .column td.two { width: 16.666666% !important; }
  523. table[class="body"] .columns td.three,
  524. table[class="body"] .column td.three { width: 25% !important; }
  525. table[class="body"] .columns td.four,
  526. table[class="body"] .column td.four { width: 33.333333% !important; }
  527. table[class="body"] .columns td.five,
  528. table[class="body"] .column td.five { width: 41.666666% !important; }
  529. table[class="body"] .columns td.six,
  530. table[class="body"] .column td.six { width: 50% !important; }
  531. table[class="body"] .columns td.seven,
  532. table[class="body"] .column td.seven { width: 58.333333% !important; }
  533. table[class="body"] .columns td.eight,
  534. table[class="body"] .column td.eight { width: 66.666666% !important; }
  535. table[class="body"] .columns td.nine,
  536. table[class="body"] .column td.nine { width: 75% !important; }
  537. table[class="body"] .columns td.ten,
  538. table[class="body"] .column td.ten { width: 83.333333% !important; }
  539. table[class="body"] .columns td.eleven,
  540. table[class="body"] .column td.eleven { width: 91.666666% !important; }
  541. table[class="body"] .columns td.twelve,
  542. table[class="body"] .column td.twelve { width: 100% !important; }
  543. table[class="body"] td.offset-by-one,
  544. table[class="body"] td.offset-by-two,
  545. table[class="body"] td.offset-by-three,
  546. table[class="body"] td.offset-by-four,
  547. table[class="body"] td.offset-by-five,
  548. table[class="body"] td.offset-by-six,
  549. table[class="body"] td.offset-by-seven,
  550. table[class="body"] td.offset-by-eight,
  551. table[class="body"] td.offset-by-nine,
  552. table[class="body"] td.offset-by-ten,
  553. table[class="body"] td.offset-by-eleven {
  554. padding-left: 0 !important;
  555. }
  556. table[class="body"] table.columns td.expander {
  557. width: 1px !important;
  558. }
  559. table[class="body"] .right-text-pad,
  560. table[class="body"] .text-pad-right {
  561. padding-left: 10px !important;
  562. }
  563. table[class="body"] .left-text-pad,
  564. table[class="body"] .text-pad-left {
  565. padding-right: 10px !important;
  566. }
  567. table[class="body"] .hide-for-small,
  568. table[class="body"] .show-for-desktop {
  569. display: none !important;
  570. }
  571. table[class="body"] .show-for-small,
  572. table[class="body"] .hide-for-desktop {
  573. display: inherit !important;
  574. }
  575. }