more slides
This commit is contained in:
parent
ed0fe1f96e
commit
fbe5bdabc7
Binary file not shown.
BIN
assets/images/36kou7.jpg
Normal file
BIN
assets/images/36kou7.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 125 KiB |
BIN
assets/images/InceptionArch_Slusher.jpg
Normal file
BIN
assets/images/InceptionArch_Slusher.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 551 KiB |
BIN
assets/images/inception_meme.gif
Normal file
BIN
assets/images/inception_meme.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 43 B |
BIN
assets/images/susy-compass-grid-example.jpg
Normal file
BIN
assets/images/susy-compass-grid-example.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 38 KiB |
@ -1,3 +1,3 @@
|
||||
#= require attentive
|
||||
|
||||
Attentive.setup('#slides')
|
||||
Attentive.Presentation.setup('#slides')
|
@ -2,8 +2,17 @@
|
||||
@import 'compass';
|
||||
//@import 'syntax';
|
||||
|
||||
$body-color : rgb(33,33,33);
|
||||
$code-background : lighten(mix($body-color, white), 30%);
|
||||
$dark-gray : rgb(33,33,33);
|
||||
$red : rgb(255, 0, 0);
|
||||
$white : white;
|
||||
$lighter-gray : lighten(mix($dark-gray, $white), 30%);
|
||||
|
||||
$body-color : $dark-gray;
|
||||
$code-background : $lighter-gray;
|
||||
$important-color : $red;
|
||||
|
||||
$compass-logo : 'dark-logo.png';
|
||||
$sass-logo : 'sass.gif';
|
||||
|
||||
body {
|
||||
background-color: $body-color;
|
||||
@ -20,28 +29,23 @@ body {
|
||||
position : absolute;
|
||||
bottom : 0;
|
||||
left : 20px;
|
||||
@include show-logo('dark-logo.png');
|
||||
@include show-logo($compass-logo);
|
||||
}
|
||||
|
||||
.sass {
|
||||
position : absolute;
|
||||
bottom : 10px;
|
||||
right : 20px;
|
||||
@include show-logo('sass.gif');
|
||||
@include show-logo($sass-logo);
|
||||
}
|
||||
|
||||
.style-big-list {
|
||||
li {
|
||||
font-size : 60px;
|
||||
}
|
||||
//extendables
|
||||
|
||||
.rounded {
|
||||
@include border-radius(10px);
|
||||
}
|
||||
|
||||
.style-variable-why {
|
||||
ul {
|
||||
width : 450px !important;
|
||||
margin : 0 auto;
|
||||
}
|
||||
}
|
||||
// syntax overrides
|
||||
|
||||
.na {
|
||||
color : #19177C;
|
||||
@ -52,10 +56,6 @@ body {
|
||||
border : none;
|
||||
}
|
||||
|
||||
.rounded {
|
||||
@include border-radius(10px);
|
||||
}
|
||||
|
||||
h1, h2, h3, li, p {
|
||||
font-family : Nunito, sans-serif;
|
||||
color : white;
|
||||
@ -79,6 +79,18 @@ h1, h2, h3, li, p {
|
||||
&.active { opacity : 1.0 }
|
||||
}
|
||||
|
||||
.style-big-list li {
|
||||
font-size : 60px;
|
||||
}
|
||||
|
||||
.style-sprite-layout ul {
|
||||
width : 500px !important;
|
||||
}
|
||||
|
||||
.style-variable-why ul {
|
||||
width : 450px !important;
|
||||
margin : 0 auto;
|
||||
}
|
||||
|
||||
.style-better .highlight {
|
||||
width : 800px;
|
||||
@ -124,7 +136,7 @@ h1, h2, h3, li, p {
|
||||
|
||||
.style-important {
|
||||
h1 {
|
||||
color : rgb(255, 0, 0);
|
||||
color : $important-color;
|
||||
font-weight : normal;
|
||||
|
||||
}
|
||||
@ -132,3 +144,11 @@ h1, h2, h3, li, p {
|
||||
|
||||
}
|
||||
|
||||
.grid {
|
||||
background-color : $code-background;
|
||||
margin : 0 auto;
|
||||
height : 500px;
|
||||
width : 700px;
|
||||
@include grid-background(16, 20px, 10px, 20px, 5px, $force-fluid: true);
|
||||
}
|
||||
|
||||
|
@ -1,2 +1,32 @@
|
||||
!SLIDE
|
||||
# Inheritance
|
||||
# Inheritance
|
||||
|
||||
!SLIDE
|
||||
# Inception rule!
|
||||
<img src="/assets/InceptionArch_Slusher.jpg" width='800px'>
|
||||
|
||||
!SLIDE
|
||||
<img src='/assets/36kou7.jpg' height='700px'>
|
||||
|
||||
!SLIDE
|
||||
# Well you can but it gets messy
|
||||
``` scss
|
||||
.foo {
|
||||
width: 5px;
|
||||
.bar {
|
||||
height: 20px;
|
||||
.baz {
|
||||
color : red;
|
||||
.what-comes-after-baz {
|
||||
border : green solid 1px;
|
||||
&.something {
|
||||
@extend .float-left;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
!SLIDE
|
||||
# And slow
|
145
presentation/08_compass.slides
Normal file
145
presentation/08_compass.slides
Normal file
@ -0,0 +1,145 @@
|
||||
!SLIDE
|
||||
# Compass
|
||||
|
||||
!SLIDE
|
||||
|
||||
* Stylesheet framework
|
||||
* Considered sass standard library
|
||||
* Standalone application
|
||||
* Has the ability to have application integrations (rails, django, etc.)
|
||||
|
||||
!SLIDE
|
||||
|
||||
## Currently the only application integration supported by the core team is rails
|
||||
|
||||
!SLIDE big-list
|
||||
|
||||
## Features
|
||||
|
||||
* Sprites
|
||||
* CSS3
|
||||
* Layout tools
|
||||
* And much more
|
||||
|
||||
!SLIDE
|
||||
|
||||
# Sprites!
|
||||
|
||||
!SLIDE big-list
|
||||
|
||||
* Fewer http requests.
|
||||
* You don't have a bunch of individual images to manage.
|
||||
* Customizable
|
||||
* ITS EASY!
|
||||
|
||||
!SLIDE
|
||||
|
||||
# This EASY!
|
||||
|
||||
``` scss
|
||||
|
||||
@import "my-icons/*.png";
|
||||
@include all-my-icons-sprites;
|
||||
|
||||
```
|
||||
|
||||
!SLIDE
|
||||
## BAM!
|
||||
``` scss
|
||||
.my-icons-sprite,
|
||||
.my-icons-delete,
|
||||
.my-icons-edit,
|
||||
.my-icons-new,
|
||||
.my-icons-save { background: url('/images/my-icons-s34fe0604ab.png') no-repeat; }
|
||||
|
||||
.my-icons-delete { background-position: 0 0; }
|
||||
.my-icons-edit { background-position: 0 -32px; }
|
||||
.my-icons-new { background-position: 0 -64px; }
|
||||
.my-icons-save { background-position: 0 -96px; }
|
||||
```
|
||||
|
||||
!SLIDE big-list sprite-layout
|
||||
|
||||
# Layouts
|
||||
|
||||
* Vertical (default)
|
||||
* Horizontal
|
||||
* Diagonal
|
||||
* Smart
|
||||
|
||||
|
||||
!SLIDE
|
||||
|
||||
# Magic Selectors
|
||||
|
||||
* my-buttons/glossy.png
|
||||
* my-buttons/glossy_hover.png
|
||||
* my-buttons/glossy_active.png
|
||||
* my-buttons/glossy_target.png
|
||||
|
||||
!SLIDE
|
||||
|
||||
# Example
|
||||
|
||||
``` scss
|
||||
@import "my-buttons/*.png";
|
||||
|
||||
a {
|
||||
@include my-buttons-sprite(glossy)
|
||||
}
|
||||
```
|
||||
|
||||
!SLIDE
|
||||
|
||||
# BAM!
|
||||
|
||||
``` scss
|
||||
.my-buttons-sprite, a {
|
||||
background: url('/my-buttons-sedfef809e2.png') no-repeat;
|
||||
}
|
||||
|
||||
a {
|
||||
background-position: 0 0;
|
||||
}
|
||||
a:hover, a.glossy_hover, a.glossy-hover {
|
||||
background-position: 0 -40px;
|
||||
}
|
||||
a:target, a.glossy_target, a.glossy-target {
|
||||
background-position: 0 -60px;
|
||||
}
|
||||
a:active, a.glossy_active, a.glossy-active {
|
||||
background-position: 0 -20;
|
||||
}
|
||||
```
|
||||
|
||||
!SLIDE important
|
||||
|
||||
# Beware of your file size!
|
||||
|
||||
!SLIDE
|
||||
|
||||
# We support all CSS3 properties with vendor prefix's and new ones are being added all the time.
|
||||
|
||||
!SLIDE big-list
|
||||
|
||||
# Layout tools
|
||||
|
||||
* Vertical rhythm
|
||||
* Grids
|
||||
* And more!
|
||||
|
||||
!SLIDE
|
||||
|
||||
# Vertical rhythm
|
||||
|
||||
## The spacing and arrangement of text as the reader descends the page.
|
||||
|
||||
!SLIDE
|
||||
|
||||
## "Just as regular use of time provides rhythm in music, so regular use of space provides rhythm in typography, and without rhythm the listener, or the reader, becomes disorientated and lost." - 24ways.org
|
||||
|
||||
!SLIDE
|
||||
|
||||
<div class='grid' ></div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user