├── documentation ├── sencss.png ├── baseline.gif └── index.html ├── MIT-LICENSE ├── README.textile ├── minified ├── sen.extra.min.css ├── sen.min.css └── sen.full.min.css ├── source ├── sen.extra.css └── sen.css └── index.html /documentation/sencss.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kilian/sencss/HEAD/documentation/sencss.png -------------------------------------------------------------------------------- /documentation/baseline.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kilian/sencss/HEAD/documentation/baseline.gif -------------------------------------------------------------------------------- /MIT-LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2008 - 2010 Kilian Valkhof 2 | 3 | Permission is hereby granted, free of charge, to any person 4 | obtaining a copy of this software and associated documentation 5 | files (the "Software"), to deal in the Software without 6 | restriction, including without limitation the rights to use, 7 | copy, modify, merge, publish, distribute, sublicense, and/or sell 8 | copies of the Software, and to permit persons to whom the 9 | Software is furnished to do so, subject to the following 10 | conditions: 11 | 12 | The above copyright notice and this permission notice shall be 13 | included in all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 16 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 17 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 18 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 19 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 20 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 21 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 | OTHER DEALINGS IN THE SOFTWARE. 23 | 24 | -------------------------------------------------------------------------------- /README.textile: -------------------------------------------------------------------------------- 1 | h2. SenCSS - A Sensible Standards CSS baseline 2 | 3 | SenCSs stands for Sensible Standards CSS baseline, (pronounced "sense"). It supplies sensible styling for all repetitive parts of your CSS, and doesn't force a lay-out system on you. This allows you to focus on actually developing your website's style. 4 | 5 | h3. What SenCSs is and is not 6 | 7 | For one, SenCSs isn’t a framework like other CSS frameworks. 8 | 9 | It doesn't include a layout system littered with silly classes and pre-set grids, so what does SenCSs do for you? SenCSs does everything else: baseline, fonts, paddings, margins, tables, lists, headers, blockquotes, forms and more. All the stuff that's almost the same in every project, but that you keep writing again and again …and again. *SenCSs handles that for you. _And nothing more_.* 10 | 11 | h3. What does SenCSs do for you? 12 | * Stays close to the browsers base styling, but adding some sense to it 13 | * Sets a vertical rhythm for all elements (18px baseline) 14 | * Sets a common typographic standard across browsers 15 | * Has fonts specified for windows, mac and linux 16 | * Is optimised, meaning no “double resets”, to make the CSS as efficient as possible 17 | 18 | h3. What does SenCSs not do? 19 | * Force a lay-out system on you 20 | * Sneak in unsemantic classes 21 | 22 | Visit "sencss.kilianvalkhof.com":htpp://sencss.kilianvalkhof.com for documentation 23 | 24 | -------------------------------------------------------------------------------- /minified/sen.extra.min.css: -------------------------------------------------------------------------------- 1 | @charset "utf-8"; 2 | /** 3 | * Sen.extra.CSS - Sensible Standards CSS framework extra's 4 | * 5 | * Copyright (c) 2008-2009 Kilian Valkhof (kilianvalkhof.com) 6 | * Visit sencss.kilianvalkhof.com for more information and changelogs. 7 | * Licensed under the MIT license. http://www.opensource.org/licenses/mit-license.php 8 | * 9 | */ 10 | .amp{font-family:Baskerville, "Goudy Old Style", Palatino, "Book Antiqua", "URW Chancery L", Gentium, serif;font-style:italic} 11 | .quo{font-family:Georgia, Gentium, "Times New Roman", Times, serif} 12 | .lquo{font-family:Georgia, Gentium, "Times New Roman", Times, serif;margin:0 0 0 -.55em} 13 | .introParagraphArticle:first-letter{float:left;font-size:3.2em;font-weight:700;line-height:1em;margin:0 0 -.2em;padding:.125em .1em 0 0} 14 | .message{background:#eee;border:1px solid #999;margin:1.5em;padding:.666em} 15 | .error{background:#fee;border:1px solid red;margin:1.5em;padding:.666em} 16 | .notice{background:#eef;border:1px solid #00f;margin:1.5em;padding:.666em} 17 | .success{background:#efe;border:1px solid #0f0;margin:1.5em;padding:.666em} 18 | .warning{background:#ffe;border:1px solid #ff0;margin:1.5em;padding:.666em} 19 | .aside-left{clear:left;float:left;overflow:hidden;margin:0 1.5em 1.5em 0} 20 | .aside-right{clear:right;float:right;overflow:hidden;margin:0 0 1.5em 1.5em} 21 | .horizontalForm button{clear:left;float:left;margin:.25em 0 0} 22 | .horizontalForm input,.horizontalForm textarea{float:left;width:49%;margin:0 0 .8em} 23 | .horizontalForm select{float:left;_margin:0 0 1.25em;margin:0 0 .75em} 24 | .horizontalForm label{clear:left;float:left;width:49%;padding:.375em 0} 25 | .horizontalForm label input{height:1em;line-height:1.5em;width:auto;margin:.25em .5em 0 0} 26 | .horizontalForm label.singleLine{clear:both;float:none;height:1.5em;width:100%;padding:0} 27 | 28 | -------------------------------------------------------------------------------- /source/sen.extra.css: -------------------------------------------------------------------------------- 1 | @charset "utf-8"; 2 | /** 3 | * Sen.extra.CSS - Sensible Standards CSS framework extra's 4 | * 5 | * Copyright (c) 2008-2010 Kilian Valkhof (kilianvalkhof.com) 6 | * Visit sencss.kilianvalkhof.com for more information and changelogs. 7 | * Licensed under the MIT license. http://www.opensource.org/licenses/mit-license.php 8 | * 9 | */ 10 | /* Typography classes 11 | */ 12 | .amp{ 13 | font-family:Baskerville, "Goudy Old Style", Palatino, "Book Antiqua", "URW Chancery L", Gentium, serif; 14 | font-style:italic; 15 | } 16 | .quo{ 17 | font-family:Georgia, Gentium, "Times New Roman", Times, serif; 18 | } 19 | .lquo{ 20 | font-family:Georgia, Gentium, "Times New Roman", Times, serif; 21 | margin:0 0 0 -0.55em; 22 | } 23 | .introParagraphArticle:first-letter{ 24 | float:left; 25 | font-size:3.2em; 26 | font-weight:700; 27 | line-height:1em; 28 | margin:0 0 -0.2em; 29 | padding:0.125em 0.1em 0 0; 30 | } 31 | /* Messageboxes and aside styles 32 | */ 33 | .message{ 34 | background:#eee; 35 | border:1px solid #999; 36 | margin:1.5em; 37 | padding:0.666em; 38 | } 39 | .error{ 40 | background:#fee; 41 | border:1px solid red; 42 | margin:1.5em; 43 | padding:0.666em; 44 | } 45 | .notice{ 46 | background:#eef; 47 | border:1px solid #00f; 48 | margin:1.5em; 49 | padding:0.666em; 50 | } 51 | .success{ 52 | background:#efe; 53 | border:1px solid #0f0; 54 | margin:1.5em; 55 | padding:0.666em; 56 | } 57 | .warning{ 58 | background:#ffe; 59 | border:1px solid #ff0; 60 | margin:1.5em; 61 | padding:0.666em; 62 | } 63 | .aside-left{ 64 | clear:left; 65 | float:left; 66 | margin:0 1.5em 1.5em 0; 67 | overflow:hidden; 68 | } 69 | .aside-right{ 70 | clear:right; 71 | float:right; 72 | margin:0 0 1.5em 1.5em; 73 | overflow:hidden; 74 | } 75 | /* horizontal form settings 76 | */ 77 | .horizontalForm button{ 78 | clear:left; 79 | float:left; 80 | margin:0.25em 0 0; 81 | } 82 | .horizontalForm input,.horizontalForm textarea{ 83 | float:left; 84 | margin:0 0 0.75em; 85 | *margin:0 0 0.8em; 86 | width:49%; 87 | } 88 | .horizontalForm select{ 89 | float:left; 90 | margin:0 0 0.75em; 91 | _margin:0 0 1.25em; 92 | width:49%; 93 | } 94 | .horizontalForm label{ 95 | clear:left; 96 | float:left; 97 | padding:0.375em 0; 98 | width:49%; 99 | } 100 | .horizontalForm label input{ 101 | height:1em; 102 | line-height:1.5em; 103 | margin:0.25em 0.5em 0 0; 104 | width:auto; 105 | } 106 | .horizontalForm label.singleLine{ 107 | clear:both; 108 | float:none; 109 | height:1.5em; 110 | padding:0; 111 | width:100%; 112 | } 113 | 114 | -------------------------------------------------------------------------------- /minified/sen.min.css: -------------------------------------------------------------------------------- 1 | @charset utf-8; 2 | /** 3 | * SenCSS - Sensible Standards CSS framework 4 | * 5 | * Copyright (c) 2008-2009 Kilian Valkhof (kilianvalkhof.com) 6 | * Visit sencss.kilianvalkhof.com for more information and changelogs. 7 | * Licensed under the MIT license. http://www.opensource.org/licenses/mit-license.php 8 | * 9 | */ 10 | html,body,div,span,object,iframe,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,var,fieldset,form,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,dialog,figure,footer,header,hgroup,menu,nav,section,time,mark,audio,video{vertical-align:baseline;margin:0;padding:0} 11 | article,aside,dialog,figure,footer,header,hgroup,menu,nav,section,time,mark,audio,video {display:block} 12 | body{background:#fff;color:#000;font:75%/1.5em Arial, Helvetica, "DejaVu Sans", "Liberation sans", "Bitstream Vera Sans", sans-serif;position:relative} 13 | textarea{font:101%/1.5em Arial, Helvetica, "DejaVu Sans", "Liberation sans", "Bitstream Vera Sans", sans-serif;border:1px solid #ccc;border-bottom-color:#eee;border-right-color:#eee;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-ms-box-sizing:border-box;width:100%;margin:0;padding:.29em 0} 14 | blockquote,q{quotes:none} 15 | blockquote:before,blockquote:after,q:before,q:after{content:none} 16 | :focus{outline:none} 17 | a{text-decoration:underline;border:0} 18 | a:hover,a:focus{text-decoration:none} 19 | a img{border:0} 20 | abbr,acronym{border-bottom:1px dotted;cursor:help;font-variant:small-caps} 21 | address,cite,em,i{font-style:italic} 22 | blockquote p{margin:0 1.5em 1.5em;padding:.75em} 23 | code,kbd,tt{font-family:"Courier New", Courier, monospace, serif;line-height:1.5} 24 | del{text-decoration:line-through} 25 | dfn{border-bottom:1px dashed;font-style:italic} 26 | dl{margin:0 0 1.5em} 27 | dd{margin-left:1.5em} 28 | h1,h2,h3,h4,h5,h6{font-weight:700;padding:0} 29 | h1{font-size:2em;margin:0 0 .75em} 30 | h2{font-size:1.5em;margin:0 0 1em} 31 | h3{font-size:1.1666em;margin:0 0 1.286em} 32 | h4{font-size:1em;margin:0 0 1.5em} 33 | h5{font-size:.8333em;margin:0 0 1.8em} 34 | h6{font-size:.666em;margin:0 0 2.25em} 35 | img{display:inline-block;vertical-align:text-bottom} 36 | ins{text-decoration:overline} 37 | mark{background-color:#ff9;color:#000;font-style:italic;font-weight:700} 38 | ol{list-style:outside decimal} 39 | p{font-weight:300;margin:0 0 1.5em} 40 | pre{font-family:"Courier New", Courier, monospace, serif;margin:0 0 1.5em} 41 | sub{top:.4em;font-size:.85em;line-height:1;position:relative;vertical-align:baseline} 42 | sup{font-size:.85em;line-height:1;position:relative;bottom:.5em;vertical-align:baseline} 43 | ul{list-style:outside disc} 44 | ul,ol{margin:0 0 1.5em 1.5em;padding:0} 45 | li ul,li ol{margin:0 0 1.5em 1.5em;padding:0} 46 | table{border-collapse:collapse;border-spacing:0;margin:0 0 1.5em;padding:0} 47 | caption{font-style:italic;text-align:left} 48 | tr.alt td{background:#eee} 49 | td{border:1px solid #000;vertical-align:middle;padding:.333em} 50 | th{font-weight:700;vertical-align:middle;padding:.333em} 51 | button{cursor:pointer;display:block;font-size:1em;height:2em;line-height:1.5em;margin:1.75em 0 0;padding:0 .5em} 52 | button::-moz-focus-inner{border:0} 53 | fieldset{border:0;position:relative;margin:0 0 1.5em;padding:1.5em 0 0} 54 | fieldset fieldset{clear:both;margin:0 0 1.5em;padding:0 0 0 1.5em} 55 | input{border:1px solid #ccc;border-bottom-color:#eee;border-right-color:#eee;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-ms-box-sizing:border-box;font-size:12px;height:1.5em;line-height:1.5em;width:100%;margin:0 0 .75em;padding:.29em 0} 56 | input[type=file]{height:2.25em;padding:0} 57 | select{border:1px solid #ccc;border-bottom-color:#eee;border-right-color:#eee;font-size:1em;height:2.25em;_margin:0 0 1.3em;margin:0 0 .8em;padding:.2em 0 0} 58 | optgroup{font-weight:700;font-style:normal;text-indent:.2em} 59 | optgroup + optgroup{margin-top:1em} 60 | option{font-size:1em;height:1.5em;text-indent:1em;padding:0} 61 | label{cursor:pointer;display:block;height:auto;line-height:1.4em;width:100%;margin:0;padding:0} 62 | label input{background:0;border:0;height:1.5em;line-height:1.5em;width:auto;margin:0 .5em 0 0;padding:0} 63 | legend{font-size:1.1666em;font-weight:700;left:0;margin:0;padding:0} 64 | dt,strong,b{font-weight:700} 65 | 66 | -------------------------------------------------------------------------------- /minified/sen.full.min.css: -------------------------------------------------------------------------------- 1 | @charset utf-8; 2 | /** 3 | * SenCSS - Sensible Standards CSS framework 4 | * 5 | * Copyright (c) 2008-2009 Kilian Valkhof (kilianvalkhof.com) 6 | * Visit sencss.kilianvalkhof.com for more information and changelogs. 7 | * Licensed under the MIT license. http://www.opensource.org/licenses/mit-license.php 8 | * 9 | */ 10 | html,body,div,span,object,iframe,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,var,fieldset,form,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,dialog,figure,footer,header,hgroup,menu,nav,section,time,mark,audio,video{vertical-align:baseline;margin:0;padding:0} 11 | article,aside,dialog,figure,footer,header,hgroup,menu,nav,section,time,mark,audio,video {display:block} 12 | body{background:#fff;color:#000;font:75%/1.5em Arial, Helvetica, "DejaVu Sans", "Liberation sans", "Bitstream Vera Sans", sans-serif;position:relative} 13 | textarea{font:101%/1.5em Arial, Helvetica, "DejaVu Sans", "Liberation sans", "Bitstream Vera Sans", sans-serif;border:1px solid #ccc;border-bottom-color:#eee;border-right-color:#eee;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-ms-box-sizing:border-box;width:100%;margin:0;padding:.29em 0} 14 | blockquote,q{quotes:none} 15 | blockquote:before,blockquote:after,q:before,q:after{content:none} 16 | :focus{outline:none} 17 | a{text-decoration:underline;border:0} 18 | a:hover,a:focus{text-decoration:none} 19 | a img{border:0} 20 | abbr,acronym{border-bottom:1px dotted;cursor:help;font-variant:small-caps} 21 | address,cite,em,i{font-style:italic} 22 | blockquote p{margin:0 1.5em 1.5em;padding:.75em} 23 | code,kbd,tt{font-family:"Courier New", Courier, monospace, serif;line-height:1.5} 24 | del{text-decoration:line-through} 25 | dfn{border-bottom:1px dashed;font-style:italic} 26 | dl{margin:0 0 1.5em} 27 | dd{margin-left:1.5em} 28 | h1,h2,h3,h4,h5,h6{font-weight:700;padding:0} 29 | h1{font-size:2em;margin:0 0 .75em} 30 | h2{font-size:1.5em;margin:0 0 1em} 31 | h3{font-size:1.1666em;margin:0 0 1.286em} 32 | h4{font-size:1em;margin:0 0 1.5em} 33 | h5{font-size:.8333em;margin:0 0 1.8em} 34 | h6{font-size:.666em;margin:0 0 2.25em} 35 | img{display:inline-block;vertical-align:text-bottom} 36 | ins{text-decoration:overline} 37 | mark{background-color:#ff9;color:#000;font-style:italic;font-weight:700} 38 | ol{list-style:outside decimal} 39 | p{font-weight:300;margin:0 0 1.5em} 40 | pre{font-family:"Courier New", Courier, monospace, serif;margin:0 0 1.5em} 41 | sub{top:.4em;font-size:.85em;line-height:1;position:relative;vertical-align:baseline} 42 | sup{font-size:.85em;line-height:1;position:relative;bottom:.5em;vertical-align:baseline} 43 | ul{list-style:outside disc} 44 | ul,ol{margin:0 0 1.5em 1.5em;padding:0} 45 | li ul,li ol{margin:0 0 1.5em 1.5em;padding:0} 46 | table{border-collapse:collapse;border-spacing:0;margin:0 0 1.5em;padding:0} 47 | caption{font-style:italic;text-align:left} 48 | tr.alt td{background:#eee} 49 | td{border:1px solid #000;vertical-align:middle;padding:.333em} 50 | th{font-weight:700;vertical-align:middle;padding:.333em} 51 | button{cursor:pointer;display:block;font-size:1em;height:2em;line-height:1.5em;margin:1.75em 0 0;padding:0 .5em} 52 | button::-moz-focus-inner{border:0} 53 | fieldset{border:0;position:relative;margin:0 0 1.5em;padding:1.5em 0 0} 54 | fieldset fieldset{clear:both;margin:0 0 1.5em;padding:0 0 0 1.5em} 55 | input{border:1px solid #ccc;border-bottom-color:#eee;border-right-color:#eee;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-ms-box-sizing:border-box;font-size:1em;height:1.5em;line-height:1.5em;width:100%;margin:0 0 .75em;padding:.29em 0} 56 | input[type=file]{height:2.25em;padding:0} 57 | select{border:1px solid #ccc;border-bottom-color:#eee;border-right-color:#eee;font-size:1em;height:2.25em;_margin:0 0 1.3em;margin:0 0 .8em;padding:.2em 0 0} 58 | optgroup{font-weight:700;font-style:normal;text-indent:.2em} 59 | optgroup + optgroup{margin-top:1em} 60 | option{font-size:1em;height:1.5em;text-indent:1em;padding:0} 61 | label{cursor:pointer;display:block;height:auto;line-height:1.4em;width:100%;margin:0;padding:0} 62 | label input{background:0;border:0;height:1.5em;line-height:1.5em;width:auto;margin:0 .5em 0 0;padding:0} 63 | legend{font-size:1.1666em;font-weight:700;left:0;margin:0;padding:0} 64 | dt,strong,b{font-weight:700} 65 | .amp{font-family:Baskerville, "Goudy Old Style", Palatino, "Book Antiqua", "URW Chancery L", Gentium, serif;font-style:italic} 66 | .quo{font-family:Georgia, Gentium, "Times New Roman", Times, serif} 67 | .lquo{font-family:Georgia, Gentium, "Times New Roman", Times, serif;margin:0 0 0 -.55em} 68 | .introParagraphArticle:first-letter{float:left;font-size:3.2em;font-weight:700;line-height:1em;margin:0 0 -.2em;padding:.125em .1em 0 0} 69 | .message{background:#eee;border:1px solid #999;margin:1.5em;padding:.666em} 70 | .error{background:#fee;border:1px solid red;margin:1.5em;padding:.666em} 71 | .notice{background:#eef;border:1px solid #00f;margin:1.5em;padding:.666em} 72 | .success{background:#efe;border:1px solid #0f0;margin:1.5em;padding:.666em} 73 | .warning{background:#ffe;border:1px solid #ff0;margin:1.5em;padding:.666em} 74 | .aside-left{clear:left;float:left;overflow:hidden;margin:0 1.5em 1.5em 0} 75 | .aside-right{clear:right;float:right;overflow:hidden;margin:0 0 1.5em 1.5em} 76 | .horizontalForm button{clear:left;float:left;margin:.25em 0 0} 77 | .horizontalForm input,.horizontalForm textarea{float:left;width:49%;margin:0 0 .8em} 78 | .horizontalForm select{float:left;_margin:0 0 1.25em;margin:0 0 .75em} 79 | .horizontalForm label{clear:left;float:left;width:49%;padding:.375em 0} 80 | .horizontalForm label input{height:1em;line-height:1.5em;width:auto;margin:.25em .5em 0 0} 81 | .horizontalForm label.singleLine{clear:both;float:none;height:1.5em;width:100%;padding:0} 82 | 83 | -------------------------------------------------------------------------------- /source/sen.css: -------------------------------------------------------------------------------- 1 | @charset "utf-8"; 2 | /** 3 | * SenCSS - Sensible Standards CSS framework 4 | * 5 | * Copyright (c) 2008-2010 Kilian Valkhof (kilianvalkhof.com) 6 | * Visit sencss.kilianvalkhof.com for more information and changelogs. 7 | * Licensed under the MIT license. http://www.opensource.org/licenses/mit-license.php 8 | * 9 | */ 10 | html,body,div,span,object,iframe,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,var,fieldset,form,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,dialog,figure,footer,header,hgroup,menu,nav,section,time,mark,audio,video{ 11 | margin:0; 12 | padding:0; 13 | vertical-align:baseline; 14 | } 15 | article,aside,dialog,figure,footer,header,hgroup,menu,nav,section,time,mark,audio,video { 16 | display:block; 17 | } 18 | body{ 19 | background:#fff; 20 | color:#000; 21 | font:75%/1.5em Arial, Helvetica, "DejaVu Sans", "Liberation sans", "Bitstream Vera Sans", sans-serif; 22 | position:relative; 23 | } 24 | textarea{ 25 | font:101%/1.5em Arial, Helvetica, "DejaVu Sans", "Liberation sans", "Bitstream Vera Sans", sans-serif; 26 | } 27 | blockquote,q{ 28 | quotes:none; 29 | } 30 | blockquote:before,blockquote:after,q:before,q:after{ 31 | content:'';content:none; 32 | } 33 | :focus{ 34 | outline:none; 35 | } 36 | /* Baseline and common looks - Sets a vertical rhythm and styles the different elements. 37 | */ 38 | a{ 39 | text-decoration:underline; 40 | border:0; 41 | } 42 | a:hover,a:focus{ 43 | text-decoration:none; 44 | } 45 | a img{ 46 | border:0; 47 | } 48 | abbr,acronym{ 49 | border-bottom:1px dotted; 50 | cursor:help; 51 | font-variant:small-caps; 52 | } 53 | address,cite,em,i{ 54 | font-style:italic; 55 | } 56 | blockquote p{ 57 | margin:0 1.5em 1.5em; 58 | padding:0.75em; 59 | } 60 | code,kbd,tt{ 61 | font-family:"Courier New", Courier, monospace, serif; 62 | line-height:1; 63 | *line-height:1.5; 64 | } 65 | del{ 66 | text-decoration:line-through; 67 | } 68 | dfn{ 69 | border-bottom:1px dashed; 70 | font-style:italic; 71 | } 72 | dl{ 73 | margin:0 0 1.5em; 74 | } 75 | dt{ 76 | font-weight:700; 77 | } 78 | dd{ 79 | margin-left:1.5em; 80 | 81 | } 82 | h1,h2,h3,h4,h5,h6{ 83 | font-weight:700; 84 | padding:0; 85 | } 86 | h1{ 87 | font-size:2em; 88 | margin:0 0 0.75em; 89 | } 90 | h2{ 91 | font-size:1.5em; 92 | margin:0 0 1em; 93 | } 94 | h3{ 95 | font-size:1.1666em; 96 | margin:0 0 1.286em; 97 | } 98 | h4{ 99 | font-size:1em; 100 | margin:0 0 1.5em; 101 | } 102 | h5{ 103 | font-size:0.8333em; 104 | margin:0 0 1.8em; 105 | } 106 | h6{ 107 | font-size:0.666em; 108 | margin:0 0 2.25em; 109 | } 110 | img{ 111 | display:inline-block; 112 | vertical-align:text-bottom; 113 | } 114 | ins{ 115 | text-decoration:overline; 116 | } 117 | mark { 118 | background-color:#ff9; 119 | color:#000; 120 | font-style:italic; 121 | font-weight:bold; 122 | } 123 | ol{ 124 | list-style:outside decimal; 125 | } 126 | p{ 127 | font-weight:300; 128 | margin:0 0 1.5em; 129 | } 130 | pre{ 131 | font-family:"Courier New", Courier, monospace, serif; 132 | margin:0 0 1.5em; 133 | } 134 | sub{ 135 | top:0.4em; 136 | font-size:0.85em; 137 | line-height:1; 138 | position:relative; 139 | vertical-align:baseline; 140 | } 141 | sup{ 142 | font-size:0.85em; 143 | line-height:1; 144 | position:relative; 145 | bottom:0.5em; 146 | vertical-align:baseline; 147 | } 148 | strong,b{ 149 | font-weight:700; 150 | } 151 | ul{ 152 | list-style:outside disc; 153 | } 154 | ul,ol{ 155 | margin:0 0 1.5em 1.5em; 156 | padding:0; 157 | } 158 | li ul,li ol{ 159 | padding:0; 160 | margin:0 0 1.5em 1.5em; 161 | } 162 | table{ 163 | border-collapse:collapse; 164 | border-spacing:0; 165 | margin:0 0 1.5em; 166 | padding:0; 167 | } 168 | caption{ 169 | font-style:italic; 170 | text-align:left; 171 | } 172 | tr.alt td{ 173 | background:#eee; 174 | } 175 | td{ 176 | border:1px solid #000; 177 | padding:0.333em; 178 | vertical-align:middle; 179 | } 180 | th{ 181 | font-weight:700; 182 | padding:0.333em; 183 | vertical-align:middle; 184 | } 185 | button{ 186 | cursor:pointer; 187 | display:block; 188 | font-size:0.99em; 189 | height:2em; 190 | line-height:1.5em; 191 | margin:0.8em 0 0; 192 | *margin:1.75em 0 0; 193 | padding:0 0.5em; 194 | } 195 | button::-moz-focus-inner { 196 | border: 0; 197 | } 198 | fieldset{ 199 | border:0; 200 | margin:0 0 1.5em; 201 | position:relative; 202 | padding:1.5em 0 0; 203 | } 204 | fieldset fieldset{ 205 | clear:both; 206 | margin:0 0 0.75em; 207 | padding:0 0 0 1.5em; 208 | } 209 | input{ 210 | border:1px solid #ccc; 211 | border-bottom-color:#eee; 212 | border-right-color:#eee; 213 | box-sizing:border-box; 214 | -moz-box-sizing:border-box; 215 | -webkit-box-sizing:border-box; 216 | -ms-box-sizing:border-box; 217 | font-size:1em; 218 | height:2.25em; 219 | *height:1.5em; 220 | line-height:1.5em; 221 | padding:0.29em 0; 222 | width:100%; 223 | margin:0 0 0.75em; 224 | } 225 | input[type=file]{ 226 | height:2.25em; 227 | font-size:1em; 228 | padding:0; 229 | border:0; 230 | border:1px solid #ccc !ie; 231 | } 232 | textarea{ 233 | border:1px solid #ccc; 234 | border-bottom-color:#eee; 235 | border-right-color:#eee; 236 | box-sizing:border-box; 237 | -moz-box-sizing:border-box; 238 | -webkit-box-sizing:border-box; 239 | -ms-box-sizing:border-box; 240 | margin:0; 241 | padding:0.29em 0; 242 | width:100%; 243 | } 244 | select{ 245 | border:1px solid #ccc; 246 | border-bottom-color:#eee; 247 | border-right-color:#eee; 248 | font-size:1em; 249 | line-height:1.5em; 250 | margin-bottom:0.75em; 251 | padding:0.25em; 252 | height:2.25em; 253 | } 254 | optgroup { 255 | font-weight:700; 256 | font-style:normal; 257 | text-indent:0.2em; 258 | } 259 | optgroup + optgroup { 260 | margin-top:1em; 261 | } 262 | option{ 263 | font-size:1em; 264 | height:1.5em; 265 | padding:0; 266 | text-indent:1em; 267 | } 268 | label{ 269 | cursor:pointer; 270 | display:block; 271 | height:1.5em; 272 | *height:auto; 273 | *line-height:1.4em; 274 | margin:0; 275 | padding:0; 276 | width:100%; 277 | } 278 | label input{ 279 | background:0; 280 | border:0; 281 | height:1em; 282 | *height:1.5em; 283 | line-height:1.5em; 284 | margin:0 0.5em 0 0; 285 | padding:0; 286 | width:auto; 287 | } 288 | legend{ 289 | font-size:1.1666em; 290 | font-weight:700; 291 | left:0; 292 | margin:0; 293 | padding:0; 294 | } 295 | 296 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 |
SenCSs stands for Sensible Standards CSS baseline, (pronounced "sense"). 28 | It supplies sensible styling for all 29 | repetitive parts of your CSS, and doesn't force a lay-out system on you. This allows you to focus on 30 | actually developing your website's style.
31 | 32 |The example file shows all the functionality SenCSs offers.
47 |For one, SenCSs isn’t a framework like other CSS frameworks.
51 | 52 |It doesn't include a 53 | layout system littered with silly classes and pre-set grids, so what does SenCSs do for you? SenCSs does everything else: 54 | baseline, fonts, paddings, margins, tables, lists, headers, blockquotes, forms and more. 55 | All the stuff that's almost the same in every project, but that you keep writing again and again …and again. 56 | SenCSs handles that for you. And nothing more.
57 | 58 |A thank you for the people that in any way contributed, helped and gave feedback.
76 |This is the first release, so there are no changes here :)
177 | 178 |& this is the last sentence on this page, fin!
179 |
DocumentationSed scelerisque sagittis lorem. Phasellus sodales. Nulla urna justo, vehicula in, suscipit nec, 26 | molestie sed, tellus. Quisque justo. Nam libero leo, elementum in, dapibus a, suscipit vitae, 27 | purus. Duis arcu. Integer dignissim fermentum enim. Morbi convallis felis vel nibh. Sed scelerisque sagittis lorem. Phasellus sodales. Nulla urna justo, vehicula in, suscipit nec, 28 | molestie sed, tellus. Quisque justo. Nam libero leo, elementum in, dapibus a, suscipit vitae, 29 | purus. Duis arcu. Integer dignissim fermentum enim. Morbi convallis felis vel nibh. 30 | Etiam viverra augue non enim.
31 |Sed scelerisque sagittis lorem. Phasellus sodales. Nulla urna justo, vehicula in, suscipit nec, 35 | molestie sed, tellus. Quisque justo. Nam libero leo, elementum in, dapibus a, suscipit vitae, 36 | purus. Duis arcu. Integer dignissim fermentum enim. Morbi convallis felis vel nibh. 37 | Etiam viverra augue non enim.
38 |39 |44 |Blockquote: Nam libero leo, elementum in, dapibus a, suscipit vitae, purus. Duis arcu. 40 | Integer dignissim fermentum enim. Morbi convallis felis vel nibh. Sed scelerisque sagittis lorem. 41 | Phasellus sodales. Nulla urna justo, vehicula in, suscipit nec, molestie sed, tellus. Quisque justo. 42 | Nam libero leo, elementum in, dapibus a, suscipit vitae, purus.
43 |
Sed scelerisque sagittis lorem. Phasellus sodales. Nulla urna justo, vehicula in, suscipit nec, 45 | molestie sed, tellus. Quisque justo. Nam libero leo, elementum in, dapibus a, suscipit vitae, 46 | purus. Duis arcu. Integer dignissim fermentum enim. Morbi convallis felis vel nibh. 47 | Etiam viverra augue non enim.
48 |the a element
57 | the abbr element
58 | the cite element
59 | the del element
60 | the dfn element
61 | the em element
62 | the ins element
63 | the q element
64 | the span element
65 | the strong element
66 | the var element
67 | the code element
68 | the kbd element
69 | the sub element
70 | the sup element
71 | the tt element
72 |
Preformated:Testing one row 74 | and another75 |
Regular text
120 |Error! Sed scelerisque sagittis lorem. Phasellus sodales. Nulla urna justo, vehicula in, suscipit nec, 121 | molestie sed, tellus. Quisque justo.
122 |Warning! Sed scelerisque sagittis lorem. Phasellus sodales. Nulla urna justo, vehicula in, suscipit nec, 123 | molestie sed, tellus. Quisque justo.
124 |Notice! Sed scelerisque sagittis lorem. Phasellus sodales. Nulla urna justo, vehicula in, suscipit nec, 125 | molestie sed, tellus. Quisque justo.
126 |Success! Sed scelerisque sagittis lorem. Phasellus sodales. Nulla urna justo, vehicula in, suscipit nec, 127 | molestie sed, tellus. Quisque justo.
128 | 129 || 134 | | col 1 | 135 |col 2 | 136 |col 3 | 137 |col 4 | 138 |
|---|---|---|---|---|
| 143 | | col 1 | 144 |col 2 | 145 |col 3 | 146 |col 4 | 147 |
| row 1 | 152 |value 1 | 153 |value 2 | 154 |value 4 | 155 |value 5 | 156 |
| row 2 | 159 |value 1 | 160 |value 2 | 161 |value 4 | 162 |value 5 | 163 |
| row 3 | 166 |value 1 | 167 |value 2 | 168 |value 4 | 169 |value 5 | 170 |
| row 4 | 173 |value 1 | 174 |value 2 | 175 |value 4 | 176 |value 5 | 177 |
& this is the last sentence, fin!
275 |