diff --git a/css/knacss-unminified.css b/css/knacss-unminified.css index 90de6d7..3150d3b 100644 --- a/css/knacss-unminified.css +++ b/css/knacss-unminified.css @@ -1209,18 +1209,6 @@ s,m,l,n = small, medium, large, none /* ==Responsive small */ /* ---------------------------------- */ @media (min-width: 481px) and (max-width: 768px) { - /* quick small resolution reset */ - .mod, - .col, - fieldset { - display: block !important; - float: none !important; - clear: none !important; - width: auto !important; - margin-left: 0 !important; - margin-right: 0 !important; - border: 0; - } /* quick reset in small resolution and less */ .w600p, .w700p, @@ -1312,6 +1300,18 @@ s,m,l,n = small, medium, large, none /* ==Responsive tiny */ /* ---------------------------------- */ @media (max-width: 480px) { + /* quick tiny resolution reset */ + .mod, + .col, + fieldset { + display: block !important; + float: none !important; + clear: none !important; + width: auto !important; + margin-left: 0 !important; + margin-right: 0 !important; + border: 0; + } .w300p, .w400p, .w500p { diff --git a/css/knacss.css b/css/knacss.css index cc2252d..adf9db8 100644 --- a/css/knacss.css +++ b/css/knacss.css @@ -1,4 +1,4 @@ /*! * www.KNACSS.com V4.0.3 BETA (2015-03-06) @author: Raphael Goetter, Alsacreations * Licence WTFPL http://www.wtfpl.net/ -*/html{box-sizing:border-box}*{box-sizing:inherit}html,body{margin:0;padding:0}ul,ol{padding-left:2em}ul.unstyled{list-style:none}img{vertical-align:middle;border:0}img:not([src$=".svg"]){height:auto}blockquote,figure{margin-left:0;margin-right:0}audio,canvas,video{display:inline-block}svg:not(:root){overflow:hidden}html{font-size:62.5%;font-size:calc(.625em);-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{font-size:1.4em;background-color:#fff;color:#000;font-family:Helvetica,Arial,sans-serif;line-height:1.5}a{color:#333}a:hover,a:focus,a:active{color:#000}p,.p-like,ul,ol,dl,blockquote,pre,td,th,label,textarea,caption,details,figure{margin-top:.75em;margin-bottom:0;line-height:1.5}h1,.h1-like{font-size:3.2rem;font-family:Helvetica,Arial,sans-serif}h2,.h2-like{font-size:2.8rem;font-family:Helvetica,Arial,sans-serif}h3,.h3-like{font-size:2.4rem}h4,.h4-like{font-size:2rem}h5,.h5-like{font-size:1.8rem}h6,.h6-like{font-size:1.6rem}.smaller{font-size:.6em}.small{font-size:.8em}.big{font-size:1.2em}.bigger{font-size:1.5em}.biggest{font-size:2em}code,pre,samp,kbd{white-space:pre-line;white-space:pre-wrap;font-family:Consolas,"DejaVu Sans Mono",Courier,monospace;line-height:normal}em,.italic,address,cite,dfn,i,var{font-style:italic}strong,.bold{font-weight:bold}small,sub,sup{font-size:smaller}.visually-hidden{position:absolute !important;border:0 !important;height:1px !important;width:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important}@media (max-width:768px){.no-small-screen{display:none}}@media (min-width:1280px){.no-large-screen{display:none}}p:first-child,.p-like:first-child,ul:first-child,ol:first-child,dl:first-child,blockquote:first-child,pre:first-child,h1:first-child,.h1-like:first-child,h2:first-child,.h2-like:first-child,h3:first-child,.h3-like:first-child,h4:first-child,.h4-like:first-child,h5:first-child,.h5-like:first-child,h6:first-child,.h6-like:first-child{margin-top:0}li p,li .p-like,li ul,li ol{margin-top:0;margin-bottom:0}img,table,td,blockquote,code,pre,textarea,input,video{max-width:100%}table{margin-bottom:20px}.mod{overflow:hidden}.clear,.line,.row{clear:both}.clearfix:after,.line:after{content:"";display:table;clear:both;border-collapse:collapse}.left{margin-right:auto}.right{margin-left:auto}.center{margin-left:auto;margin-right:auto}.txtleft{text-align:left}.txtright{text-align:right}.txtcenter{text-align:center}.fl{float:left}img.fl{margin-right:10px}.fr{float:right}img.fr{margin-left:10px}img.fl,img.fr{margin-bottom:5px}.row{display:table;table-layout:fixed;width:100%}.row>*,.col{display:table-cell;vertical-align:top}body>script{display:none !important}.inbl{display:inline-block;vertical-align:top}.flexbox,.flexbox-h,.flexbox-v{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row}.flexbox-v{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.flexitem-fluid{-webkit-flex:1;-ms-flex:1;flex:1}.flexitem-first{-webkit-order:-1;-ms-flex-order:-1;order:-1}.flexitem-medium{-webkit-order:0;-ms-flex-order:0;order:0}.flexitem-last{-webkit-order:1;-ms-flex-order:1;order:1}.flexitem-center{margin:auto}[class*="grid-"]{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-left:-1em}[class*="grid-"]>*{-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto;display:block;border-left:1em solid transparent;background-clip:padding-box !important}.grid-2>*{width:50%}.grid-2>.flexitem-double{width:100%}@media (min-width:769px) and (max-width:1024px){.grid-2>*{width:33.3333%}.grid-2>.flexitem-double{width:66.6666%}}@media (min-width:481px) and (max-width:768px){.grid-2>*{width:50%}.grid-2>.flexitem-double{width:100%}}@media (max-width:480px){.grid-2>*{width:100%}.grid-2>.flexitem-double{width:100%}}.grid-3>*{width:33.33333333%}.grid-3>.flexitem-double{width:66.66666667%}@media (min-width:769px) and (max-width:1024px){.grid-3>*{width:33.3333%}.grid-3>.flexitem-double{width:66.6666%}}@media (min-width:481px) and (max-width:768px){.grid-3>*{width:50%}.grid-3>.flexitem-double{width:100%}}@media (max-width:480px){.grid-3>*{width:100%}.grid-3>.flexitem-double{width:100%}}.grid-4>*{width:25%}.grid-4>.flexitem-double{width:50%}@media (min-width:769px) and (max-width:1024px){.grid-4>*{width:33.3333%}.grid-4>.flexitem-double{width:66.6666%}}@media (min-width:481px) and (max-width:768px){.grid-4>*{width:50%}.grid-4>.flexitem-double{width:100%}}@media (max-width:480px){.grid-4>*{width:100%}.grid-4>.flexitem-double{width:100%}}.grid-5>*{width:20%}.grid-5>.flexitem-double{width:40%}@media (min-width:769px) and (max-width:1024px){.grid-5>*{width:33.3333%}.grid-5>.flexitem-double{width:66.6666%}}@media (min-width:481px) and (max-width:768px){.grid-5>*{width:50%}.grid-5>.flexitem-double{width:100%}}@media (max-width:480px){.grid-5>*{width:100%}.grid-5>.flexitem-double{width:100%}}.grid-6>*{width:16.66666667%}.grid-6>.flexitem-double{width:33.33333333%}@media (min-width:769px) and (max-width:1024px){.grid-6>*{width:33.3333%}.grid-6>.flexitem-double{width:66.6666%}}@media (min-width:481px) and (max-width:768px){.grid-6>*{width:50%}.grid-6>.flexitem-double{width:100%}}@media (max-width:480px){.grid-6>*{width:100%}.grid-6>.flexitem-double{width:100%}}.grid-7>*{width:14.28571429%}.grid-7>.flexitem-double{width:28.57142857%}@media (min-width:769px) and (max-width:1024px){.grid-7>*{width:33.3333%}.grid-7>.flexitem-double{width:66.6666%}}@media (min-width:481px) and (max-width:768px){.grid-7>*{width:50%}.grid-7>.flexitem-double{width:100%}}@media (max-width:480px){.grid-7>*{width:100%}.grid-7>.flexitem-double{width:100%}}.grid-8>*{width:12.5%}.grid-8>.flexitem-double{width:25%}@media (min-width:769px) and (max-width:1024px){.grid-8>*{width:33.3333%}.grid-8>.flexitem-double{width:66.6666%}}@media (min-width:481px) and (max-width:768px){.grid-8>*{width:50%}.grid-8>.flexitem-double{width:100%}}@media (max-width:480px){.grid-8>*{width:100%}.grid-8>.flexitem-double{width:100%}}.grid-10>*{width:10%}.grid-10>.flexitem-double{width:20%}@media (min-width:769px) and (max-width:1024px){.grid-10>*{width:33.3333%}.grid-10>.flexitem-double{width:66.6666%}}@media (min-width:481px) and (max-width:768px){.grid-10>*{width:50%}.grid-10>.flexitem-double{width:100%}}@media (max-width:480px){.grid-10>*{width:100%}.grid-10>.flexitem-double{width:100%}}.grid-12>*{width:8.33333333%}.grid-12>.flexitem-double{width:16.66666667%}@media (min-width:769px) and (max-width:1024px){.grid-12>*{width:33.3333%}.grid-12>.flexitem-double{width:66.6666%}}@media (min-width:481px) and (max-width:768px){.grid-12>*{width:50%}.grid-12>.flexitem-double{width:100%}}@media (max-width:480px){.grid-12>*{width:100%}.grid-12>.flexitem-double{width:100%}}.grid-2-1>*:nth-child(odd){width:66.66666667%}.grid-2-1>*:nth-child(even){width:33.33333333%}@media (max-width:480px){.grid-2-1>*:nth-child(n){width:100%}}.grid-1-2>*:nth-child(odd){width:33.33333333%}.grid-1-2>*:nth-child(even){width:66.66666667%}@media (max-width:480px){.grid-1-2>*:nth-child(n){width:100%}}.grid-3-1>*:nth-child(odd){width:75%}.grid-3-1>*:nth-child(even){width:25%}@media (max-width:480px){.grid-3-1>*:nth-child(n){width:100%}}.grid-1-3>*:nth-child(odd){width:25%}.grid-1-3>*:nth-child(even){width:75%}@media (max-width:480px){.grid-1-3>*:nth-child(n){width:100%}}.grid-3-2>*:nth-child(odd){width:60%}.grid-3-2>*:nth-child(even){width:40%}@media (max-width:480px){.grid-3-2>*:nth-child(n){width:100%}}.grid-2-3>*:nth-child(odd){width:40%}.grid-2-3>*:nth-child(even){width:60%}@media (max-width:480px){.grid-2-3>*:nth-child(n){width:100%}}.grid-4-1>*:nth-child(odd){width:80%}.grid-4-1>*:nth-child(even){width:20%}@media (max-width:480px){.grid-4-1>*:nth-child(n){width:100%}}.grid-1-4>*:nth-child(odd){width:20%}.grid-1-4>*:nth-child(even){width:80%}@media (max-width:480px){.grid-1-4>*:nth-child(n){width:100%}}table,.table{width:100%;max-width:100%;table-layout:fixed;border-collapse:collapse;vertical-align:top;border:1px solid #ccc}.table{display:table}table#recaptcha_table,table.table-auto{table-layout:auto}caption{padding:10px;color:#555;font-style:italic}td,th{padding:.3em .8em;border:1px #aaa dotted;vertical-align:top;min-width:20px;cursor:default;text-align:left}.btn{display:inline-block}form,fieldset{border:none}input,button,select,label,.btn{vertical-align:middle;font-family:inherit;font-size:inherit}label{display:inline-block;vertical-align:middle;cursor:pointer}legend{border:0;white-space:normal}textarea{min-height:5em;vertical-align:top;font-family:inherit;font-size:inherit;resize:vertical}button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button}input[type="search"]{-webkit-appearance:textfield}input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-results-button,input[type="search"]::-webkit-search-results-decoration{display:none}::-webkit-input-placeholder{color:#777}input:-moz-placeholder,textarea:-moz-placeholder{color:#777}button::-moz-focus-inner,input[type='button']::-moz-focus-inner,input[type='reset']::-moz-focus-inner,input[type='submit']::-moz-focus-inner{border:0;padding:0}.w10{width:10%}.w20{width:20%}.w25{width:25%}.w30{width:30%}.w33{width:33.3333%}.w40{width:40%}.w50{width:50%}.w60{width:60%}.w66{width:66.6666%}.w70{width:70%}.w75{width:75%}.w80{width:80%}.w90{width:90%}.w100{width:100%}.w50p{width:50px}.w100p{width:100px}.w150p{width:150px}.w200p{width:200px}.w300p{width:300px}.w400p{width:400px}.w500p{width:500px}.w600p{width:600px}.w700p{width:700px}.w800p{width:800px}.w960p{width:960px}.mw960p{max-width:960px}.w1140p{width:1140px}.mw1140p{max-width:1140px}.wauto{width:auto}.man,.ma0{margin:0}.pan,.pa0{padding:0}.mas{margin:10px}.mam{margin:20px}.mal{margin:40px}.pas{padding:10px}.pam{padding:20px}.pal{padding:40px}.mtn,.mt0{margin-top:0}.mts{margin-top:10px}.mtm{margin-top:20px}.mtl{margin-top:40px}.mrn,.mr0{margin-right:0}.mrs{margin-right:10px}.mrm{margin-right:20px}.mrl{margin-right:40px}.mbn,.mb0{margin-bottom:0}.mbs{margin-bottom:10px}.mbm{margin-bottom:20px}.mbl{margin-bottom:40px}.mln,.ml0{margin-left:0}.mls{margin-left:10px}.mlm{margin-left:20px}.mll{margin-left:40px}.ptn,.pt0{padding-top:0}.pts{padding-top:10px}.ptm{padding-top:20px}.ptl{padding-top:40px}.prn,.pr0{padding-right:0}.prs{padding-right:10px}.prm{padding-right:20px}.prl{padding-right:40px}.pbn,.pb0{padding-bottom:0}.pbs{padding-bottom:10px}.pbm{padding-bottom:20px}.pbl{padding-bottom:40px}.pln,.pl0{padding-left:0}.pls{padding-left:10px}.plm{padding-left:20px}.pll{padding-left:40px}@media (min-width:1025px){.large-hidden{display:none !important}.large-visible{display:block !important}.large-no-float{float:none}.large-inbl{display:inline-block;float:none;vertical-align:top}.large-row{display:table;table-layout:fixed;width:100% !important}.large-col{display:table-cell;vertical-align:top}.large-w25{width:25% !important}.large-w33{width:33.3333% !important}.large-w50{width:50% !important}.large-w66{width:66.6666% !important}.large-w75{width:75% !important}.large-w100,.large-wauto{display:block !important;float:none !important;clear:none !important;width:auto !important;margin-left:0 !important;margin-right:0 !important;border:0}.large-man{margin:0 !important}}@media (min-width:769px) and (max-width:1024px){.medium-hidden{display:none !important}.medium-visible{display:block !important}.medium-no-float{float:none}.medium-inbl{display:inline-block;float:none;vertical-align:top}.medium-row{display:table;table-layout:fixed;width:100% !important}.medium-col{display:table-cell;vertical-align:top}.medium-w25{width:25% !important}.medium-w33{width:33.3333% !important}.medium-w50{width:50% !important}.medium-w66{width:66.6666% !important}.medium-w75{width:75% !important}.medium-w100,.medium-wauto{display:block !important;float:none !important;clear:none !important;width:auto !important;margin-left:0 !important;margin-right:0 !important;border:0}.medium-man,.medium-ma0{margin:0 !important}}@media (min-width:481px) and (max-width:768px){.mod,.col,fieldset{display:block !important;float:none !important;clear:none !important;width:auto !important;margin-left:0 !important;margin-right:0 !important;border:0}.w600p,.w700p,.w800p,.w960p,.mw960p{width:auto;float:none}.small-hidden{display:none !important}.small-visible{display:block !important}.small-no-float{float:none}.small-inbl{display:inline-block;float:none;vertical-align:top}.small-row{display:table !important;table-layout:fixed !important;width:100% !important}.small-col{display:table-cell !important;vertical-align:top !important}.small-w25{width:25% !important}.small-w33{width:33.3333% !important}.small-w50{width:50% !important}.small-w66{width:66.6666% !important}.small-w75{width:75% !important}.small-w100,.small-wauto{display:block !important;float:none !important;clear:none !important;width:auto !important;margin-left:0 !important;margin-right:0 !important;border:0}.small-man,.small-ma0{margin:0 !important}.small-pan,.small-pa0{padding:0 !important}.grid3>*,.grid4>*,.grid5>*,.grid6>*,.grid8>*,.grid10>*,.grid12>*{width:50%}.autogrid5>*,.autogrid6>*,.autogrid8>*,.autogrid10>*,.autogrid12>*{width:49% !important}}@media (max-width:480px){.w300p,.w400p,.w500p{width:auto;float:none}.row{display:block !important;width:100% !important}.tiny-hidden{display:none !important}.tiny-visible{display:block !important}.tiny-no-float{float:none}.tiny-inbl{display:inline-block;float:none;vertical-align:top}.tiny-row{display:table !important;table-layout:fixed !important;width:100% !important}.tiny-col{display:table-cell !important;vertical-align:top !important}th,td{display:block !important;width:auto !important;text-align:left !important}thead{display:none}.tiny-w25{width:25% !important}.tiny-w33{width:33.3333% !important}.tiny-w50{width:50% !important}.tiny-w66{width:66.6666% !important}.tiny-w75{width:75% !important}.tiny-w100,.tiny-wauto{display:block !important;float:none !important;clear:none !important;width:auto !important;margin-left:0 !important;margin-right:0 !important;border:0}.tiny-man,.tiny-ma0{margin:0 !important}.tiny-pan,.tiny-pa0{padding:0 !important}.grid>*>*{width:100% !important}[class*="autogrid"]>*{width:100% !important}}@media print{*{background:transparent !important;box-shadow:none !important;text-shadow:none !important}body{width:auto !important;margin:auto !important;font-family:serif;font-size:12pt;background-color:#fff !important;color:#333 !important}p,.p-like,h1,.h1-like,h2,.h2-like,h3,.h3-like,h4,.h4-like,h5,.h5-like,h6,.h6-like,blockquote,ul,ol{color:#000 !important;margin:auto !important}.print{display:block}.no-print{display:none}img{-webkit-filter:grayscale(100%);filter:grayscale(100%)}p,.p-like,blockquote{orphans:3;widows:3}blockquote,ul,ol{page-break-inside:avoid}h1,.h1-like{page-break-before:always}h1,.h1-like,h2,.h2-like,h3,.h3-like,caption{page-break-after:avoid}a{color:#000 !important;text-decoration:underline !important}a[href]:after{content:" (" attr(href) ")"}a[href^="javascript:"]:after,a[href^="#"]:after{content:""}}.skip-links{position:absolute}.skip-links a{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);padding:.5em;background:black;color:white;text-decoration:none}.skip-links a:focus{position:static;overflow:visible;clip:auto}@media (max-width:768px){div,textarea,table,td,th,code,pre,samp{word-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto}}.gm-style img{height:100%}:not(.gm-style) img{height:auto}.gm-style img,.gmnoscreen img,.gmnoprint img{max-width:none !important}code,kbd,mark{border-radius:2px}kbd{padding:0 2px;border:1px solid #999}code{padding:2px 4px;background:rgba(0,0,0,0.04);color:#b11}pre code{padding:none;background:none;color:inherit;border-radius:0}mark{padding:2px 4px;background:#ff0}sup,sub{vertical-align:0;position:relative}sup{bottom:1ex}sub{top:.5ex}blockquote{position:relative;padding-left:3em}blockquote:before{content:"\201C";position:absolute;left:0;top:0;font-family:georgia,serif;font-size:5em;line-height:.9;color:rgba(0,0,0,0.3)}blockquote>footer{margin-top:.75em;font-size:.9em;color:rgba(0,0,0,0.7)}blockquote>footer:before{content:"\2014 \0020"}q{font-style:normal}q,.q{quotes:"“\00a0" "\00a0”"}q:lang(fr),.q:lang(fr){quotes:"«\00a0" "\00a0»"}hr{display:block;clear:both;height:1px;margin:1em 0 2em;padding:0;border:0;color:#ccc;background-color:#ccc}.table-alternate{border:0}.table-alternate tbody{border:1px solid #ccc}.table-alternate thead tr>*+*{border-left:0}.table-alternate tbody tr>*+*{border-left:1px solid #ccc}.table-alternate-v{border:0;border-right:1px solid #ccc}.table-alternate-v tr>:first-child{border-bottom:0}.table-alternate-v tr>*+*{border-top:1px solid #ccc}.table-striped tbody tr:nth-child(odd){background:#eee;background:rgba(0,0,0,0.05)}.table-striped-v tr>:first-child{background:#eee;background:rgba(0,0,0,0.05)}.comment-navigation,.paging-navigation,.post-navigation{margin:0 0 1.5em;overflow:hidden}.comment-navigation .nav-previous,.paging-navigation .nav-previous,.post-navigation .nav-previous{float:left;width:50%}.comment-navigation .nav-next,.paging-navigation .nav-next,.post-navigation .nav-next{float:right;text-align:right;width:50%}.alignnone{margin:.25em 1.5em 1.5em 0}.aligncenter{clear:both;display:block;margin:1.5em auto}.alignleft{float:left;margin:0 1.5em .25em 0}.alignright{float:right;margin:0 0 .25em 1.5em}.entry-content,.comment-content{clear:both}.entry-content:after,.comment-content:after,.entry-content:before,.comment-content:before{content:"";display:table}.widget+.widget{margin:1.5em 0 0}.widget select{max-width:100%}.hentry{margin:0 0 1.5em}.page-content,.entry-content,.entry-summary{margin:1.5em 0 0}.page-links{clear:both;margin:0 0 1.5em}.comment-content a{word-wrap:break-word}img.wp-smiley{margin-bottom:0;margin-top:0;padding:0;border:none}.wp-caption{max-width:100%;margin-bottom:1.5em}.wp-caption img{display:block;margin:0 auto}.wp-caption-text{margin:1em 0;text-align:center}.gallery{margin-bottom:1.5em}.gallery-item{display:inline-block;width:100%;text-align:center;vertical-align:top}.gallery-columns-2 .gallery-item{max-width:50%}.gallery-columns-3 .gallery-item{max-width:33.33%}.gallery-columns-4 .gallery-item{max-width:25%}.gallery-columns-5 .gallery-item{max-width:20%}.gallery-columns-6 .gallery-item{max-width:16.66%}.gallery-columns-7 .gallery-item{max-width:14.28%}.gallery-columns-8 .gallery-item{max-width:12.5%}.gallery-columns-9 .gallery-item{max-width:11.11%}.gallery-caption{display:block} \ No newline at end of file +*/html{box-sizing:border-box}*{box-sizing:inherit}html,body{margin:0;padding:0}ul,ol{padding-left:2em}ul.unstyled{list-style:none}img{vertical-align:middle;border:0}img:not([src$=".svg"]){height:auto}blockquote,figure{margin-left:0;margin-right:0}audio,canvas,video{display:inline-block}svg:not(:root){overflow:hidden}html{font-size:62.5%;font-size:calc(.625em);-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{font-size:1.4em;background-color:#fff;color:#000;font-family:Helvetica,Arial,sans-serif;line-height:1.5}a{color:#333}a:hover,a:focus,a:active{color:#000}p,.p-like,ul,ol,dl,blockquote,pre,td,th,label,textarea,caption,details,figure{margin-top:.75em;margin-bottom:0;line-height:1.5}h1,.h1-like{font-size:3.2rem;font-family:Helvetica,Arial,sans-serif}h2,.h2-like{font-size:2.8rem;font-family:Helvetica,Arial,sans-serif}h3,.h3-like{font-size:2.4rem}h4,.h4-like{font-size:2rem}h5,.h5-like{font-size:1.8rem}h6,.h6-like{font-size:1.6rem}.smaller{font-size:.6em}.small{font-size:.8em}.big{font-size:1.2em}.bigger{font-size:1.5em}.biggest{font-size:2em}code,pre,samp,kbd{white-space:pre-line;white-space:pre-wrap;font-family:Consolas,"DejaVu Sans Mono",Courier,monospace;line-height:normal}em,.italic,address,cite,dfn,i,var{font-style:italic}strong,.bold{font-weight:bold}small,sub,sup{font-size:smaller}.visually-hidden{position:absolute !important;border:0 !important;height:1px !important;width:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important}@media (max-width:768px){.no-small-screen{display:none}}@media (min-width:1280px){.no-large-screen{display:none}}p:first-child,.p-like:first-child,ul:first-child,ol:first-child,dl:first-child,blockquote:first-child,pre:first-child,h1:first-child,.h1-like:first-child,h2:first-child,.h2-like:first-child,h3:first-child,.h3-like:first-child,h4:first-child,.h4-like:first-child,h5:first-child,.h5-like:first-child,h6:first-child,.h6-like:first-child{margin-top:0}li p,li .p-like,li ul,li ol{margin-top:0;margin-bottom:0}img,table,td,blockquote,code,pre,textarea,input,video{max-width:100%}table{margin-bottom:20px}.mod{overflow:hidden}.clear,.line,.row{clear:both}.clearfix:after,.line:after{content:"";display:table;clear:both;border-collapse:collapse}.left{margin-right:auto}.right{margin-left:auto}.center{margin-left:auto;margin-right:auto}.txtleft{text-align:left}.txtright{text-align:right}.txtcenter{text-align:center}.fl{float:left}img.fl{margin-right:10px}.fr{float:right}img.fr{margin-left:10px}img.fl,img.fr{margin-bottom:5px}.row{display:table;table-layout:fixed;width:100%}.row>*,.col{display:table-cell;vertical-align:top}body>script{display:none !important}.inbl{display:inline-block;vertical-align:top}.flexbox,.flexbox-h,.flexbox-v{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row}.flexbox-v{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.flexitem-fluid{-webkit-flex:1;-ms-flex:1;flex:1}.flexitem-first{-webkit-order:-1;-ms-flex-order:-1;order:-1}.flexitem-medium{-webkit-order:0;-ms-flex-order:0;order:0}.flexitem-last{-webkit-order:1;-ms-flex-order:1;order:1}.flexitem-center{margin:auto}[class*="grid-"]{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-left:-1em}[class*="grid-"]>*{-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto;display:block;border-left:1em solid transparent;background-clip:padding-box !important}.grid-2>*{width:50%}.grid-2>.flexitem-double{width:100%}@media (min-width:769px) and (max-width:1024px){.grid-2>*{width:33.3333%}.grid-2>.flexitem-double{width:66.6666%}}@media (min-width:481px) and (max-width:768px){.grid-2>*{width:50%}.grid-2>.flexitem-double{width:100%}}@media (max-width:480px){.grid-2>*{width:100%}.grid-2>.flexitem-double{width:100%}}.grid-3>*{width:33.33333333%}.grid-3>.flexitem-double{width:66.66666667%}@media (min-width:769px) and (max-width:1024px){.grid-3>*{width:33.3333%}.grid-3>.flexitem-double{width:66.6666%}}@media (min-width:481px) and (max-width:768px){.grid-3>*{width:50%}.grid-3>.flexitem-double{width:100%}}@media (max-width:480px){.grid-3>*{width:100%}.grid-3>.flexitem-double{width:100%}}.grid-4>*{width:25%}.grid-4>.flexitem-double{width:50%}@media (min-width:769px) and (max-width:1024px){.grid-4>*{width:33.3333%}.grid-4>.flexitem-double{width:66.6666%}}@media (min-width:481px) and (max-width:768px){.grid-4>*{width:50%}.grid-4>.flexitem-double{width:100%}}@media (max-width:480px){.grid-4>*{width:100%}.grid-4>.flexitem-double{width:100%}}.grid-5>*{width:20%}.grid-5>.flexitem-double{width:40%}@media (min-width:769px) and (max-width:1024px){.grid-5>*{width:33.3333%}.grid-5>.flexitem-double{width:66.6666%}}@media (min-width:481px) and (max-width:768px){.grid-5>*{width:50%}.grid-5>.flexitem-double{width:100%}}@media (max-width:480px){.grid-5>*{width:100%}.grid-5>.flexitem-double{width:100%}}.grid-6>*{width:16.66666667%}.grid-6>.flexitem-double{width:33.33333333%}@media (min-width:769px) and (max-width:1024px){.grid-6>*{width:33.3333%}.grid-6>.flexitem-double{width:66.6666%}}@media (min-width:481px) and (max-width:768px){.grid-6>*{width:50%}.grid-6>.flexitem-double{width:100%}}@media (max-width:480px){.grid-6>*{width:100%}.grid-6>.flexitem-double{width:100%}}.grid-7>*{width:14.28571429%}.grid-7>.flexitem-double{width:28.57142857%}@media (min-width:769px) and (max-width:1024px){.grid-7>*{width:33.3333%}.grid-7>.flexitem-double{width:66.6666%}}@media (min-width:481px) and (max-width:768px){.grid-7>*{width:50%}.grid-7>.flexitem-double{width:100%}}@media (max-width:480px){.grid-7>*{width:100%}.grid-7>.flexitem-double{width:100%}}.grid-8>*{width:12.5%}.grid-8>.flexitem-double{width:25%}@media (min-width:769px) and (max-width:1024px){.grid-8>*{width:33.3333%}.grid-8>.flexitem-double{width:66.6666%}}@media (min-width:481px) and (max-width:768px){.grid-8>*{width:50%}.grid-8>.flexitem-double{width:100%}}@media (max-width:480px){.grid-8>*{width:100%}.grid-8>.flexitem-double{width:100%}}.grid-10>*{width:10%}.grid-10>.flexitem-double{width:20%}@media (min-width:769px) and (max-width:1024px){.grid-10>*{width:33.3333%}.grid-10>.flexitem-double{width:66.6666%}}@media (min-width:481px) and (max-width:768px){.grid-10>*{width:50%}.grid-10>.flexitem-double{width:100%}}@media (max-width:480px){.grid-10>*{width:100%}.grid-10>.flexitem-double{width:100%}}.grid-12>*{width:8.33333333%}.grid-12>.flexitem-double{width:16.66666667%}@media (min-width:769px) and (max-width:1024px){.grid-12>*{width:33.3333%}.grid-12>.flexitem-double{width:66.6666%}}@media (min-width:481px) and (max-width:768px){.grid-12>*{width:50%}.grid-12>.flexitem-double{width:100%}}@media (max-width:480px){.grid-12>*{width:100%}.grid-12>.flexitem-double{width:100%}}.grid-2-1>*:nth-child(odd){width:66.66666667%}.grid-2-1>*:nth-child(even){width:33.33333333%}@media (max-width:480px){.grid-2-1>*:nth-child(n){width:100%}}.grid-1-2>*:nth-child(odd){width:33.33333333%}.grid-1-2>*:nth-child(even){width:66.66666667%}@media (max-width:480px){.grid-1-2>*:nth-child(n){width:100%}}.grid-3-1>*:nth-child(odd){width:75%}.grid-3-1>*:nth-child(even){width:25%}@media (max-width:480px){.grid-3-1>*:nth-child(n){width:100%}}.grid-1-3>*:nth-child(odd){width:25%}.grid-1-3>*:nth-child(even){width:75%}@media (max-width:480px){.grid-1-3>*:nth-child(n){width:100%}}.grid-3-2>*:nth-child(odd){width:60%}.grid-3-2>*:nth-child(even){width:40%}@media (max-width:480px){.grid-3-2>*:nth-child(n){width:100%}}.grid-2-3>*:nth-child(odd){width:40%}.grid-2-3>*:nth-child(even){width:60%}@media (max-width:480px){.grid-2-3>*:nth-child(n){width:100%}}.grid-4-1>*:nth-child(odd){width:80%}.grid-4-1>*:nth-child(even){width:20%}@media (max-width:480px){.grid-4-1>*:nth-child(n){width:100%}}.grid-1-4>*:nth-child(odd){width:20%}.grid-1-4>*:nth-child(even){width:80%}@media (max-width:480px){.grid-1-4>*:nth-child(n){width:100%}}table,.table{width:100%;max-width:100%;table-layout:fixed;border-collapse:collapse;vertical-align:top;border:1px solid #ccc}.table{display:table}table#recaptcha_table,table.table-auto{table-layout:auto}caption{padding:10px;color:#555;font-style:italic}td,th{padding:.3em .8em;border:1px #aaa dotted;vertical-align:top;min-width:20px;cursor:default;text-align:left}.btn{display:inline-block}form,fieldset{border:none}input,button,select,label,.btn{vertical-align:middle;font-family:inherit;font-size:inherit}label{display:inline-block;vertical-align:middle;cursor:pointer}legend{border:0;white-space:normal}textarea{min-height:5em;vertical-align:top;font-family:inherit;font-size:inherit;resize:vertical}button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button}input[type="search"]{-webkit-appearance:textfield}input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-results-button,input[type="search"]::-webkit-search-results-decoration{display:none}::-webkit-input-placeholder{color:#777}input:-moz-placeholder,textarea:-moz-placeholder{color:#777}button::-moz-focus-inner,input[type='button']::-moz-focus-inner,input[type='reset']::-moz-focus-inner,input[type='submit']::-moz-focus-inner{border:0;padding:0}.w10{width:10%}.w20{width:20%}.w25{width:25%}.w30{width:30%}.w33{width:33.3333%}.w40{width:40%}.w50{width:50%}.w60{width:60%}.w66{width:66.6666%}.w70{width:70%}.w75{width:75%}.w80{width:80%}.w90{width:90%}.w100{width:100%}.w50p{width:50px}.w100p{width:100px}.w150p{width:150px}.w200p{width:200px}.w300p{width:300px}.w400p{width:400px}.w500p{width:500px}.w600p{width:600px}.w700p{width:700px}.w800p{width:800px}.w960p{width:960px}.mw960p{max-width:960px}.w1140p{width:1140px}.mw1140p{max-width:1140px}.wauto{width:auto}.man,.ma0{margin:0}.pan,.pa0{padding:0}.mas{margin:10px}.mam{margin:20px}.mal{margin:40px}.pas{padding:10px}.pam{padding:20px}.pal{padding:40px}.mtn,.mt0{margin-top:0}.mts{margin-top:10px}.mtm{margin-top:20px}.mtl{margin-top:40px}.mrn,.mr0{margin-right:0}.mrs{margin-right:10px}.mrm{margin-right:20px}.mrl{margin-right:40px}.mbn,.mb0{margin-bottom:0}.mbs{margin-bottom:10px}.mbm{margin-bottom:20px}.mbl{margin-bottom:40px}.mln,.ml0{margin-left:0}.mls{margin-left:10px}.mlm{margin-left:20px}.mll{margin-left:40px}.ptn,.pt0{padding-top:0}.pts{padding-top:10px}.ptm{padding-top:20px}.ptl{padding-top:40px}.prn,.pr0{padding-right:0}.prs{padding-right:10px}.prm{padding-right:20px}.prl{padding-right:40px}.pbn,.pb0{padding-bottom:0}.pbs{padding-bottom:10px}.pbm{padding-bottom:20px}.pbl{padding-bottom:40px}.pln,.pl0{padding-left:0}.pls{padding-left:10px}.plm{padding-left:20px}.pll{padding-left:40px}@media (min-width:1025px){.large-hidden{display:none !important}.large-visible{display:block !important}.large-no-float{float:none}.large-inbl{display:inline-block;float:none;vertical-align:top}.large-row{display:table;table-layout:fixed;width:100% !important}.large-col{display:table-cell;vertical-align:top}.large-w25{width:25% !important}.large-w33{width:33.3333% !important}.large-w50{width:50% !important}.large-w66{width:66.6666% !important}.large-w75{width:75% !important}.large-w100,.large-wauto{display:block !important;float:none !important;clear:none !important;width:auto !important;margin-left:0 !important;margin-right:0 !important;border:0}.large-man{margin:0 !important}}@media (min-width:769px) and (max-width:1024px){.medium-hidden{display:none !important}.medium-visible{display:block !important}.medium-no-float{float:none}.medium-inbl{display:inline-block;float:none;vertical-align:top}.medium-row{display:table;table-layout:fixed;width:100% !important}.medium-col{display:table-cell;vertical-align:top}.medium-w25{width:25% !important}.medium-w33{width:33.3333% !important}.medium-w50{width:50% !important}.medium-w66{width:66.6666% !important}.medium-w75{width:75% !important}.medium-w100,.medium-wauto{display:block !important;float:none !important;clear:none !important;width:auto !important;margin-left:0 !important;margin-right:0 !important;border:0}.medium-man,.medium-ma0{margin:0 !important}}@media (min-width:481px) and (max-width:768px){.w600p,.w700p,.w800p,.w960p,.mw960p{width:auto;float:none}.small-hidden{display:none !important}.small-visible{display:block !important}.small-no-float{float:none}.small-inbl{display:inline-block;float:none;vertical-align:top}.small-row{display:table !important;table-layout:fixed !important;width:100% !important}.small-col{display:table-cell !important;vertical-align:top !important}.small-w25{width:25% !important}.small-w33{width:33.3333% !important}.small-w50{width:50% !important}.small-w66{width:66.6666% !important}.small-w75{width:75% !important}.small-w100,.small-wauto{display:block !important;float:none !important;clear:none !important;width:auto !important;margin-left:0 !important;margin-right:0 !important;border:0}.small-man,.small-ma0{margin:0 !important}.small-pan,.small-pa0{padding:0 !important}.grid3>*,.grid4>*,.grid5>*,.grid6>*,.grid8>*,.grid10>*,.grid12>*{width:50%}.autogrid5>*,.autogrid6>*,.autogrid8>*,.autogrid10>*,.autogrid12>*{width:49% !important}}@media (max-width:480px){.mod,.col,fieldset{display:block !important;float:none !important;clear:none !important;width:auto !important;margin-left:0 !important;margin-right:0 !important;border:0}.w300p,.w400p,.w500p{width:auto;float:none}.row{display:block !important;width:100% !important}.tiny-hidden{display:none !important}.tiny-visible{display:block !important}.tiny-no-float{float:none}.tiny-inbl{display:inline-block;float:none;vertical-align:top}.tiny-row{display:table !important;table-layout:fixed !important;width:100% !important}.tiny-col{display:table-cell !important;vertical-align:top !important}th,td{display:block !important;width:auto !important;text-align:left !important}thead{display:none}.tiny-w25{width:25% !important}.tiny-w33{width:33.3333% !important}.tiny-w50{width:50% !important}.tiny-w66{width:66.6666% !important}.tiny-w75{width:75% !important}.tiny-w100,.tiny-wauto{display:block !important;float:none !important;clear:none !important;width:auto !important;margin-left:0 !important;margin-right:0 !important;border:0}.tiny-man,.tiny-ma0{margin:0 !important}.tiny-pan,.tiny-pa0{padding:0 !important}.grid>*>*{width:100% !important}[class*="autogrid"]>*{width:100% !important}}@media print{*{background:transparent !important;box-shadow:none !important;text-shadow:none !important}body{width:auto !important;margin:auto !important;font-family:serif;font-size:12pt;background-color:#fff !important;color:#333 !important}p,.p-like,h1,.h1-like,h2,.h2-like,h3,.h3-like,h4,.h4-like,h5,.h5-like,h6,.h6-like,blockquote,ul,ol{color:#000 !important;margin:auto !important}.print{display:block}.no-print{display:none}img{-webkit-filter:grayscale(100%);filter:grayscale(100%)}p,.p-like,blockquote{orphans:3;widows:3}blockquote,ul,ol{page-break-inside:avoid}h1,.h1-like{page-break-before:always}h1,.h1-like,h2,.h2-like,h3,.h3-like,caption{page-break-after:avoid}a{color:#000 !important;text-decoration:underline !important}a[href]:after{content:" (" attr(href) ")"}a[href^="javascript:"]:after,a[href^="#"]:after{content:""}}.skip-links{position:absolute}.skip-links a{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);padding:.5em;background:black;color:white;text-decoration:none}.skip-links a:focus{position:static;overflow:visible;clip:auto}@media (max-width:768px){div,textarea,table,td,th,code,pre,samp{word-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto}}.gm-style img{height:100%}:not(.gm-style) img{height:auto}.gm-style img,.gmnoscreen img,.gmnoprint img{max-width:none !important}code,kbd,mark{border-radius:2px}kbd{padding:0 2px;border:1px solid #999}code{padding:2px 4px;background:rgba(0,0,0,0.04);color:#b11}pre code{padding:none;background:none;color:inherit;border-radius:0}mark{padding:2px 4px;background:#ff0}sup,sub{vertical-align:0;position:relative}sup{bottom:1ex}sub{top:.5ex}blockquote{position:relative;padding-left:3em}blockquote:before{content:"\201C";position:absolute;left:0;top:0;font-family:georgia,serif;font-size:5em;line-height:.9;color:rgba(0,0,0,0.3)}blockquote>footer{margin-top:.75em;font-size:.9em;color:rgba(0,0,0,0.7)}blockquote>footer:before{content:"\2014 \0020"}q{font-style:normal}q,.q{quotes:"“\00a0" "\00a0”"}q:lang(fr),.q:lang(fr){quotes:"«\00a0" "\00a0»"}hr{display:block;clear:both;height:1px;margin:1em 0 2em;padding:0;border:0;color:#ccc;background-color:#ccc}.table-alternate{border:0}.table-alternate tbody{border:1px solid #ccc}.table-alternate thead tr>*+*{border-left:0}.table-alternate tbody tr>*+*{border-left:1px solid #ccc}.table-alternate-v{border:0;border-right:1px solid #ccc}.table-alternate-v tr>:first-child{border-bottom:0}.table-alternate-v tr>*+*{border-top:1px solid #ccc}.table-striped tbody tr:nth-child(odd){background:#eee;background:rgba(0,0,0,0.05)}.table-striped-v tr>:first-child{background:#eee;background:rgba(0,0,0,0.05)}.comment-navigation,.paging-navigation,.post-navigation{margin:0 0 1.5em;overflow:hidden}.comment-navigation .nav-previous,.paging-navigation .nav-previous,.post-navigation .nav-previous{float:left;width:50%}.comment-navigation .nav-next,.paging-navigation .nav-next,.post-navigation .nav-next{float:right;text-align:right;width:50%}.alignnone{margin:.25em 1.5em 1.5em 0}.aligncenter{clear:both;display:block;margin:1.5em auto}.alignleft{float:left;margin:0 1.5em .25em 0}.alignright{float:right;margin:0 0 .25em 1.5em}.entry-content,.comment-content{clear:both}.entry-content:after,.comment-content:after,.entry-content:before,.comment-content:before{content:"";display:table}.widget+.widget{margin:1.5em 0 0}.widget select{max-width:100%}.hentry{margin:0 0 1.5em}.page-content,.entry-content,.entry-summary{margin:1.5em 0 0}.page-links{clear:both;margin:0 0 1.5em}.comment-content a{word-wrap:break-word}img.wp-smiley{margin-bottom:0;margin-top:0;padding:0;border:none}.wp-caption{max-width:100%;margin-bottom:1.5em}.wp-caption img{display:block;margin:0 auto}.wp-caption-text{margin:1em 0;text-align:center}.gallery{margin-bottom:1.5em}.gallery-item{display:inline-block;width:100%;text-align:center;vertical-align:top}.gallery-columns-2 .gallery-item{max-width:50%}.gallery-columns-3 .gallery-item{max-width:33.33%}.gallery-columns-4 .gallery-item{max-width:25%}.gallery-columns-5 .gallery-item{max-width:20%}.gallery-columns-6 .gallery-item{max-width:16.66%}.gallery-columns-7 .gallery-item{max-width:14.28%}.gallery-columns-8 .gallery-item{max-width:12.5%}.gallery-columns-9 .gallery-item{max-width:11.11%}.gallery-caption{display:block} \ No newline at end of file diff --git a/doc/02a-layout-alignements.md b/doc/02a-layout-alignements.md index 7916e5e..18d3708 100644 --- a/doc/02a-layout-alignements.md +++ b/doc/02a-layout-alignements.md @@ -40,7 +40,23 @@ HTML : ### Centrer verticalement -HTML : +![centrer verticalement](https://raw.githubusercontent.com/raphaelgoetter/KNACSS/master/doc/illust/02-layout.png) + +Version table-cell (HTML) : +```html +
+
centré horizontalement et verticalement
+
+``` + +Version table-cell (CSS) : +```css +section { + vertical-align: middle; +} +``` + +Version flexbox (HTML): ```html
centré horizontalement et verticalement
diff --git a/less/_07-responsive.less b/less/_07-responsive.less index 1564b37..c585ec4 100644 --- a/less/_07-responsive.less +++ b/less/_07-responsive.less @@ -20,27 +20,27 @@ .large-hidden { display: none !important; } - + .large-visible { display: block !important; } - + .large-no-float { float: none; } - + .large-inbl { display: inline-block; float: none; vertical-align: top; } - + .large-row { display: table; table-layout: fixed; width: 100% !important; } - + .large-col { display: table-cell; vertical-align: top; @@ -50,23 +50,23 @@ .large-w25 { width: 25% !important; } - + .large-w33 { width: 33.3333% !important; } - + .large-w50 { width: 50% !important; } - + .large-w66 { width: 66.6666% !important; } - + .large-w75 { width: 75% !important; } - + .large-w100, .large-wauto { display: block !important; @@ -94,27 +94,27 @@ .medium-hidden { display: none !important; } - + .medium-visible { display: block !important; } - + .medium-no-float { float: none; } - + .medium-inbl { display: inline-block; float: none; vertical-align: top; } - + .medium-row { display: table; table-layout: fixed; width: 100% !important; } - + .medium-col { display: table-cell; vertical-align: top; @@ -124,23 +124,23 @@ .medium-w25 { width: 25% !important; } - + .medium-w33 { width: 33.3333% !important; } - - .medium-w50 { - width: 50% !important; + + .medium-w50 { + width: 50% !important; } - + .medium-w66 { width: 66.6666% !important; } - + .medium-w75 { width: 75% !important; } - + .medium-w100, .medium-wauto { display: block !important; @@ -164,19 +164,6 @@ /* ---------------------------------- */ @media (min-width: (@tiny-screen + 1)) and (max-width: @small-screen) { - - /* quick small resolution reset */ - .mod, - .col, - fieldset { - display: block !important; - float: none !important; - clear: none !important; - width: auto !important; - margin-left: 0 !important; - margin-right: 0 !important; - border: 0; - } /* quick reset in small resolution and less */ .w600p, @@ -192,27 +179,27 @@ .small-hidden { display: none !important; } - + .small-visible { display: block !important; } - + .small-no-float { float: none; } - + .small-inbl { display: inline-block; float: none; vertical-align: top; } - + .small-row { display: table !important; table-layout: fixed !important; width: 100% !important; } - + .small-col { display: table-cell !important; vertical-align: top !important; @@ -222,23 +209,23 @@ .small-w25 { width: 25% !important; } - + .small-w33 { width: 33.3333% !important; } - + .small-w50 { width: 50% !important; } - + .small-w66 { width: 66.6666% !important; } - + .small-w75 { width: 75% !important; } - + .small-w100, .small-wauto { display: block !important; @@ -249,18 +236,18 @@ margin-right: 0 !important; border: 0; } - + /* margins for small screens */ .small-man, .small-ma0 { margin: 0 !important; } - + .small-pan, .small-pa0 { padding: 0 !important; } - + /* grid rwd for small screens */ .grid3 > *, .grid4 > *, @@ -271,7 +258,7 @@ .grid12 > * { width: 50%; } - + /* autogrid rwd for small screens */ .autogrid5 > *, .autogrid6 > *, @@ -287,14 +274,27 @@ /* ---------------------------------- */ @media (max-width: @tiny-screen) { - + + /* quick tiny resolution reset */ + .mod, + .col, + fieldset { + display: block !important; + float: none !important; + clear: none !important; + width: auto !important; + margin-left: 0 !important; + margin-right: 0 !important; + border: 0; + } + .w300p, .w400p, .w500p { width: auto; float: none; } - + .row { display: block !important; width: 100% !important; @@ -304,39 +304,39 @@ .tiny-hidden { display: none !important; } - + .tiny-visible { display: block !important; } - + .tiny-no-float { float: none; } - + .tiny-inbl { display: inline-block; float: none; vertical-align: top; } - + .tiny-row { display: table !important; table-layout: fixed !important; width: 100% !important; } - + .tiny-col { display: table-cell !important; vertical-align: top !important; } - + th, td { display: block !important; width: auto !important; text-align: left !important; } - + thead { display: none; } @@ -345,23 +345,23 @@ .tiny-w25 { width: 25% !important; } - + .tiny-w33 { width: 33.3333% !important; } - + .tiny-w50 { width: 50% !important; } - + .tiny-w66 { width: 66.6666% !important; } - + .tiny-w75 { width: 75% !important; } - + .tiny-w100, .tiny-wauto { display: block !important; @@ -372,23 +372,23 @@ margin-right: 0 !important; border: 0; } - + /* margins for tiny screens */ .tiny-man, .tiny-ma0 { margin: 0 !important; } - + .tiny-pan, .tiny-pa0 { padding: 0 !important; } - + /* grid rwd for tiny screens */ .grid > * > * { width: 100% !important; } - + /* autogrid rwd for tiny screens */ [class*="autogrid"] > * { width: 100% !important; diff --git a/sass/_07-responsive.scss b/sass/_07-responsive.scss index c0f2c3b..3d1e778 100644 --- a/sass/_07-responsive.scss +++ b/sass/_07-responsive.scss @@ -20,15 +20,15 @@ .large-hidden { display: none !important; } - + .large-visible { display: block !important; } - + .large-no-float { float: none; } - + .large-inbl { display: inline-block; float: none; @@ -48,23 +48,23 @@ .large-w25 { width: 25% !important; } - + .large-w33 { width: 33.3333% !important; } - + .large-w50 { width: 50% !important; } - + .large-w66 { width: 66.6666% !important; } - + .large-w75 { width: 75% !important; } - + .large-w100, .large-wauto { display: block !important; @@ -93,27 +93,27 @@ .medium-hidden { display: none !important; } - + .medium-visible { display: block !important; } - + .medium-no-float { float: none; } - + .medium-inbl { display: inline-block; float: none; vertical-align: top; } - + .medium-row { display: table; table-layout: fixed; width: 100% !important; } - + .medium-col { display: table-cell; vertical-align: top; @@ -123,23 +123,23 @@ .medium-w25 { width: 25% !important; } - + .medium-w33 { width: 33.3333% !important; } - + .medium-w50 { width: 50% !important; } - + .medium-w66 { width: 66.6666% !important; } - + .medium-w75 { width: 75% !important; } - + .medium-w100, .medium-wauto { display: block !important; @@ -163,19 +163,6 @@ /* ---------------------------------- */ @media (min-width: ($tiny-screen + 1)) and (max-width: $small-screen) { - - /* quick small resolution reset */ - .mod, - .col, - fieldset { - display: block !important; - float: none !important; - clear: none !important; - width: auto !important; - margin-left: 0 !important; - margin-right: 0 !important; - border: 0; - } /* quick reset in small resolution and less */ .w600p, @@ -191,27 +178,27 @@ .small-hidden { display: none !important; } - + .small-visible { display: block !important; } - + .small-no-float { float: none; } - + .small-inbl { display: inline-block; float: none; vertical-align: top; } - + .small-row { display: table !important; table-layout: fixed !important; width: 100% !important; } - + .small-col { display: table-cell !important; vertical-align: top !important; @@ -221,23 +208,23 @@ .small-w25 { width: 25% !important; } - + .small-w33 { width: 33.3333% !important; } - + .small-w50 { width: 50% !important; } - + .small-w66 { width: 66.6666% !important; } - + .small-w75 { width: 75% !important; } - + .small-w100, .small-wauto { display: block !important; @@ -248,18 +235,18 @@ margin-right: 0 !important; border: 0; } - + /* margins for small screens */ .small-man, .small-ma0 { margin: 0 !important; } - + .small-pan, .small-pa0 { padding: 0 !important; } - + /* grid rwd for small screens */ .grid3 > *, .grid4 > *, @@ -270,7 +257,7 @@ .grid12 > * { width: 50%; } - + /* autogrid rwd for small screens */ .autogrid5 > *, .autogrid6 > *, @@ -286,14 +273,27 @@ /* ---------------------------------- */ @media (max-width: $tiny-screen) { - + + /* quick small resolution reset */ + .mod, + .col, + fieldset { + display: block !important; + float: none !important; + clear: none !important; + width: auto !important; + margin-left: 0 !important; + margin-right: 0 !important; + border: 0; + } + .w300p, .w400p, .w500p { width: auto; float: none; } - + .row { display: block !important; width: 100% !important; @@ -303,39 +303,39 @@ .tiny-hidden { display: none !important; } - + .tiny-visible { display: block !important; } - + .tiny-no-float { float: none; } - + .tiny-inbl { display: inline-block; float: none; vertical-align: top; } - + .tiny-row { display: table !important; table-layout: fixed !important; width: 100% !important; } - + .tiny-col { display: table-cell !important; vertical-align: top !important; } - + th, td { display: block !important; width: auto !important; text-align: left !important; } - + thead { display: none; } @@ -344,23 +344,23 @@ .tiny-w25 { width: 25% !important; } - + .tiny-w33 { width: 33.3333% !important; } - + .tiny-w50 { width: 50% !important; } - + .tiny-w66 { width: 66.6666% !important; } - + .tiny-w75 { width: 75% !important; } - + .tiny-w100, .tiny-wauto { display: block !important; @@ -371,23 +371,23 @@ margin-right: 0 !important; border: 0; } - + /* margins for tiny screens */ .tiny-man, .tiny-ma0 { margin: 0 !important; } - + .tiny-pan, .tiny-pa0 { padding: 0 !important; } - + /* grid rwd for tiny screens */ .grid > * > * { width: 100% !important; } - + /* autogrid rwd for tiny screens */ [class*="autogrid"] > * { width: 100% !important;