-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added magnific popup lightbox to page-portfolio.php, cleaned up header styles, cleaned up footer interaction
- Loading branch information
Nuwen
committed
Aug 4, 2014
1 parent
043e1f6
commit 8202348
Showing
25 changed files
with
3,387 additions
and
1,923 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,61 @@ | ||
|
||
# Brag Sheet | ||
|
||
### An AnchorCMS theme for designers, artists, and dreamers. | ||
An AnchorCMS theme for designers, artists, and dreamers. | ||
|
||
#### Features | ||
### Features | ||
* Responsive, mobile-ready | ||
* Drawer navigation | ||
* Beautiful preset palettes | ||
* Alerts & calls to action | ||
* Sophisticated hover effects | ||
* Rich typography & icon fonts (Icomoo) | ||
* Mixitup gallery for art, photos, and your wildest visuals: https://mixitup.kunkalabs.com/ | ||
* Publish to social media | ||
* Unobtrusive sticky footer | ||
* Joyous UX! | ||
|
||
|
||
#### Extra slaw | ||
### Extra slaw | ||
* Sass | ||
* Bourbon & Neat | ||
* Please.JS - a color generator based on the golden ratio | ||
* MixItUp jQuery plugin | ||
|
||
#### Upcoming - pending Anchor 1.0 release | ||
### Upcoming - pending Anchor 1.0 release | ||
* Plugin support | ||
* Pleasing custom palette-picker: http://www.checkman.io/please/ | ||
* Per-page & per-article custom fields | ||
* More page templates/components: price tables, accordion, forms | ||
|
||
#### To-do | ||
* Better documentation | ||
* Make SCSS sheets modular, so extra styles aren't being loaded unnecessarily | ||
|
||
#### Installation | ||
##### Requires: | ||
* Anchor CMS installation: http://anchorcms.com/docs/getting-started/installing | ||
* Sass 3.3.* | ||
* Bourbon 3.2.* | ||
* Neat 1.5.* | ||
#### Requires: | ||
1. Anchor CMS 0.9 [Install Anchor CMS](http://anchorcms.com/docs/getting-started/installing "Anchor CMS - simple, lightweight blod system") | ||
2. Sass 3.3.* [Install Sass](http://sass-lang.com/install "SASS - CSS with superpowers") | ||
3. Bourbon 3.2.* [Install Bourbon](http://bourbon.io "A mixin library for Sass") | ||
4. Neat 1.5.* [Install Neat](http://neat.bourbon.io "A semantic grid framework") | ||
* jQuery (included in header.php) | ||
* jQuery.mixitup (portfolio.php grid) | ||
* jQuery.cookie (saves alert dismiss state, might do more stuff in the future) | ||
* jQuery.cookie (saves alert dismiss state, might do more stuff in the future | ||
|
||
|
||
#### Usage | ||
* Icon fonts by IcoMoon: include class="icon-x" with element | ||
* screen.scss -> screen.css // Contains global styles, grid system, variables, and mixins | ||
* page-$name.scss -> page-$name.css // Modular styles for page templates; e.g. page-about.css contains all styles for page-about.php | ||
* _variables.scss // Contains style variables. Variable names describe styled element e.g. $comment-color, $comment-color-focus, $link, $link-hover. | ||
* Drawer navigation requires all content to be nested between '''<main> ''' tags, which open in header.php and close in footer.php. | ||
* Call to action styles are located in _footer.scss & footer.php | ||
* To swap between preset color palettes... | ||
#### Installation | ||
1. After verifying that your Anchor CMS instance is working, download & unzip to `anchor-install-path/themes/` | ||
2. Log into Anchor CMS admin panel, Extend, Appearance section, set Current Theme to Brag Sheet. | ||
3. Create site variables & custom fields | ||
1. In the Extend section, select Custom Field. Create a new field with the following options: | ||
Type: post | ||
Field: image | ||
Unique Key: thumbnail | ||
Label: Your choice - I suggest article thumbnail 200x200 | ||
File types: .png, .gif, .jpg | ||
Image max width: 200 | ||
Image max height: 200 | ||
|
||
### Usage | ||
1. Icon fonts by [IcoMoon](https://icomoon.io "Icomoon") | ||
1. Download & unzip to brag-sheet/fonts | ||
2. Add includes styles.css to _icons.scss | ||
3. Declare `class="icon-name"` on element in HTML or `content: "\symbol-code"` in SASS. | ||
4. I recommend adding your icons in addition to mine (rather than substituting) if you're not sure what you're doing. | ||
2. `screen.scss` contains global imports & styles, which are written to `screen.css` | ||
3. `page-$name.scss` is the convention for page templates; e.g. page-about.css contains all styles for page-about.php | ||
4 `_variables.scss` contains style variables. Variable names usually describe styled element e.g. $comment-color, $comment-color-focus, $link, $link-hover. | ||
5. Drawer navigation requires all content to be nested between `<main></main>` tags, which open in header.php and close in footer.php. | ||
6. Call to action styles are located in _footer.scss & footer.php. Drawer & header styles can be found in _header.scss (although some related markup unexpectedly lives in footer.php, rather than header.php) | ||
7. `posts.scss` & `posts.php` control the blog roll, likewise `article.scss` & `article.php` control individual post views. |
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
Oops, something went wrong.