123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138 |
- @charset "utf-8";
- /*
- * @file: 重置样式
- * @update: 2015-06-03 17:28:19
- */
- body {
- font: #{$base-font-size}/#{$base-line-height} $base-font-family;
- color: $base-text-color;
- background-color: $base-bg-color;
- }
- a {
- text-decoration: none;
- color: nth($base-link-color, 1);
- &:hover {
- text-decoration: $base-link-decoration;
- color: nth($base-link-color, 2);
- }
- }
- /* 去除现代浏览器图片底部的空隙 */
- img {
- vertical-align: top;
- }
- em {
- font-style: normal;
- }
- ol,
- ul,
- menu {
- list-style: none outside none;
- }
- fieldset,
- iframe {
- border: 0 none;
- }
- dl,
- dt,
- dd,
- ul,
- ol,
- li,
- h1,
- h2,
- h3,
- h4,
- h5,
- h6,
- pre,
- code,
- form,
- fieldset,
- legend,
- input,
- button,
- textarea,
- p,
- blockquote,
- th,
- td,
- hr,
- article,
- aside,
- canvas,
- details,
- embed,
- figure,
- figcaption,
- footer,
- header,
- hgroup,
- menu,
- nav,
- output,
- ruby,
- section,
- summary,
- time,
- mark,
- audio,
- video {
- margin: 0;
- padding: 0;
- }
- /* IE6 7 8(q) bug 显示为行内表现 */
- iframe {
- display: block;
- }
- /* IE bug fixed: th 不继承 text-align */
- th {
- text-align: inherit;
- }
- /* 修正表单元素不继承父级字体族的问题 */
- input,
- button,
- select,
- textarea {
- font-family: Tahoma, Arial, "Helvetica Neue", Helvetica, sans-serif;
- }
- /**
- * 移除 IE6-11 中默认的垂直滚动条
- * 禁止水平拖动,防止破坏布局
- */
- textarea {
- @include resizable(vertical);
- }
- /* 一致的 del 样式 */
- del {
- text-decoration: line-through;
- }
- abbr {
- cursor: help;
- }
- /* 以下为排版样式 */
- hr {
- height: 10px;
- margin-bottom: .8em;
- border: 0;
- border-bottom: 1px solid #cfcfcf;
- }
- blockquote {
- position: relative;
- padding: 0 15px;
- margin: 15px 0;
- border-left: 4px solid #ddd;
- color: #999;
- }
|