博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
CSS Reset CSS Framework
阅读量:4609 次
发布时间:2019-06-09

本文共 6158 字,大约阅读时间需要 20 分钟。

/*

*--------------------------------------------------
*     Name:     Kingwell CSS Framework
*     Version:  1.2(June,1 2012)
*     Author:   Kingwell
*     E-mail:   jinhua.leng##gmail.com
* Copyright (c) 2012, KINGWELL. All rights reserved.
*--------------------------------------------------
*/
/*---------- CSS RESET START -----------*/
html,body{background:#FFF; color:#333; font: normal normal normal 12px/1 Arial,'宋体', Helvetica, sans-serif; margin:0; padding:0}
a,abbr,acronym,address,applet,article,b,big,blockquote,button,canvas,caption,center,cite,code,dd,del,dfn,div,dl,dt,em,embed,fieldset,font,form,h1,h2,h3,h4,h5,h6,hr,html,nav,i,iframe,img,ins,input,kbd,label,legend,li,menu,object,ol,p,pre,q,s,samp,small,span,section,strike,strong,sub,sup,table,textarea,tbody,td,tfoot,th,thead,tr,tt,u,ul,var{margin:0;padding:0; font-size:100%}
table{border-collapse:collapse; border-spacing:0}
fieldset,img{border:none}
img{vertical-align:middle; outline:none}
q:before,q:after{content:''}p{margin:10px auto}
li{list-style:none}ol{padding-left:20px}ol li{list-style-type:decimal;}
sup{vertical-align:text-top;}sub{vertical-align:text-bottom;}strong{font-weight:bold;}
h1,h2,h3,h4,h5,h6{font-size:100%; font-weight:normal}
h1{font-size:18px; font-weight:bold}
h2{font-size:16px; font-weight:bold}
h3{font-size:14px; font-weight:bold}
h4{font-size:12px;}
h5{font-size:10px;}
a:link   {color:#000;text-decoration:none;}
a:visited{color:#333;text-decoration:none;}
a:hover  {color:#00C;text-decoration:underline}
a:active {color:#333;text-decoration:none}
:focus{outline:none}
/*::-moz-selection{background:green; color:white;}*/
/*---------- CSS RESET END ----------*/
/*---------- Form Style ----------*/
form,lable{display:inline}
input,select,textarea,button{font-family:Arial, Helvetica, sans-serif}
input[type=submit],input[type=button],button,input[type=image],input[type=reset]{cursor:pointer; line-height:1}
input[type=text],input[type=password],textarea,select{border:1px solid #CCC; line-height:1; padding:5px; min-width:200px;}
input[type=text]:focus,input[type=password]:focus,textarea:focus,select:focus{background:#FFF9D9; border:1px solid orange; box-shadow:0 0 5px #CCC}/*----- Focus ------*/
input[type=radio],input[type=checkbox]{vertical-align:middle; margin-right:5px;}
textarea{min-height:60px;}
/*----- Button Style ------*/
input[type=button],input[type=reset],button{border:1px solid #AAA; padding:5px 10px; color:#333; border-radius:2px; background:-moz-linear-gradient(#FFF,#DDD); background:-webkit-gradient(linear,0% 0%,0% 100%,from(#FFF),to(#DDD));}
input[type=button]:hover,input[type=reset]:hover,button:hover{background:-moz-linear-gradient(90deg,#FFF,#DDD); background:-webkit-gradient(linear,0% 100%,0% 0%,from(#FFF),to(#DDD)); text-shadow:1px 1px 2px rgba(0,0,0,0.2)}
input[type=button]:active,input[type=reset]:active,button:active{color:gray;}
/*---------- Public Style ----------*/
div.noscript{background:#FFF9D9; border:1px solid orange; box-shadow:5px 5px 5px rgba(0,0,0,0.5); position:absolute; width:500px; left:50%; margin-left:-250px; top:100px; padding:20px; z-index:100000}
span.noscript{color:#E00; font-weight:bold; padding:5px;}
.strong{font-weight:bold}.lighter{font-weight:lighter}.gray{color:gray}
.shadow{background:white;box-shadow:0 0 2px #CCC}
.tips{color:#E00!important; _color:#E00}
.f-l{float:left}.f-r{float:right}
.clear-float{clear:both;line-height:0;height:0;overflow:hidden}
.c-l{clear:left}.c-r{clear:right}
.after:after{clear:both; content:"."; display:block; visibility:hidden; height:0; line-height:0;}
.hr{border-top:1px solid #CCC; border-bottom:1px solid #FFF; margin:5px auto;}
.block{display:block}.none{display:none}
/*-- No Margin --*/
.no-margin{margin:0!important; _margin:0}
.no-margin-top{margin-top:0!important; _margin-top:0}
.no-margin-right{margin-right:0!important; _margin-right:0}
.no-margin-bottom{margin-bottom:0!important; _margin-bottom:0}
.no-margin-left{margin-left:0!important; _margin-left:0}
.ellipsis{overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
/*-- Alert --*/
.cover{position:absolute; top:0; left:0; margin:auto; width:100%; height:100%; background:rgba(0,0,0,0.5); _background:#000; z-index:10000}
.alert-container{width:500px; position:absolute; top:50%; left:50%; margin-left:-250px; margin-top:-200px; background:#FFF; box-shadow:0 0 10px rgba(0,0,0,0.5);}
.alert-title{line-height:30px; padding:0 10px; border-bottom:1px solid #CCC; cursor:move; font-weight:bold}
.alert-content{padding:10px;}
.alert-button{margin-top:10px; text-align:right}
/*---------- Bread Crumbs ----------*/
.bread-crumbs{color:gray; margin:10px auto}
/*---------- Paging ----------*/
.paging{margin:20px auto}
.paging a{display:inline-block; _display:inline; _zoom:1; padding:5px 10px; margin:auto 3px; text-decoration:none!important; text-decoration:none; cursor:pointer; border:1px solid #AAA;  background:-moz-linear-gradient(#FFF,#EEE); background:-webkit-gradient(linear,0% 0%,0% 100%,from(#FFF),to(#EEE));}
.paging a:hover{color:#333}
.paging a.curr{background:#CCC; cursor:auto}
.paging a.dis{color:#CACACA; border:1px solid #CACACA; cursor:auto}
/*----- Percent ------*/
.per-5{width:5%;}
.per-10{width:10%;}
.per-15{width:15%;}
.per-20{width:20%;}
.per-25{width:25%;}
.per-30{width:30%;}
.per-35{width:35%;}
.per-40{width:40%;}
.per-45{width:45%;}
.per-50{width:50%;}
.per-55{width:55%;}
.per-60{width:60%;}
.per-65{width:65%;}
.per-70{width:70%;}
.per-75{width:75%;}
.per-80{width:80%;}
.per-85{width:85%;}
.per-90{width:90%;}
.per-95{width:95%;}
.per-100{width:100%;}
.per-33{width:33.3333%;}
/*-- Hack Area --*/
/*-------------------- Layout --------------------*/
#wrap{}/*--Wrap All Page --*/
#header{}
#header-container{margin:auto}
#nav{}
#nav-content{margin:auto}
#containter{}
#content{}
.left{float:left}
.right{float:right;}
.middle{clear:both}
#footer{}
#footer-container{margin:auto}
#coypright{text-align:center}
/*----- Block Structure -----*/
.block-container{}
.block-title{line-height:35px;}
.block-content{}
#logo{}
#sidebar{}
#column{}
.search{}
.regsiter{}
.hot{}
.keyword{}
.login{}
.link{}

转载于:https://www.cnblogs.com/kingwell/archive/2012/06/19/2555004.html

你可能感兴趣的文章
发现“郝茵晴”:屌丝们的社会性传播实验
查看>>
WordPress优化:为网站添加个性化缩略图标
查看>>
shell脚本分析IP归属地
查看>>
CITRIX XenAPP/TS打印管理ThinPrint.
查看>>
SQL Server以Online模式创建索引
查看>>
微软开放 .NET 框架源代码
查看>>
Jira迁移及内存调整
查看>>
Exchange Server 2010 SP2 新功能简述
查看>>
使用wxWidgets for C++从资源文件中静态装载图像
查看>>
提高数据库安全性的办法
查看>>
工作流编程循序渐进(8:状态机工作流)
查看>>
3.VMware View 4.6安装与部署-connection server(View Standard Server)
查看>>
Lync Server 2013 实战系列之六:标准版-安装和更新LyncServer 系统
查看>>
MariaDB日志审计 帮你揪出内个干坏事儿的小子
查看>>
Reporting Services目录临时数据库文件存在
查看>>
一个Windows Mobile, Windows Embedded CE工程师的找工经历(一)
查看>>
终于有了MSDN上的Blog
查看>>
PHPUnit学习03---使用Mock对象解决测试依赖
查看>>
java类型与Hadoop类型之间的转换
查看>>
允许SQL Server 2005远程连接
查看>>