Last active
December 11, 2015 05:48
-
-
Save s-hiroshi/4554571 to your computer and use it in GitHub Desktop.
CSS > snippets > wordpress style template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @charset "utf-8"; | |
| /* | |
| Theme Name: | |
| Theme URI: | |
| Description: | |
| Tags: two-columns, left-sidebar, custom-background, custom-header, custom-menu, editor-style | |
| Author: | |
| Author URI: | |
| Version: | |
| License: GNU GPL | |
| License URI: http://www.gnu.org/licenses/gpl-2.0.html | |
| */ | |
| /* ------------------------------------------------------------------- | |
| level 1 comment | |
| ------------------------------------------------------------------- */ | |
| /* level 2 comment | |
| ---------------------------------------------------- */ | |
| /* level 3 comment */ | |
| /* ------------------------------------------------------------------- | |
| general class | |
| ------------------------------------------------------------------- */ | |
| .text-red { | |
| color: #FF0000; | |
| } | |
| .text-center { | |
| text-align: center; | |
| } | |
| .text-left { | |
| text-align: left; | |
| } | |
| .text-right { | |
| text-align: right; | |
| } | |
| .text-bold { | |
| font-weight: bold; | |
| } | |
| .text-large { | |
| font-size: 138.5%; | |
| } | |
| .float-left { | |
| float: left; | |
| } | |
| .float-right { | |
| float: right; | |
| } | |
| .float-clear { | |
| clear: both; | |
| } | |
| /* ------------------------------------------------------------------- | |
| clearfix | |
| ------------------------------------------------------------------- */ | |
| .clearfix:after { | |
| content: "."; | |
| display: block; | |
| height: 0; | |
| clear: both; | |
| visibility: hidden; | |
| } | |
| .clearfix { | |
| display: inline-table; | |
| min-height: 1%; | |
| } | |
| /* Hides from IE-mac \*/ | |
| * html .clearfix {height: 1%;} | |
| * .clearfix {display: block;} | |
| */* End hide from IE-mac */ | |
| width: 100%; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment