artichaut.css 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  1. /*
  2. Ratatouille mini Framework css by Thomas LEBEAU
  3. Base on KNACSS => www.KNACSS.com (2013-10) @author: Raphael Goetter, Alsacreations
  4. and normalize.css
  5. */
  6. /* ==========================================================================
  7. Sommaire
  8. 1 = Mise en Forme
  9. 2 = Mise en Page
  10. 3 = Internet Explorer
  11. 4 = Responsives elements
  12. ========================================================================== */
  13. /* ==========================================================================
  14. 1 = Mise en forme
  15. ========================================================================== */
  16. * {
  17. -webkit-box-sizing: border-box;
  18. -moz-box-sizing: border-box;
  19. box-sizing: border-box;
  20. }
  21. html {
  22. font-family: sans-serif; /* 1 */
  23. -ms-text-size-adjust: 100%; /* 2 */
  24. -webkit-text-size-adjust: 100%; /* 2 */
  25. }
  26. body {
  27. font-size: 1em;
  28. line-height:1.5;
  29. margin: 0;
  30. }
  31. h1:first-child,
  32. h2:first-child,
  33. h3:first-child,
  34. h4:first-child,
  35. h5:first-child,
  36. h6:first-child,
  37. p:first-child,
  38. ul:first-child,
  39. ol:first-child,
  40. dl:first-child{
  41. margin-top: 0;
  42. }
  43. code,
  44. kbd,
  45. pre,
  46. samp {
  47. font-family: monospace, serif;
  48. }
  49. pre {
  50. white-space: pre-wrap;
  51. }
  52. .upper {
  53. text-transform: uppercase;
  54. }
  55. .bold {
  56. font-weight: bold;
  57. }
  58. .inner {
  59. margin: 0 auto;
  60. max-width: 61.25em;/*980px*/
  61. }
  62. table, img {
  63. max-width: 100%;
  64. height :auto;
  65. }
  66. iframe {
  67. max-width: 100%;
  68. }
  69. .fl {
  70. float: left;
  71. }
  72. .fr {
  73. float: right;
  74. }
  75. table {
  76. border-collapse: collapse;
  77. }
  78. figure {
  79. margin: 0;
  80. }
  81. button,
  82. input,
  83. select,
  84. textarea {
  85. font-family: inherit;
  86. font-size: 100%;
  87. margin: 0;
  88. }
  89. input[type="search"] {
  90. -webkit-appearance: textfield;
  91. }
  92. input::-moz-focus-inner {
  93. border: 0;
  94. padding: 0;
  95. }
  96. @media screen and (-webkit-min-device-pixel-ratio:0){
  97. select{
  98. -webkit-appearance: none;
  99. border-radius: 0;
  100. }
  101. }
  102. /* ==========================================================================
  103. 2 = Mise en page
  104. ========================================================================== */
  105. .ul-reset {
  106. margin: 0;
  107. padding: 0;
  108. }
  109. .ul-reset li {
  110. list-style: none;
  111. }
  112. .dib {
  113. display: inline-block;
  114. vertical-align: middle;
  115. }
  116. .dblock { display: block; }
  117. .dnone { display: none; }
  118. .dtable { display:table }
  119. .dtable > * { display:table-row; }
  120. .dtable > * > * { display:table-cell; }
  121. .element-invisible {
  122. border: 0;
  123. clip: rect(0 0 0 0);
  124. height: 1px;
  125. margin: -1px;
  126. overflow: hidden;
  127. padding: 0;
  128. position: absolute;
  129. width: 1px;
  130. }
  131. .x-text-small { font-size:x-small; }
  132. .text-small { font-size:small; }
  133. .text-large { font-size:large; }
  134. .x-text-large { font-size:x-large; }
  135. h1,
  136. .h1 {
  137. font-size: 2.5em;
  138. }
  139. h2,
  140. .h2 {
  141. font-size: 1.8em;
  142. }
  143. h3,
  144. .h3 {
  145. font-size: 1.4em;
  146. }
  147. h4,
  148. .h4 {
  149. font-size: 1.2em;
  150. }
  151. h5,
  152. .h5 {
  153. font-size: 1em;
  154. }
  155. h6,
  156. .h6 {
  157. font-size: 0.8em;
  158. }
  159. /*Table*/
  160. table {
  161. color: #999;
  162. min-width: 100%;
  163. text-align: left;
  164. }
  165. table thead {
  166. background: #CCC;
  167. }
  168. table td, table th {
  169. padding: 0.5em;
  170. color: #333;
  171. border-color: #999;
  172. }
  173. .box {
  174. padding: 1.5em;
  175. }
  176. code {
  177. background: #EEE;
  178. color: #666;
  179. padding: 0.4em;
  180. }
  181. /* ==========================================================================
  182. 3 = Internet Explorer
  183. ========================================================================== */
  184. /*IE8 and IE9*/
  185. article,
  186. aside,
  187. details,
  188. figcaption,
  189. figure,
  190. footer,
  191. header,
  192. hgroup,
  193. main,
  194. nav,
  195. section,
  196. summary {
  197. display: block;
  198. }
  199. /*IE8 and IE9*/
  200. audio,
  201. canvas,
  202. video {
  203. display: inline-block;
  204. }
  205. img {
  206. border: 0;
  207. }
  208. /* ==========================================================================
  209. 4 = Responsives Elements
  210. ========================================================================== */
  211. @media screen and (max-width: 61.25em) {
  212. .responsiveTable {
  213. overflow-x: scroll;
  214. -webkit-overflow-scrolling: touch;
  215. }
  216. }
  217. *[data-width] {
  218. width: attr(data-width);
  219. }