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