From 60e20fa973ae7b1fe0282ce87d1995e11d604dc5 Mon Sep 17 00:00:00 2001 From: Raphael Goetter Date: Sat, 3 May 2014 13:11:11 +0200 Subject: [PATCH] reset --- less/01-base.less | 100 +++++++++++++++------------------------------- 1 file changed, 32 insertions(+), 68 deletions(-) diff --git a/less/01-base.less b/less/01-base.less index a78e1fc..bbba584 100644 --- a/less/01-base.less +++ b/less/01-base.less @@ -39,74 +39,28 @@ video { svg:not(:root) { overflow: hidden; } -.reset { - visibility:inherit; - float:none; - clear:none; - overflow:visible; - margin:0; - padding:0; - min-width:0; - min-height:0; - max-width:none; - max-height:none; - width:auto; - height:auto; - outline:none; - border:none; - background:none; - color:inherit; - list-style-type:none; - content:normal; - vertical-align:baseline; - text-align:left; - text-decoration:none; - white-space:inherit; - font-weight:inherit; - font-style:inherit; - font-variant:inherit; - font-size:inherit; - line-height:normal; - cursor:inherit; - direction:ltr; +:rtl * { + direction: rtl; + text-align: right; } -.initial { - visibility: inherit; - float: none; - clear: none; - overflow: visible; - margin: 0; - padding: 0; - min-width: 0; - min-height: 0; - max-width: none; - max-height: none; - width: auto; - height: auto; - outline: none; - border-width: medium; - border-style: none; - border-color: #000; - background-color: transparent; - background-image: none; - background-attachment: scroll; - background-position: 0 0; - background-repeat: repeat; - color: inherit; - list-style-type: disc; - content: normal; - vertical-align: baseline; - text-align: left; - text-decoration: none; - white-space: inherit; - font-weight: inherit; - font-style: inherit; - font-variant: inherit; - font-size: inherit; - line-height: normal; - cursor: inherit; - unicode-bidi: inherit; - direction: ltr; +[hidden], +audio:not([controls]), +area, +base, +command, +datalist, +head, +input[type=hidden], +link, +menu[type=context], +meta, +param, +rp, +script, +source, +style, +title { + display: none; } /* ----------------------------- */ /* == typography */ @@ -194,7 +148,12 @@ kbd { line-height: normal; } em, -.em { +.em, +address, +cite, +dfn, +i, +var { font-style: italic; } .no-em { @@ -207,6 +166,11 @@ strong, .no-strong { font-weight: normal; } +small, +sub, +sup { + font-size: smaller; +} /* ----------------------------- */ /* == hiding content */