Skip to content

Commit

Permalink
Update CSS comments
Browse files Browse the repository at this point in the history
  • Loading branch information
necolas committed Apr 14, 2012
1 parent 9516e82 commit d932276
Showing 1 changed file with 35 additions and 17 deletions.
52 changes: 35 additions & 17 deletions gh-buttons.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
/* ------------------------------------------
CSS3 GITHUB BUTTONS (Nicolas Gallagher)
Licensed under Unlicense
http://github.com/necolas/css3-github-buttons
------------------------------------------ */
* CSS3 GITHUB BUTTONS (Nicolas Gallagher)
* Licensed under Unlicense
* http://github.com/necolas/css3-github-buttons
* --------------------------------------- */


/* ------------------------------------------------------------------------------------------------------------- BUTTON */
/* =============================================================================
Base Button
========================================================================== */

.button {
position: relative;
Expand Down Expand Up @@ -69,7 +71,10 @@ http://github.com/necolas/css3-github-buttons
border: 0;
}

/* ............................................................................................................. Icons */

/* =============================================================================
Button icons
========================================================================== */

.button.icon:before {
content: "";
Expand Down Expand Up @@ -238,15 +243,19 @@ http://github.com/necolas/css3-github-buttons
.button.user.icon:active:before { background-position: -12px -360px; }


/* ------------------------------------------------------------------------------------------------------------- BUTTON EXTENSIONS */
/* =============================================================================
Button extensions
========================================================================== */

/* ............................................................................................................. Primary */
/* Primary button
========================================================================== */

.button.primary {
font-weight: bold;
}

/* ............................................................................................................. Danger */
/* Danger button
========================================================================== */

.button.danger {
color: #900;
Expand Down Expand Up @@ -278,19 +287,22 @@ http://github.com/necolas/css3-github-buttons
background-image: linear-gradient(#b33630, #dc5f59);
}

/* ............................................................................................................. Pill */
/* Pill button
========================================================================== */

.button.pill {
border-radius: 50em;
}

/* ............................................................................................................. Disable */
/* Disabled button
========================================================================== */

.button.disable {
opacity: 0.5;
}

/* ............................................................................................................. Big */
/* Big button
========================================================================== */

.button.big {
font-size: 14px;
Expand All @@ -301,9 +313,12 @@ http://github.com/necolas/css3-github-buttons
}


/* ------------------------------------------------------------------------------------------------------------- BUTTON GROUPS */
/* =============================================================================
Button groups
========================================================================== */

/* ............................................................................................................. Standard */
/* Standard group
========================================================================== */

.button-group {
display: inline-block;
Expand Down Expand Up @@ -351,7 +366,8 @@ http://github.com/necolas/css3-github-buttons
border-bottom-left-radius: 0;
}

/* ............................................................................................................. Minor */
/* Minor group
========================================================================== */

.button-group.minor-group .button {
border: 1px solid #d4d4d4;
Expand All @@ -374,10 +390,12 @@ http://github.com/necolas/css3-github-buttons
opacity: 0.8;
}

/* ------------------------------------------------------------------------------------------------------------- BUTTON CONTAINER */
/* For mixing buttons and button groups, e.g., in a navigation bar */
/* =============================================================================
Button container (mixing buttons and groups, e.g., nav bar)
========================================================================== */

.button-container .button,
.button-container .button-group {
vertical-align: top;
}

0 comments on commit d932276

Please sign in to comment.