Skip to content

Commit

Permalink
major changes on comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank committed Jul 3, 2011
1 parent 018ea27 commit 7375f88
Show file tree
Hide file tree
Showing 3 changed files with 147 additions and 80 deletions.
34 changes: 25 additions & 9 deletions assets/css/debug.css
Original file line number Diff line number Diff line change
@@ -1,71 +1,87 @@
/*
Debugging styles: contains a baseline background image and debugging styles to help you see the structure of the markup
* Debugging styles: contains a baseline background image and debugging styles to help you see the structure of the markup
* Incompatibility:
* .debug-bg is incompatible with .debug-baseline and vice-versa
*/

/* ========================================
Debugging
Incompatible with: .debug-baseline
======================================== */
/* ============================================================> DEBUGGING STYLES */

.debug-bg {
background: rgba(255, 0, 0, 1); /* Red */
}

.debug-bg * {
background: rgba(0, 255, 0, 1); /* Green */
}

.debug-bg * * {
background: rgba(0, 0, 255, 1); /* Blue */
}

.debug-bg * * * {
background: rgba(255, 0, 0, .6); /* Red .6 */
}

.debug-bg * * * * {
background: rgba(0, 255, 0, .6); /* Green .6 */
}

.debug-bg * * * * * {
background: rgba(0, 0, 255, .6); /* Blue .6 */
}

.debug-bg * * * * * * {
background: rgba(255, 0, 0, .3); /* Red .3 */
}

.debug-bg * * * * * * * {
background: rgba(0, 255, 0, .3); /* Green .3 */
}

.debug-bg * * * * * * * * {
background: rgba(0, 0, 255, .3); /* Blue .3 */
}

/* With outlines */
.debug-outline {
outline: 2px dotted rgba(255, 0, 0, 1); /* Red */
}

.debug-outline * {
outline: 2px dotted rgba(0, 255, 0, 1); /* Green */
}

.debug-outline * * {
outline: 2px dotted rgba(0, 0, 255, 1); /* Blue */
}

.debug-outline * * * {
outline: 2px dotted rgba(255, 0, 0, .6); /* Red .6 */
}

.debug-outline * * * * {
outline: 1px solid rgba(0, 255, 0, .6); /* Green .6 */
}

.debug-outline * * * * * {
outline: 1px solid rgba(0, 0, 255, .6); /* Blue .6 */
}

.debug-outline * * * * * * {
outline: 1px solid rgba(255, 0, 0, .3); /* Red .3 */
}

.debug-outline * * * * * * * {
outline: 1px solid rgba(0, 255, 0, .3); /* Green .3 */
}

.debug-outline * * * * * * * * {
outline: 1px solid rgba(0, 0, 255, .3); /* Blue .3 */
}

/* ========================================
Baseline grid
Incompatible with: .debug-bg
======================================== */
/* ============================================================> BASELINE GRID */

.debug-baseline, .debug-baseline body {
background: url('data:image/png;base64iVBORw0KGgoAAAANSUhEUgAAAAEAAAAaCAYAAAB2BDbRAAAAEElEQVQImWNgGEhwk4XrCAAEygGsuzqErAAAAABJRU5ErkJggg==') !important;
}
Loading

0 comments on commit 7375f88

Please sign in to comment.