CommunityID/javascript/yui/base/base.css

132 lines
2.2 KiB
CSS
Raw Normal View History

2019-07-17 20:08:50 +00:00
/*
2019-07-17 20:16:19 +00:00
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
2019-07-17 20:08:50 +00:00
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
2019-07-17 20:16:19 +00:00
version: 2.7.0
2019-07-17 20:08:50 +00:00
*/
2019-07-17 20:16:19 +00:00
/**
* YUI Base
* @module base
* @namespace yui-
* @requires reset, fonts
*/
body {
/* For breathing room between content and viewport. */
margin:10px;
}
2019-07-17 20:08:50 +00:00
h1 {
2019-07-17 20:16:19 +00:00
/* 18px via YUI Fonts CSS foundation. */
font-size: 138.5%;
2019-07-17 20:08:50 +00:00
}
2019-07-17 20:16:19 +00:00
2019-07-17 20:08:50 +00:00
h2 {
2019-07-17 20:16:19 +00:00
/* 16px via YUI Fonts CSS foundation. */
font-size: 123.1%;
2019-07-17 20:08:50 +00:00
}
2019-07-17 20:16:19 +00:00
2019-07-17 20:08:50 +00:00
h3 {
2019-07-17 20:16:19 +00:00
/* 14px via YUI Fonts CSS foundation. */
font-size: 108%;
2019-07-17 20:08:50 +00:00
}
2019-07-17 20:16:19 +00:00
2019-07-17 20:08:50 +00:00
h1,h2,h3 {
2019-07-17 20:16:19 +00:00
/* Top & bottom margin based on font size. */
margin: 1em 0;
}
h1,h2,h3,h4,h5,h6,strong,dt {
/* Bringing boldness back to headers and the strong element. */
font-weight: bold;
2019-07-17 20:08:50 +00:00
}
2019-07-17 20:16:19 +00:00
optgroup {
font-weight:normal;
2019-07-17 20:08:50 +00:00
}
2019-07-17 20:16:19 +00:00
2019-07-17 20:08:50 +00:00
abbr,acronym {
2019-07-17 20:16:19 +00:00
/* Indicating to users that more info is available. */
border-bottom: 1px dotted #000;
cursor: help;
}
2019-07-17 20:08:50 +00:00
em {
2019-07-17 20:16:19 +00:00
/* Bringing italics back to the em element. */
font-style: italic;
2019-07-17 20:08:50 +00:00
}
2019-07-17 20:16:19 +00:00
2019-07-17 20:08:50 +00:00
del {
2019-07-17 20:16:19 +00:00
/* Striking deleted phrases. */
text-decoration: line-through;
2019-07-17 20:08:50 +00:00
}
2019-07-17 20:16:19 +00:00
2019-07-17 20:08:50 +00:00
blockquote,ul,ol,dl {
2019-07-17 20:16:19 +00:00
/* Giving blockquotes and lists room to breath. */
margin: 1em;
2019-07-17 20:08:50 +00:00
}
2019-07-17 20:16:19 +00:00
2019-07-17 20:08:50 +00:00
ol,ul,dl {
2019-07-17 20:16:19 +00:00
/* Bringing lists on to the page with breathing room. */
margin-left: 2em;
2019-07-17 20:08:50 +00:00
}
2019-07-17 20:16:19 +00:00
2019-07-17 20:08:50 +00:00
ol li {
2019-07-17 20:16:19 +00:00
/* Giving OL's LIs generated numbers. */
list-style: decimal outside;
2019-07-17 20:08:50 +00:00
}
2019-07-17 20:16:19 +00:00
2019-07-17 20:08:50 +00:00
ul li {
2019-07-17 20:16:19 +00:00
/* Giving UL's LIs generated disc markers. */
2019-07-17 20:08:50 +00:00
list-style: disc outside;
}
2019-07-17 20:16:19 +00:00
2019-07-17 20:08:50 +00:00
dl dd {
2019-07-17 20:16:19 +00:00
/* Giving UL's LIs generated numbers. */
margin-left: 1em;
2019-07-17 20:08:50 +00:00
}
2019-07-17 20:16:19 +00:00
2019-07-17 20:08:50 +00:00
th,td {
2019-07-17 20:16:19 +00:00
/* Borders and padding to make the table readable. */
border: 1px solid #000;
padding: .5em;
2019-07-17 20:08:50 +00:00
}
2019-07-17 20:16:19 +00:00
2019-07-17 20:08:50 +00:00
th {
2019-07-17 20:16:19 +00:00
/* Distinguishing table headers from data cells. */
font-weight: bold;
text-align: center;
2019-07-17 20:08:50 +00:00
}
2019-07-17 20:16:19 +00:00
2019-07-17 20:08:50 +00:00
caption {
2019-07-17 20:16:19 +00:00
/* Coordinated margin to match cell's padding. */
margin-bottom: .5em;
/* Centered so it doesn't blend in to other content. */
text-align: center;
}
sup {
/* to preserve line-height and selector appearance */
vertical-align: super;
}
sub {
/* to preserve line-height and selector appearance */
vertical-align: sub;
}
p,
fieldset,
table,
pre {
/* So things don't run into each other. */
margin-bottom: 1em;
}
/* Opera requires 1px of passing to render with contemporary native chrome */
button,
input[type="checkbox"],
input[type="radio"],
input[type="reset"],
input[type="submit"] {
padding:1px;
}