Last active
April 29, 2021 02:15
-
-
Save brennanbrown/5cd1879319df025dd31fce89e391c723 to your computer and use it in GitHub Desktop.
A template for CSS organization for future projects.
This file contains 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
/* ! BRENJOUR ! */ | |
/* DOCUMENT INFORMATION | |
- Document: Brenjour Theme | |
- Version: 0.0.1 | |
- Author: Brennan K. Brown | |
- Date: April 30th, 2020 | |
*/ | |
/* What a god send: | |
https://perishablepress.com/obsessive-css-code-formatting-organization-comments-and-signatures/ */ | |
/* CSS DIRECTORY | |
1. =GLOBAL | |
2. =TYPOGRAPHY | |
3. =ACCESSIBILITY | |
4. =MEDIA | |
5. =HEADER | |
6. =NAVIGATION | |
7. =SEARCH | |
8. =BREADCRUMBS | |
9. =SIDEBAR | |
10. =CONTENT | |
11. =FOOTER | |
12. =COMMENTS | |
13. =ADS | |
14. =ETC. | |
*/ | |
/* HACK DIRECTORY | |
% box model hack | |
$ targets safari | |
& clearfix hack | |
? targets IE 7 | |
*/ | |
/* COLORS | |
- default body text #ffffcc | |
- subtitle h2 text #ff9900 | |
- form input borders #cc9933 | |
- default p text #f0f0f0 | |
- pre borders #ffff99 | |
*/ | |
/* FONTS | |
- default body text Arial, Helvetica Neue, Helvetica, sans-serif | |
- subtitle h2 text Garamond, Hoefler Text, Times New Roman, Times, serif | |
- form input text Cambria, Georgia, Times, Times New Roman, Times, serif | |
- default p text Copperplate Light, Copperplate Gothic Light, serif | |
- pre and code Consolas, Lucida Console, Monaco, monospace | |
*/ | |
/* | |
global settings (resets, scrollbars, etc.) | |
primary layout structure (body, primary divs) | |
secondary layout structure (header, footer, sidebar) | |
tertiary layout structure (page regions, floats) | |
text-related treatments (headings, paragraphs, lists) | |
images, links, and other salient features (pre, code) | |
general styles (forms, tables, buttons, acronyms et al) | |
general classes (.clear, .center, .right, .left, etc.) | |
miscellaneous stuff and template code | |
*/ | |
/* ==[ 1. GLOBAL SETTINGS ]== */ | |
/* ==[ 2. TYPOGRAPHY ]== */ | |
/* ==[ 3. ACCESSIBILITY ]== */ | |
/* ==[ 4. MEDIA ]== */ | |
/* ==[ 5. HEADER ]== */ | |
/* ==[ 6. NAVIGATION ]== */ | |
/* ==[ 7. SEARCH ]== */ | |
/* ==[ 8. BREADCRUMBS ]== */ | |
/* ==[ 9. SIDEBAR ]== */ | |
/* ==[ 10. CONTENT ]== */ | |
/* ==[ 11. FOOTER ]== */ | |
/* ==[ 12. COMMENTS ]== */ | |
/* ==[ 13. ADS ]== */ | |
/* ==[ 14. ETC. ]== */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment