Skip to content

Instantly share code, notes, and snippets.

@fangcat
Last active August 29, 2015 14:04
Show Gist options
  • Save fangcat/c36c88e314382035eb57 to your computer and use it in GitHub Desktop.
Save fangcat/c36c88e314382035eb57 to your computer and use it in GitHub Desktop.
原始乾淨設定的style.css
/*
Theme Name: fangcat v1
Theme URI: http://fangcat.com/
Description: fangcat.com only
Version: 1.0
Author: fangcat
Author URI: http://fangcat.com/
Tags:
*/
/**
* Table of Contents:
*
* 1.0 - Reset
* 2.0 - WordPress Core
* 3.0 - General
* 4.0 - Basic Structure
* 5.0 - Header
* 6.0 - Navigation
* 7.0 - fgads
* 8.0 - Content
* 9.0 - Sidebar
* 10.0 - Footer
* -----------------------------------------------------------------------------
*/
/**
* 1.0 Reset
*
* http://meyerweb.com/eric/tools/css/reset/index.html
* Eric Meyer v2.0 | 20110126
*
* -----------------------------------------------------------------------------
*/
@import url('http://fonts.googleapis.com/css?family=Open+Sans:400,300');
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
/**
* 2.0 WordPress Core
* -----------------------------------------------------------------------------
*/
.alignnone {
margin: 5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
display: block;
margin: 5px auto 5px auto;
}
.alignright {
float:right;
margin: 5px 0 20px 20px;
}
.alignleft {
float: left;
margin: 5px 20px 20px 0;
}
.aligncenter {
display: block;
margin: 5px auto 5px auto;
}
a img.alignright {
float: right;
margin: 5px 0 20px 20px;
}
a img.alignnone {
margin: 5px 20px 20px 0;
}
a img.alignleft {
float: left;
margin: 5px 20px 20px 0;
}
a img.aligncenter {
display: block;
margin-left: auto;
margin-right: auto
}
.wp-caption {
background: #fff;
border: 1px solid #f0f0f0;
max-width: 96%; /* Image does not overflow the content area */
padding: 5px 3px 10px;
text-align: center;
}
.wp-caption.alignnone {
margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
margin: 5px 0 20px 20px;
}
.wp-caption img {
border: 0 none;
height: auto;
margin: 0;
max-width: 98.5%;
padding: 0;
width: auto;
}
.wp-caption p.wp-caption-text {
font-size: 11px;
line-height: 17px;
margin: 0;
padding: 0 4px 5px;
}
/**
* 3.0 General
* -----------------------------------------------------------------------------
*/
html {
overflow-y: scroll;
}
body {
background-color: #f0f0f0;
font-family: "Open Sans", "微軟正黑體", sans-serif;
}
/* Links */
a:link {
color: #be6b9e;
text-decoration:none;
}
a:visited {
color: #a35987;
text-decoration:none;
}
a:hover {
color: #999;
text-decoration:underline;
}
/* read more-寫文章時插入的more */
.more-link {
float: right;
color: #666;
padding: 7px 10px;
background: #EFEFEF;
text-decoration: none;
}
.more-link:hover {
background: #888;
color: #FFF;
}
/* Headers */
h1, h2, h3, h4, h5, h6 {
line-height: 1.3em;
font-family:"微軟正黑體","Open Sans","Times New Roman",Times,serif;
font-weight: bold;
clear: both;
}
h1{font-size: 2em; text-shadow: 2px 2px 2px #CCC;}
h2{font-size: 1.8em; text-shadow: 2px 2px 2px #CCC;}
h3{font-size: 1.6em}
h4{font-size: 1.4em}
h5{font-size: 1.2em}
h6{font-size: 1em}
/* Images */
.primary img {
background: #F3F4F5;
border: 1px solid #DEDFE0;
padding: 3px;
max-width: 100%;
height:auto;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
box-shadow: 0 0 5px rgba(0,0,0,0.1);
-moz-box-shadow: 0 0 5px rgba(0,0,0,0.1);
-webkit-box-shadow: 0 0 5px rgba(0,0,0,0.1);
}
/* Blockquote */
blockquote {
color: #767676;
font-size: 14px;
font-weight: 300;
font-style: normal;
font-family: Verdana;
margin-bottom: 1px;
line-height: 2;
background-color: #e6e6e6;
padding: 20px 20px 5px 25px;
}
/**
* 4.0 Basic Structure
* -----------------------------------------------------------------------------
*/
/**
* 5.0 Header
* -----------------------------------------------------------------------------
*/
/**
* 6.0 Navigation
* -----------------------------------------------------------------------------
*/
/**
* 7.0 Content
* -----------------------------------------------------------------------------
*/
/**
* 8.0 Sidebar
* -----------------------------------------------------------------------------
*/
/**
* 9.0 Footer
* -----------------------------------------------------------------------------
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment