Empty setup with bootstrap and font awesome
This commit is contained in:
commit
09aba964a9
35 changed files with 747 additions and 0 deletions
6
.gitignore
vendored
Normal file
6
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
/tmp
|
||||
/output
|
||||
.*.swp
|
||||
crash.log
|
||||
/.sass-cache
|
||||
|
||||
6
.gitmodules
vendored
Normal file
6
.gitmodules
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
[submodule "Font-Awesome"]
|
||||
path = Font-Awesome
|
||||
url = https://github.com/FortAwesome/Font-Awesome.git
|
||||
[submodule "bootstrap-sass"]
|
||||
path = bootstrap-sass
|
||||
url = https://github.com/thomas-mcdonald/bootstrap-sass.git
|
||||
1
Font-Awesome
Submodule
1
Font-Awesome
Submodule
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 906345058f738c2b931f89754a319ed108e17bd8
|
||||
10
Gemfile
Normal file
10
Gemfile
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
source "http://gems.github.com"
|
||||
source "http://rubygems.org"
|
||||
|
||||
gem 'nanoc3'
|
||||
gem 'guard-nanoc'
|
||||
gem 'systemu'
|
||||
gem 'adsf'
|
||||
gem 'sass'
|
||||
gem 'rdiscount'
|
||||
|
||||
57
Gemfile.lock
Normal file
57
Gemfile.lock
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
GEM
|
||||
remote: http://gems.github.com/
|
||||
remote: http://rubygems.org/
|
||||
specs:
|
||||
adsf (1.0.1)
|
||||
rack (>= 1.0.0)
|
||||
coderay (1.0.9)
|
||||
colored (1.2)
|
||||
cri (2.3.0)
|
||||
colored (>= 1.2)
|
||||
ffi (1.9.0)
|
||||
formatador (0.2.4)
|
||||
guard (1.8.2)
|
||||
formatador (>= 0.2.4)
|
||||
listen (>= 1.0.0)
|
||||
lumberjack (>= 1.0.2)
|
||||
pry (>= 0.9.10)
|
||||
thor (>= 0.14.6)
|
||||
guard-nanoc (1.0.1)
|
||||
guard (>= 1.8.0)
|
||||
nanoc (>= 3.6.3)
|
||||
listen (1.2.3)
|
||||
rb-fsevent (>= 0.9.3)
|
||||
rb-inotify (>= 0.9)
|
||||
rb-kqueue (>= 0.2)
|
||||
lumberjack (1.0.4)
|
||||
method_source (0.8.2)
|
||||
nanoc (3.6.4)
|
||||
cri (~> 2.3)
|
||||
nanoc3 (3.3.0)
|
||||
nanoc (>= 3.3.0)
|
||||
pry (0.9.12.2)
|
||||
coderay (~> 1.0.5)
|
||||
method_source (~> 0.8)
|
||||
slop (~> 3.4)
|
||||
rack (1.4.5)
|
||||
rb-fsevent (0.9.3)
|
||||
rb-inotify (0.9.0)
|
||||
ffi (>= 0.5.0)
|
||||
rb-kqueue (0.2.0)
|
||||
ffi (>= 0.5.0)
|
||||
rdiscount (1.6.8)
|
||||
sass (3.2.10)
|
||||
slop (3.4.6)
|
||||
systemu (2.5.2)
|
||||
thor (0.18.1)
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
|
||||
DEPENDENCIES
|
||||
adsf
|
||||
guard-nanoc
|
||||
nanoc3
|
||||
rdiscount
|
||||
sass
|
||||
systemu
|
||||
60
Rules
Normal file
60
Rules
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
#!/usr/bin/env ruby
|
||||
|
||||
#compile %r{/_} do
|
||||
# nil
|
||||
#end
|
||||
|
||||
compile '/styles/*' do
|
||||
if item[:extension]=="scss" && !item.identifier.split("/")[-1].start_with?("_")
|
||||
filter :sass, {
|
||||
:load_paths => ["#{Dir.pwd}/content/styles", "#{Dir.pwd}/bootstrap-sass/vendor/assets/stylesheets", "#{Dir.pwd}/Font-Awesome/scss"],
|
||||
:syntax => :scss,
|
||||
:style => :compact
|
||||
#:style => :compressed
|
||||
}
|
||||
end
|
||||
end
|
||||
|
||||
compile '*' do
|
||||
item_name = if item.identifier=="/"
|
||||
""
|
||||
else
|
||||
item.identifier.split("/")[-1]
|
||||
end
|
||||
if item.binary?
|
||||
# don’t filter binary items
|
||||
else
|
||||
case item[:extension]
|
||||
when 'md','markdown' then
|
||||
filter :rdiscount, { :extensions => [ :smart ] }
|
||||
end
|
||||
filter :erb
|
||||
if item_name.start_with?("_")
|
||||
nil
|
||||
else
|
||||
layout 'default'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
route %r{/_} do
|
||||
nil
|
||||
end
|
||||
|
||||
route '/static/*' do
|
||||
item.identifier[7..-2]
|
||||
end
|
||||
|
||||
route '/styles/*' do
|
||||
item.identifier.chop + '.css'
|
||||
end
|
||||
|
||||
route '*' do
|
||||
if item.binary?
|
||||
item.identifier.chop + '.' + item[:extension]
|
||||
else
|
||||
item.identifier.chop + '/index.html'
|
||||
end
|
||||
end
|
||||
|
||||
layout '*', :erb
|
||||
1
bootstrap-sass
Submodule
1
bootstrap-sass
Submodule
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 16da2ffb1fb98672f498b482c318db0cfb20a054
|
||||
36
content/index.md
Normal file
36
content/index.md
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
-----
|
||||
title: Titel
|
||||
kind: page
|
||||
-----
|
||||
# Willkommen!
|
||||
|
||||
<i class="icon-flag icon-4x pull-left icon-border"></i> Font Awesome is
|
||||
working!
|
||||
|
||||
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
|
||||
eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
|
||||
voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet
|
||||
clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit
|
||||
amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
|
||||
nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
|
||||
sed diam voluptua. At vero eos et accusam et justo duo dolores et ea
|
||||
rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem
|
||||
ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing
|
||||
elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna
|
||||
aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo
|
||||
dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus
|
||||
est Lorem ipsum dolor sit amet.
|
||||
|
||||
Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse
|
||||
molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero
|
||||
eros et accumsan et iusto odio dignissim qui blandit praesent luptatum
|
||||
zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum
|
||||
dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh
|
||||
euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
|
||||
|
||||
Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper
|
||||
suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem
|
||||
vel eum iriure dolor in hendrerit in vulputate velit esse molestie
|
||||
consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et
|
||||
accumsan et iusto odio dignissim qui blandit praesent luptatum zzril
|
||||
delenit augue duis dolore te feugait nulla facilisi.
|
||||
0
content/styles/_customstyles.scss
Normal file
0
content/styles/_customstyles.scss
Normal file
3
content/styles/_customvars.scss
Normal file
3
content/styles/_customvars.scss
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
// Font Awesome
|
||||
$FontAwesomePath: "/fonts";
|
||||
|
||||
300
content/styles/_variables.scss
Normal file
300
content/styles/_variables.scss
Normal file
|
|
@ -0,0 +1,300 @@
|
|||
//
|
||||
// Variables
|
||||
// --------------------------------------------------
|
||||
|
||||
// Global values
|
||||
// --------------------------------------------------
|
||||
|
||||
|
||||
// Grays
|
||||
// -------------------------
|
||||
$black: #000 !default;
|
||||
$grayDarker: #222 !default;
|
||||
$grayDark: #333 !default;
|
||||
$gray: #555 !default;
|
||||
$grayLight: #999 !default;
|
||||
$grayLighter: #eee !default;
|
||||
$white: #fff !default;
|
||||
|
||||
|
||||
// Accent colors
|
||||
// -------------------------
|
||||
$blue: #049cdb !default;
|
||||
$blueDark: #0064cd !default;
|
||||
$green: #46a546 !default;
|
||||
$red: #9d261d !default;
|
||||
$yellow: #ffc40d !default;
|
||||
$orange: #f89406 !default;
|
||||
$pink: #c3325f !default;
|
||||
$purple: #7a43b6 !default;
|
||||
|
||||
|
||||
// Scaffolding
|
||||
// -------------------------
|
||||
$bodyBackground: $white !default;
|
||||
$textColor: $grayDark !default;
|
||||
|
||||
|
||||
// Links
|
||||
// -------------------------
|
||||
$linkColor: #08c !default;
|
||||
$linkColorHover: darken($linkColor, 15%) !default;
|
||||
|
||||
|
||||
// Typography
|
||||
// -------------------------
|
||||
$sansFontFamily: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
|
||||
$serifFontFamily: Georgia, "Times New Roman", Times, serif !default;
|
||||
$monoFontFamily: Monaco, Menlo, Consolas, "Courier New", monospace !default;
|
||||
|
||||
$baseFontSize: 14px !default;
|
||||
$baseFontFamily: $sansFontFamily !default;
|
||||
$baseLineHeight: 20px !default;
|
||||
$altFontFamily: $serifFontFamily !default;
|
||||
|
||||
$headingsFontFamily: inherit !default; // empty to use BS default, $baseFontFamily
|
||||
$headingsFontWeight: bold !default; // instead of browser default, bold
|
||||
$headingsColor: inherit !default; // empty to use BS default, $textColor
|
||||
|
||||
|
||||
// Component sizing
|
||||
// -------------------------
|
||||
// Based on 14px font-size and 20px line-height
|
||||
|
||||
$fontSizeLarge: $baseFontSize * 1.25 !default; // ~18px
|
||||
$fontSizeSmall: $baseFontSize * 0.85 !default; // ~12px
|
||||
$fontSizeMini: $baseFontSize * 0.75 !default; // ~11px
|
||||
|
||||
$paddingLarge: 11px 19px !default; // 44px
|
||||
$paddingSmall: 2px 10px !default; // 26px
|
||||
$paddingMini: 0px 6px !default; // 22px
|
||||
|
||||
$baseBorderRadius: 4px !default;
|
||||
$borderRadiusLarge: 6px !default;
|
||||
$borderRadiusSmall: 3px !default;
|
||||
|
||||
|
||||
// Tables
|
||||
// -------------------------
|
||||
$tableBackground: transparent !default; // overall background-color
|
||||
$tableBackgroundAccent: #f9f9f9 !default; // for striping
|
||||
$tableBackgroundHover: #f5f5f5 !default; // for hover
|
||||
$tableBorder: #ddd !default; // table and cell border
|
||||
|
||||
// Buttons
|
||||
// -------------------------
|
||||
$btnBackground: $white !default;
|
||||
$btnBackgroundHighlight: darken($white, 10%) !default;
|
||||
$btnBorder: #ccc !default;
|
||||
|
||||
$btnPrimaryBackground: $linkColor !default;
|
||||
$btnPrimaryBackgroundHighlight: adjust-hue($btnPrimaryBackground, 20%) !default;
|
||||
|
||||
$btnInfoBackground: #5bc0de !default;
|
||||
$btnInfoBackgroundHighlight: #2f96b4 !default;
|
||||
|
||||
$btnSuccessBackground: #62c462 !default;
|
||||
$btnSuccessBackgroundHighlight: #51a351 !default;
|
||||
|
||||
$btnWarningBackground: lighten($orange, 15%) !default;
|
||||
$btnWarningBackgroundHighlight: $orange !default;
|
||||
|
||||
$btnDangerBackground: #ee5f5b !default;
|
||||
$btnDangerBackgroundHighlight: #bd362f !default;
|
||||
|
||||
$btnInverseBackground: #444 !default;
|
||||
$btnInverseBackgroundHighlight: $grayDarker !default;
|
||||
|
||||
|
||||
// Forms
|
||||
// -------------------------
|
||||
$inputBackground: $white !default;
|
||||
$inputBorder: #ccc !default;
|
||||
$inputBorderRadius: $baseBorderRadius !default;
|
||||
$inputDisabledBackground: $grayLighter !default;
|
||||
$formActionsBackground: #f5f5f5 !default;
|
||||
$inputHeight: $baseLineHeight + 10px; // base line-height + 8px vertical padding + 2px top/bottom border
|
||||
|
||||
|
||||
// Dropdowns
|
||||
// -------------------------
|
||||
$dropdownBackground: $white !default;
|
||||
$dropdownBorder: rgba(0,0,0,.2) !default;
|
||||
$dropdownDividerTop: #e5e5e5 !default;
|
||||
$dropdownDividerBottom: $white !default;
|
||||
|
||||
$dropdownLinkColor: $grayDark !default;
|
||||
$dropdownLinkColorHover: $white !default;
|
||||
$dropdownLinkColorActive: $white !default;
|
||||
|
||||
$dropdownLinkBackgroundActive: $linkColor !default;
|
||||
$dropdownLinkBackgroundHover: $dropdownLinkBackgroundActive !default;
|
||||
|
||||
|
||||
|
||||
// COMPONENT VARIABLES
|
||||
// --------------------------------------------------
|
||||
|
||||
|
||||
// Z-index master list
|
||||
// -------------------------
|
||||
// Used for a bird's eye view of components dependent on the z-axis
|
||||
// Try to avoid customizing these :)
|
||||
$zindexDropdown: 1000 !default;
|
||||
$zindexPopover: 1010 !default;
|
||||
$zindexTooltip: 1030 !default;
|
||||
$zindexFixedNavbar: 1030 !default;
|
||||
$zindexModalBackdrop: 1040 !default;
|
||||
$zindexModal: 1050 !default;
|
||||
|
||||
|
||||
// Sprite icons path
|
||||
// -------------------------
|
||||
$iconSpritePath: image-path("glyphicons-halflings.png") !default;
|
||||
$iconWhiteSpritePath: image-path("glyphicons-halflings-white.png") !default;
|
||||
|
||||
|
||||
// Input placeholder text color
|
||||
// -------------------------
|
||||
$placeholderText: $grayLight !default;
|
||||
|
||||
|
||||
// Hr border color
|
||||
// -------------------------
|
||||
$hrBorder: $grayLighter !default;
|
||||
|
||||
|
||||
// Horizontal forms & lists
|
||||
// -------------------------
|
||||
$horizontalComponentOffset: 180px !default;
|
||||
|
||||
|
||||
// Wells
|
||||
// -------------------------
|
||||
$wellBackground: #f5f5f5 !default;
|
||||
|
||||
|
||||
// Navbar
|
||||
// -------------------------
|
||||
$navbarCollapseWidth: 979px !default;
|
||||
$navbarCollapseDesktopWidth: $navbarCollapseWidth + 1;
|
||||
|
||||
$navbarHeight: 40px !default;
|
||||
$navbarBackgroundHighlight: #ffffff !default;
|
||||
$navbarBackground: darken($navbarBackgroundHighlight, 5%) !default;
|
||||
$navbarBorder: darken($navbarBackground, 12%) !default;
|
||||
|
||||
$navbarText: #777 !default;
|
||||
$navbarLinkColor: #777 !default;
|
||||
$navbarLinkColorHover: $grayDark !default;
|
||||
$navbarLinkColorActive: $gray !default;
|
||||
$navbarLinkBackgroundHover: transparent !default;
|
||||
$navbarLinkBackgroundActive: darken($navbarBackground, 5%) !default;
|
||||
|
||||
$navbarBrandColor: $navbarLinkColor !default;
|
||||
|
||||
// Inverted navbar
|
||||
$navbarInverseBackground: #111111 !default;
|
||||
$navbarInverseBackgroundHighlight: #222222 !default;
|
||||
$navbarInverseBorder: #252525 !default;
|
||||
|
||||
$navbarInverseText: $grayLight !default;
|
||||
$navbarInverseLinkColor: $grayLight !default;
|
||||
$navbarInverseLinkColorHover: $white !default;
|
||||
$navbarInverseLinkColorActive: $navbarInverseLinkColorHover !default;
|
||||
$navbarInverseLinkBackgroundHover: transparent !default;
|
||||
$navbarInverseLinkBackgroundActive: $navbarInverseBackground !default;
|
||||
|
||||
$navbarInverseSearchBackground: lighten($navbarInverseBackground, 25%) !default;
|
||||
$navbarInverseSearchBackgroundFocus: $white !default;
|
||||
$navbarInverseSearchBorder: $navbarInverseBackground !default;
|
||||
$navbarInverseSearchPlaceholderColor: #ccc !default;
|
||||
|
||||
$navbarInverseBrandColor: $navbarInverseLinkColor !default;
|
||||
|
||||
|
||||
// Pagination
|
||||
// -------------------------
|
||||
$paginationBackground: #fff !default;
|
||||
$paginationBorder: #ddd !default;
|
||||
$paginationActiveBackground: #f5f5f5 !default;
|
||||
|
||||
|
||||
// Hero unit
|
||||
// -------------------------
|
||||
$heroUnitBackground: $grayLighter !default;
|
||||
$heroUnitHeadingColor: inherit !default;
|
||||
$heroUnitLeadColor: inherit !default;
|
||||
|
||||
|
||||
// Form states and alerts
|
||||
// -------------------------
|
||||
$warningText: #c09853 !default;
|
||||
$warningBackground: #fcf8e3 !default;
|
||||
$warningBorder: darken(adjust-hue($warningBackground, -10), 3%) !default;
|
||||
|
||||
$errorText: #b94a48 !default;
|
||||
$errorBackground: #f2dede !default;
|
||||
$errorBorder: darken(adjust-hue($errorBackground, -10), 3%) !default;
|
||||
|
||||
$successText: #468847 !default;
|
||||
$successBackground: #dff0d8 !default;
|
||||
$successBorder: darken(adjust-hue($successBackground, -10), 5%) !default;
|
||||
|
||||
$infoText: #3a87ad !default;
|
||||
$infoBackground: #d9edf7 !default;
|
||||
$infoBorder: darken(adjust-hue($infoBackground, -10), 7%) !default;
|
||||
|
||||
|
||||
// Tooltips and popovers
|
||||
// -------------------------
|
||||
$tooltipColor: #fff !default;
|
||||
$tooltipBackground: #000 !default;
|
||||
$tooltipArrowWidth: 5px !default;
|
||||
$tooltipArrowColor: $tooltipBackground !default;
|
||||
|
||||
$popoverBackground: #fff !default;
|
||||
$popoverArrowWidth: 10px !default;
|
||||
$popoverArrowColor: #fff !default;
|
||||
$popoverTitleBackground: darken($popoverBackground, 3%) !default;
|
||||
|
||||
// Special enhancement for popovers
|
||||
$popoverArrowOuterWidth: $popoverArrowWidth + 1 !default;
|
||||
$popoverArrowOuterColor: rgba(0,0,0,.25) !default;
|
||||
|
||||
|
||||
|
||||
// GRID
|
||||
// --------------------------------------------------
|
||||
|
||||
|
||||
// Default 940px grid
|
||||
// -------------------------
|
||||
$gridColumns: 12 !default;
|
||||
$gridColumnWidth: 60px !default;
|
||||
$gridGutterWidth: 20px !default;
|
||||
$gridRowWidth: ($gridColumns * $gridColumnWidth) + ($gridGutterWidth * ($gridColumns - 1)) !default;
|
||||
|
||||
// 1200px min
|
||||
$gridColumnWidth1200: 70px !default;
|
||||
$gridGutterWidth1200: 30px !default;
|
||||
$gridRowWidth1200: ($gridColumns * $gridColumnWidth1200) + ($gridGutterWidth1200 * ($gridColumns - 1)) !default;
|
||||
|
||||
// 768px-979px
|
||||
$gridColumnWidth768: 42px !default;
|
||||
$gridGutterWidth768: 20px !default;
|
||||
$gridRowWidth768: ($gridColumns * $gridColumnWidth768) + ($gridGutterWidth768 * ($gridColumns - 1)) !default;
|
||||
|
||||
|
||||
// Fluid grid
|
||||
// -------------------------
|
||||
$fluidGridColumnWidth: percentage($gridColumnWidth/$gridRowWidth) !default;
|
||||
$fluidGridGutterWidth: percentage($gridGutterWidth/$gridRowWidth) !default;
|
||||
|
||||
// 1200px min
|
||||
$fluidGridColumnWidth1200: percentage($gridColumnWidth1200/$gridRowWidth1200) !default;
|
||||
$fluidGridGutterWidth1200: percentage($gridGutterWidth1200/$gridRowWidth1200) !default;
|
||||
|
||||
// 768px-979px
|
||||
$fluidGridColumnWidth768: percentage($gridColumnWidth768/$gridRowWidth768) !default;
|
||||
$fluidGridGutterWidth768: percentage($gridGutterWidth768/$gridRowWidth768) !default;
|
||||
93
content/styles/main.scss
Normal file
93
content/styles/main.scss
Normal file
|
|
@ -0,0 +1,93 @@
|
|||
/*!
|
||||
* Bootstrap v2.3.2
|
||||
*
|
||||
* Copyright 2012 Twitter, Inc
|
||||
* Licensed under the Apache License v2.0
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Designed and built with all the love in the world @twitter by @mdo and @fat.
|
||||
*/
|
||||
|
||||
// Core variables and mixins
|
||||
// @import "bootstrap/variables"; // Modify this for custom colors, font-sizes, etc
|
||||
@import "variables";
|
||||
@import "customvars";
|
||||
@import "bootstrap/mixins";
|
||||
|
||||
// CSS Reset
|
||||
@import "bootstrap/reset";
|
||||
|
||||
// Grid system and page structure
|
||||
@import "bootstrap/scaffolding";
|
||||
@import "bootstrap/grid";
|
||||
@import "bootstrap/layouts";
|
||||
|
||||
// Base CSS
|
||||
@import "bootstrap/type";
|
||||
@import "bootstrap/code";
|
||||
@import "bootstrap/forms";
|
||||
@import "bootstrap/tables";
|
||||
|
||||
// Components: common
|
||||
// @import "bootstrap/sprites"; // Replaced with Font Awesome
|
||||
@import "font-awesome"; // Replacement for bootstrap/sprites
|
||||
@import "bootstrap/dropdowns";
|
||||
@import "bootstrap/wells";
|
||||
@import "bootstrap/component-animations";
|
||||
@import "bootstrap/close";
|
||||
|
||||
// Components: Buttons & Alerts
|
||||
@import "bootstrap/buttons";
|
||||
@import "bootstrap/button-groups";
|
||||
@import "bootstrap/alerts"; // Note: alerts share common CSS with buttons and thus have styles in buttons
|
||||
|
||||
// Components: Nav
|
||||
@import "bootstrap/navs";
|
||||
@import "bootstrap/navbar";
|
||||
@import "bootstrap/breadcrumbs";
|
||||
@import "bootstrap/pagination";
|
||||
@import "bootstrap/pager";
|
||||
|
||||
// Components: Popovers
|
||||
@import "bootstrap/modals";
|
||||
@import "bootstrap/tooltip";
|
||||
@import "bootstrap/popovers";
|
||||
|
||||
// Components: Misc
|
||||
@import "bootstrap/thumbnails";
|
||||
@import "bootstrap/media";
|
||||
@import "bootstrap/labels-badges";
|
||||
@import "bootstrap/progress-bars";
|
||||
@import "bootstrap/accordion";
|
||||
@import "bootstrap/carousel";
|
||||
@import "bootstrap/hero-unit";
|
||||
|
||||
// Utility classes
|
||||
@import "bootstrap/utilities"; // Has to be last to override when necessary
|
||||
|
||||
|
||||
// RESPONSIVE CLASSES
|
||||
@import "bootstrap/responsive-utilities";
|
||||
|
||||
|
||||
// MEDIA QUERIES
|
||||
// Large desktops
|
||||
@import "bootstrap/responsive-1200px-min";
|
||||
|
||||
// Tablets to regular desktops
|
||||
@import "bootstrap/responsive-768px-979px";
|
||||
|
||||
// Phones to portrait tablets and narrow desktops
|
||||
@import "bootstrap/responsive-767px-max";
|
||||
|
||||
|
||||
// RESPONSIVE NAVBAR
|
||||
// From 979px and below, show a button to toggle navbar contents
|
||||
@import "bootstrap/responsive-navbar";
|
||||
|
||||
// Font Awesome
|
||||
@import "font-awesome";
|
||||
|
||||
|
||||
@import "customstyles";
|
||||
|
||||
47
layouts/default.html
Normal file
47
layouts/default.html
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title><%= @item[:title] %></title>
|
||||
<link rel="stylesheet" href="/styles/main.css">
|
||||
<script src="/js/jquery-1.10.2.min.js" type="text/javascript"></script>
|
||||
<script src="/js/bootstrap-dropdown.js" type="text/javascript"></script>
|
||||
<script src="/js/bootstrap-collapse.js" type="text/javascript"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="navbar navbar-static-top">
|
||||
<div class="navbar-inner">
|
||||
<div class="container">
|
||||
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</a>
|
||||
<a class="brand" href="/"><img src="/img/logo.png" alt="Logo"></a>
|
||||
<div class="nav-collapse collapse">
|
||||
<ul class="nav">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">Menü...</a>
|
||||
<li><a href="#">Menü...</a>
|
||||
<li><a href="#">Menü...</a>
|
||||
<li><a href="#">Menü...</a>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#">Menü...</a>
|
||||
<li><a href="#">Menü...</a>
|
||||
<li><a href="#">Menü...</a>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<% render("#{@item[:kind]}_body") do %><%= yield %><% end %>
|
||||
<footer>
|
||||
<a href="#">Impressum</a>
|
||||
</footer>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
3
layouts/emptyrow_body.html
Normal file
3
layouts/emptyrow_body.html
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
<div class="row" id="mainrow">
|
||||
<%= yield %>
|
||||
</div>
|
||||
5
layouts/page_body.html
Normal file
5
layouts/page_body.html
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<div class="row" id="mainrow">
|
||||
<div class="span12">
|
||||
<%= yield %>
|
||||
</div>
|
||||
</div>
|
||||
5
lib/default.rb
Normal file
5
lib/default.rb
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# All files in the 'lib' directory will be loaded
|
||||
# before nanoc starts compiling.
|
||||
|
||||
include Nanoc3::Helpers::Rendering
|
||||
|
||||
91
nanoc.yaml
Normal file
91
nanoc.yaml
Normal file
|
|
@ -0,0 +1,91 @@
|
|||
# A list of file extensions that nanoc will consider to be textual rather than
|
||||
# binary. If an item with an extension not in this list is found, the file
|
||||
# will be considered as binary.
|
||||
text_extensions: [ 'coffee', 'css', 'erb', 'haml', 'handlebars', 'hb', 'htm', 'html', 'js', 'less', 'markdown', 'md', 'ms', 'mustache', 'php', 'rb', 'sass', 'scss', 'txt', 'xhtml', 'xml' ]
|
||||
|
||||
# The path to the directory where all generated files will be written to. This
|
||||
# can be an absolute path starting with a slash, but it can also be path
|
||||
# relative to the site directory.
|
||||
output_dir: output
|
||||
|
||||
# A list of index filenames, i.e. names of files that will be served by a web
|
||||
# server when a directory is requested. Usually, index files are named
|
||||
# “index.html”, but depending on the web server, this may be something else,
|
||||
# such as “default.htm”. This list is used by nanoc to generate pretty URLs.
|
||||
index_filenames: [ 'index.html' ]
|
||||
|
||||
# Whether or not to generate a diff of the compiled content when compiling a
|
||||
# site. The diff will contain the differences between the compiled content
|
||||
# before and after the last site compilation.
|
||||
enable_output_diff: false
|
||||
|
||||
prune:
|
||||
# Whether to automatically remove files not managed by nanoc from the output
|
||||
# directory. For safety reasons, this is turned off by default.
|
||||
auto_prune: false
|
||||
|
||||
# Which files and directories you want to exclude from pruning. If you version
|
||||
# your output directory, you should probably exclude VCS directories such as
|
||||
# .git, .svn etc.
|
||||
exclude: [ '.git', '.hg', '.svn', 'CVS' ]
|
||||
|
||||
# The data sources where nanoc loads its data from. This is an array of
|
||||
# hashes; each array element represents a single data source. By default,
|
||||
# there is only a single data source that reads data from the “content/” and
|
||||
# “layout/” directories in the site directory.
|
||||
data_sources:
|
||||
-
|
||||
# The type is the identifier of the data source. By default, this will be
|
||||
# `filesystem_unified`.
|
||||
type: filesystem_unified
|
||||
|
||||
# The path where items should be mounted (comparable to mount points in
|
||||
# Unix-like systems). This is “/” by default, meaning that items will have
|
||||
# “/” prefixed to their identifiers. If the items root were “/en/”
|
||||
# instead, an item at content/about.html would have an identifier of
|
||||
# “/en/about/” instead of just “/about/”.
|
||||
items_root: /
|
||||
|
||||
# The path where layouts should be mounted. The layouts root behaves the
|
||||
# same as the items root, but applies to layouts rather than items.
|
||||
layouts_root: /
|
||||
|
||||
# Whether to allow periods in identifiers. When turned off, everything
|
||||
# past the first period is considered to be the extension, and when
|
||||
# turned on, only the characters past the last period are considered to
|
||||
# be the extension. For example, a file named “content/about.html.erb”
|
||||
# will have the identifier “/about/” when turned off, but when turned on
|
||||
# it will become “/about.html/” instead.
|
||||
allow_periods_in_identifiers: false
|
||||
|
||||
# The encoding to use for input files. If your input files are not in
|
||||
# UTF-8 (which they should be!), change this.
|
||||
encoding: utf-8
|
||||
|
||||
-
|
||||
type: static
|
||||
items_root: /static/
|
||||
|
||||
# Configuration for the “watch” command, which watches a site for changes and
|
||||
# recompiles if necessary.
|
||||
watcher:
|
||||
# A list of directories to watch for changes. When editing this, make sure
|
||||
# that the “output/” and “tmp/” directories are _not_ included in this list,
|
||||
# because recompiling the site will cause these directories to change, which
|
||||
# will cause the site to be recompiled, which will cause these directories
|
||||
# to change, which will cause the site to be recompiled again, and so on.
|
||||
dirs_to_watch: [ 'content', 'layouts', 'lib' ]
|
||||
|
||||
# A list of single files to watch for changes. As mentioned above, don’t put
|
||||
# any files from the “output/” or “tmp/” directories in here.
|
||||
files_to_watch: [ 'nanoc.yaml', 'Rules' ]
|
||||
|
||||
# When to send notifications (using Growl or notify-send).
|
||||
notify_on_compilation_success: true
|
||||
notify_on_compilation_failure: true
|
||||
|
||||
deploy:
|
||||
default:
|
||||
kind: rsync
|
||||
dst: "stefanskiste:/var/www/grafikers.ploing.de/htdocs"
|
||||
options: [ '-aP', '--delete-after' ]
|
||||
1
static/fonts/fontawesome-webfont.eot
Symbolic link
1
static/fonts/fontawesome-webfont.eot
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Font-Awesome/font/fontawesome-webfont.eot
|
||||
1
static/fonts/fontawesome-webfont.svg
Symbolic link
1
static/fonts/fontawesome-webfont.svg
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Font-Awesome/font/fontawesome-webfont.svg
|
||||
1
static/fonts/fontawesome-webfont.ttf
Symbolic link
1
static/fonts/fontawesome-webfont.ttf
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Font-Awesome/font/fontawesome-webfont.ttf
|
||||
1
static/fonts/fontawesome-webfont.woff
Symbolic link
1
static/fonts/fontawesome-webfont.woff
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Font-Awesome/font/fontawesome-webfont.woff
|
||||
1
static/js/bootstrap-affix.js
vendored
Symbolic link
1
static/js/bootstrap-affix.js
vendored
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../bootstrap-sass/vendor/assets/javascripts/bootstrap-affix.js
|
||||
1
static/js/bootstrap-alert.js
vendored
Symbolic link
1
static/js/bootstrap-alert.js
vendored
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../bootstrap-sass/vendor/assets/javascripts/bootstrap-alert.js
|
||||
1
static/js/bootstrap-button.js
vendored
Symbolic link
1
static/js/bootstrap-button.js
vendored
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../bootstrap-sass/vendor/assets/javascripts/bootstrap-button.js
|
||||
1
static/js/bootstrap-carousel.js
vendored
Symbolic link
1
static/js/bootstrap-carousel.js
vendored
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../bootstrap-sass/vendor/assets/javascripts/bootstrap-carousel.js
|
||||
1
static/js/bootstrap-collapse.js
vendored
Symbolic link
1
static/js/bootstrap-collapse.js
vendored
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../bootstrap-sass/vendor/assets/javascripts/bootstrap-collapse.js
|
||||
1
static/js/bootstrap-dropdown.js
vendored
Symbolic link
1
static/js/bootstrap-dropdown.js
vendored
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../bootstrap-sass/vendor/assets/javascripts/bootstrap-dropdown.js
|
||||
1
static/js/bootstrap-modal.js
vendored
Symbolic link
1
static/js/bootstrap-modal.js
vendored
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../bootstrap-sass/vendor/assets/javascripts/bootstrap-modal.js
|
||||
1
static/js/bootstrap-popover.js
vendored
Symbolic link
1
static/js/bootstrap-popover.js
vendored
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../bootstrap-sass/vendor/assets/javascripts/bootstrap-popover.js
|
||||
1
static/js/bootstrap-scrollspy.js
vendored
Symbolic link
1
static/js/bootstrap-scrollspy.js
vendored
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../bootstrap-sass/vendor/assets/javascripts/bootstrap-scrollspy.js
|
||||
1
static/js/bootstrap-tab.js
vendored
Symbolic link
1
static/js/bootstrap-tab.js
vendored
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../bootstrap-sass/vendor/assets/javascripts/bootstrap-tab.js
|
||||
1
static/js/bootstrap-tooltip.js
vendored
Symbolic link
1
static/js/bootstrap-tooltip.js
vendored
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../bootstrap-sass/vendor/assets/javascripts/bootstrap-tooltip.js
|
||||
1
static/js/bootstrap-transition.js
vendored
Symbolic link
1
static/js/bootstrap-transition.js
vendored
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../bootstrap-sass/vendor/assets/javascripts/bootstrap-transition.js
|
||||
1
static/js/bootstrap-typeahead.js
vendored
Symbolic link
1
static/js/bootstrap-typeahead.js
vendored
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../bootstrap-sass/vendor/assets/javascripts/bootstrap-typeahead.js
|
||||
6
static/js/jquery-1.10.2.min.js
vendored
Normal file
6
static/js/jquery-1.10.2.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue