diff options
Diffstat (limited to 'pelican-striped-html5up/static/sass')
-rw-r--r-- | pelican-striped-html5up/static/sass/ie8.scss | 97 | ||||
-rw-r--r-- | pelican-striped-html5up/static/sass/libs/_functions.scss | 34 | ||||
-rw-r--r-- | pelican-striped-html5up/static/sass/libs/_mixins.scss | 56 | ||||
-rw-r--r-- | pelican-striped-html5up/static/sass/libs/_skel.scss | 585 | ||||
-rw-r--r-- | pelican-striped-html5up/static/sass/libs/_vars.scss | 23 | ||||
-rw-r--r-- | pelican-striped-html5up/static/sass/main.scss | 1445 |
6 files changed, 2240 insertions, 0 deletions
diff --git a/pelican-striped-html5up/static/sass/ie8.scss b/pelican-striped-html5up/static/sass/ie8.scss new file mode 100644 index 0000000..d4edcee --- /dev/null +++ b/pelican-striped-html5up/static/sass/ie8.scss @@ -0,0 +1,97 @@ +@import 'libs/vars'; +@import 'libs/functions'; +@import 'libs/mixins'; +@import 'libs/skel'; + +/* + Striped by Pixelarity + pixelarity.com | hello@pixelarity.com + License: pixelarity.com/license +*/ + + form { + input[type="text"], + input[type="email"], + input[type="password"], + select, + textarea { + position: relative; + box-shadow: none !important; + -ms-behavior: url('assets/js/ie/PIE.htc'); + } + } + + input[type="button"], + input[type="submit"], + input[type="reset"], + button, + .button { + position: relative; + box-shadow: none !important; + -ms-behavior: url('assets/js/ie/PIE.htc'); + } + + .pagination { + .pages { + a { + position: relative; + box-shadow: none !important; + -ms-behavior: url('assets/js/ie/PIE.htc'); + } + } + } + + .box { + &.calendar { + td { + a, span { + position: relative; + box-shadow: none !important; + -ms-behavior: url('assets/js/ie/PIE.htc'); + } + } + } + + &.text-style1 { + .inner { + position: relative; + box-shadow: none !important; + -ms-behavior: url('assets/js/ie/PIE.htc'); + } + } + } + + #nav { + li { + a { + position: relative; + box-shadow: none !important; + -ms-behavior: url('assets/js/ie/PIE.htc'); + } + } + } + + .box { + &.post { + .info { + box-shadow: none !important; + -ms-behavior: url('assets/js/ie/PIE.htc'); + + .stats { + li { + a { + position: relative; + box-shadow: none !important; + -ms-behavior: url('assets/js/ie/PIE.htc'); + } + } + } + } + } + } + + #logo { + position: relative; + box-shadow: none !important; + -ms-behavior: url('assets/js/ie/PIE.htc'); + }
\ No newline at end of file diff --git a/pelican-striped-html5up/static/sass/libs/_functions.scss b/pelican-striped-html5up/static/sass/libs/_functions.scss new file mode 100644 index 0000000..0e08c1a --- /dev/null +++ b/pelican-striped-html5up/static/sass/libs/_functions.scss @@ -0,0 +1,34 @@ +/// Gets a duration value.
+/// @param {string} $keys Key(s).
+/// @return {string} Value.
+@function _duration($keys...) {
+ @return val($duration, $keys...);
+}
+
+/// Gets a font value.
+/// @param {string} $keys Key(s).
+/// @return {string} Value.
+@function _font($keys...) {
+ @return val($font, $keys...);
+}
+
+/// Gets a misc value.
+/// @param {string} $keys Key(s).
+/// @return {string} Value.
+@function _misc($keys...) {
+ @return val($misc, $keys...);
+}
+
+/// Gets a palette value.
+/// @param {string} $keys Key(s).
+/// @return {string} Value.
+@function _palette($keys...) {
+ @return val($palette, $keys...);
+}
+
+/// Gets a size value.
+/// @param {string} $keys Key(s).
+/// @return {string} Value.
+@function _size($keys...) {
+ @return val($size, $keys...);
+}
\ No newline at end of file diff --git a/pelican-striped-html5up/static/sass/libs/_mixins.scss b/pelican-striped-html5up/static/sass/libs/_mixins.scss new file mode 100644 index 0000000..3325df0 --- /dev/null +++ b/pelican-striped-html5up/static/sass/libs/_mixins.scss @@ -0,0 +1,56 @@ +/// Makes an element's :before pseudoelement a FontAwesome icon.
+/// @param {string} $content Optional content value to use.
+/// @param {string} $where Optional pseudoelement to target (before or after).
+@mixin icon($content: false, $where: before) {
+
+ text-decoration: none;
+
+ &:#{$where} {
+
+ @if $content {
+ content: $content;
+ }
+
+ -moz-osx-font-smoothing: grayscale;
+ -webkit-font-smoothing: antialiased;
+ font-family: FontAwesome;
+ font-style: normal;
+ font-weight: normal;
+ text-transform: none !important;
+
+ }
+
+}
+
+/// Applies padding to an element, taking the current element-margin value into account.
+/// @param {mixed} $tb Top/bottom padding.
+/// @param {mixed} $lr Left/right padding.
+/// @param {list} $pad Optional extra padding (in the following order top, right, bottom, left)
+/// @param {bool} $important If true, adds !important.
+@mixin padding($tb, $lr, $pad: (0,0,0,0), $important: null) {
+
+ @if $important {
+ $important: '!important';
+ }
+
+ padding: ($tb + nth($pad,1)) ($lr + nth($pad,2)) max(0.1em, $tb - _size(element-margin) + nth($pad,3)) ($lr + nth($pad,4)) #{$important};
+
+}
+
+/// Encodes a SVG data URL so IE doesn't choke (via codepen.io/jakob-e/pen/YXXBrp).
+/// @param {string} $svg SVG data URL.
+/// @return {string} Encoded SVG data URL.
+@function svg-url($svg) {
+
+ $svg: str-replace($svg, '"', '\'');
+ $svg: str-replace($svg, '<', '%3C');
+ $svg: str-replace($svg, '>', '%3E');
+ $svg: str-replace($svg, '&', '%26');
+ $svg: str-replace($svg, '#', '%23');
+ $svg: str-replace($svg, '{', '%7B');
+ $svg: str-replace($svg, '}', '%7D');
+ $svg: str-replace($svg, ';', '%3B');
+
+ @return url("data:image/svg+xml;charset=utf8,#{$svg}");
+
+}
\ No newline at end of file diff --git a/pelican-striped-html5up/static/sass/libs/_skel.scss b/pelican-striped-html5up/static/sass/libs/_skel.scss new file mode 100644 index 0000000..438b147 --- /dev/null +++ b/pelican-striped-html5up/static/sass/libs/_skel.scss @@ -0,0 +1,585 @@ +// skel.scss v3.0.1 | (c) skel.io | MIT licensed */
+
+// Vars.
+
+ /// Breakpoints.
+ /// @var {list}
+ $breakpoints: () !global;
+
+ /// Vendor prefixes.
+ /// @var {list}
+ $vendor-prefixes: (
+ '-moz-',
+ '-webkit-',
+ '-ms-',
+ ''
+ );
+
+ /// Properties that should be vendorized.
+ /// @var {list}
+ $vendor-properties: (
+ 'align-content',
+ 'align-items',
+ 'align-self',
+ 'animation',
+ 'animation-delay',
+ 'animation-direction',
+ 'animation-duration',
+ 'animation-fill-mode',
+ 'animation-iteration-count',
+ 'animation-name',
+ 'animation-play-state',
+ 'animation-timing-function',
+ 'appearance',
+ 'backface-visibility',
+ 'box-sizing',
+ 'filter',
+ 'flex',
+ 'flex-basis',
+ 'flex-direction',
+ 'flex-flow',
+ 'flex-grow',
+ 'flex-shrink',
+ 'flex-wrap',
+ 'justify-content',
+ 'order',
+ 'perspective',
+ 'pointer-events',
+ 'transform',
+ 'transform-origin',
+ 'transform-style',
+ 'transition',
+ 'transition-delay',
+ 'transition-duration',
+ 'transition-property',
+ 'transition-timing-function',
+ 'user-select'
+ );
+
+ /// Values that should be vendorized.
+ /// @var {list}
+ $vendor-values: (
+ 'filter',
+ 'flex',
+ 'linear-gradient',
+ 'radial-gradient',
+ 'transform'
+ );
+
+// Functions.
+
+ /// Removes a specific item from a list.
+ /// @author Hugo Giraudel
+ /// @param {list} $list List.
+ /// @param {integer} $index Index.
+ /// @return {list} Updated list.
+ @function remove-nth($list, $index) {
+
+ $result: null;
+
+ @if type-of($index) != number {
+ @warn "$index: #{quote($index)} is not a number for `remove-nth`.";
+ }
+ @else if $index == 0 {
+ @warn "List index 0 must be a non-zero integer for `remove-nth`.";
+ }
+ @else if abs($index) > length($list) {
+ @warn "List index is #{$index} but list is only #{length($list)} item long for `remove-nth`.";
+ }
+ @else {
+
+ $result: ();
+ $index: if($index < 0, length($list) + $index + 1, $index);
+
+ @for $i from 1 through length($list) {
+
+ @if $i != $index {
+ $result: append($result, nth($list, $i));
+ }
+
+ }
+
+ }
+
+ @return $result;
+
+ }
+
+ /// Replaces a substring within another string.
+ /// @author Hugo Giraudel
+ /// @param {string} $string String.
+ /// @param {string} $search Substring.
+ /// @param {string} $replace Replacement.
+ /// @return {string} Updated string.
+ @function str-replace($string, $search, $replace: '') {
+
+ $index: str-index($string, $search);
+
+ @if $index {
+ @return str-slice($string, 1, $index - 1) + $replace + str-replace(str-slice($string, $index + str-length($search)), $search, $replace);
+ }
+
+ @return $string;
+
+ }
+
+ /// Replaces a substring within each string in a list.
+ /// @param {list} $strings List of strings.
+ /// @param {string} $search Substring.
+ /// @param {string} $replace Replacement.
+ /// @return {list} Updated list of strings.
+ @function str-replace-all($strings, $search, $replace: '') {
+
+ @each $string in $strings {
+ $strings: set-nth($strings, index($strings, $string), str-replace($string, $search, $replace));
+ }
+
+ @return $strings;
+
+ }
+
+ /// Gets a value from a map.
+ /// @author Hugo Giraudel
+ /// @param {map} $map Map.
+ /// @param {string} $keys Key(s).
+ /// @return {string} Value.
+ @function val($map, $keys...) {
+
+ @if nth($keys, 1) == null {
+ $keys: remove-nth($keys, 1);
+ }
+
+ @each $key in $keys {
+ $map: map-get($map, $key);
+ }
+
+ @return $map;
+
+ }
+
+// Mixins.
+
+ /// Sets the global box model.
+ /// @param {string} $model Model (default is content).
+ @mixin boxModel($model: 'content') {
+
+ $x: $model + '-box';
+
+ *, *:before, *:after {
+ -moz-box-sizing: #{$x};
+ -webkit-box-sizing: #{$x};
+ box-sizing: #{$x};
+ }
+
+ }
+
+ /// Wraps @content in a @media block using a given breakpoint.
+ /// @param {string} $breakpoint Breakpoint.
+ /// @param {map} $queries Additional queries.
+ @mixin breakpoint($breakpoint: null, $queries: null) {
+
+ $query: 'screen';
+
+ // Breakpoint.
+ @if $breakpoint and map-has-key($breakpoints, $breakpoint) {
+ $query: $query + ' and ' + map-get($breakpoints, $breakpoint);
+ }
+
+ // Queries.
+ @if $queries {
+ @each $k, $v in $queries {
+ $query: $query + ' and (' + $k + ':' + $v + ')';
+ }
+ }
+
+ @media #{$query} {
+ @content;
+ }
+
+ }
+
+ /// Wraps @content in a @media block targeting a specific orientation.
+ /// @param {string} $orientation Orientation.
+ @mixin orientation($orientation) {
+ @media screen and (orientation: #{$orientation}) {
+ @content;
+ }
+ }
+
+ /// Utility mixin for containers.
+ /// @param {mixed} $width Width.
+ @mixin containers($width) {
+
+ // Locked?
+ $lock: false;
+
+ @if length($width) == 2 {
+ $width: nth($width, 1);
+ $lock: true;
+ }
+
+ // Modifiers.
+ .container.\31 25\25 { width: 100%; max-width: $width * 1.25; min-width: $width; }
+ .container.\37 5\25 { width: $width * 0.75; }
+ .container.\35 0\25 { width: $width * 0.5; }
+ .container.\32 5\25 { width: $width * 0.25; }
+
+ // Main class.
+ .container {
+ @if $lock {
+ width: $width !important;
+ }
+ @else {
+ width: $width;
+ }
+ }
+
+ }
+
+ /// Utility mixin for grid.
+ /// @param {list} $gutters Column and row gutters (default is 40px).
+ /// @param {string} $breakpointName Optional breakpoint name.
+ @mixin grid($gutters: 40px, $breakpointName: null) {
+
+ // Gutters.
+ @include grid-gutters($gutters);
+ @include grid-gutters($gutters, \32 00\25, 2);
+ @include grid-gutters($gutters, \31 50\25, 1.5);
+ @include grid-gutters($gutters, \35 0\25, 0.5);
+ @include grid-gutters($gutters, \32 5\25, 0.25);
+
+ // Cells.
+ $x: '';
+
+ @if $breakpointName {
+ $x: '\\28' + $breakpointName + '\\29';
+ }
+
+ .\31 2u#{$x}, .\31 2u\24#{$x} { width: 100%; clear: none; margin-left: 0; }
+ .\31 1u#{$x}, .\31 1u\24#{$x} { width: 91.6666666667%; clear: none; margin-left: 0; }
+ .\31 0u#{$x}, .\31 0u\24#{$x} { width: 83.3333333333%; clear: none; margin-left: 0; }
+ .\39 u#{$x}, .\39 u\24#{$x} { width: 75%; clear: none; margin-left: 0; }
+ .\38 u#{$x}, .\38 u\24#{$x} { width: 66.6666666667%; clear: none; margin-left: 0; }
+ .\37 u#{$x}, .\37 u\24#{$x} { width: 58.3333333333%; clear: none; margin-left: 0; }
+ .\36 u#{$x}, .\36 u\24#{$x} { width: 50%; clear: none; margin-left: 0; }
+ .\35 u#{$x}, .\35 u\24#{$x} { width: 41.6666666667%; clear: none; margin-left: 0; }
+ .\34 u#{$x}, .\34 u\24#{$x} { width: 33.3333333333%; clear: none; margin-left: 0; }
+ .\33 u#{$x}, .\33 u\24#{$x} { width: 25%; clear: none; margin-left: 0; }
+ .\32 u#{$x}, .\32 u\24#{$x} { width: 16.6666666667%; clear: none; margin-left: 0; }
+ .\31 u#{$x}, .\31 u\24#{$x} { width: 8.3333333333%; clear: none; margin-left: 0; }
+
+ .\31 2u\24#{$x} + *,
+ .\31 1u\24#{$x} + *,
+ .\31 0u\24#{$x} + *,
+ .\39 u\24#{$x} + *,
+ .\38 u\24#{$x} + *,
+ .\37 u\24#{$x} + *,
+ .\36 u\24#{$x} + *,
+ .\35 u\24#{$x} + *,
+ .\34 u\24#{$x} + *,
+ .\33 u\24#{$x} + *,
+ .\32 u\24#{$x} + *,
+ .\31 u\24#{$x} + * {
+ clear: left;
+ }
+
+ .\-11u#{$x} { margin-left: 91.6666666667% }
+ .\-10u#{$x} { margin-left: 83.3333333333% }
+ .\-9u#{$x} { margin-left: 75% }
+ .\-8u#{$x} { margin-left: 66.6666666667% }
+ .\-7u#{$x} { margin-left: 58.3333333333% }
+ .\-6u#{$x} { margin-left: 50% }
+ .\-5u#{$x} { margin-left: 41.6666666667% }
+ .\-4u#{$x} { margin-left: 33.3333333333% }
+ .\-3u#{$x} { margin-left: 25% }
+ .\-2u#{$x} { margin-left: 16.6666666667% }
+ .\-1u#{$x} { margin-left: 8.3333333333% }
+
+ }
+
+ /// Utility mixin for grid.
+ /// @param {list} $gutters Gutters.
+ /// @param {string} $class Optional class name.
+ /// @param {integer} $multiplier Multiplier (default is 1).
+ @mixin grid-gutters($gutters, $class: null, $multiplier: 1) {
+
+ // Expand gutters if it's not a list.
+ @if length($gutters) == 1 {
+ $gutters: ($gutters, 0);
+ }
+
+ // Get column and row gutter values.
+ $c: nth($gutters, 1);
+ $r: nth($gutters, 2);
+
+ // Get class (if provided).
+ $x: '';
+
+ @if $class {
+ $x: '.' + $class;
+ }
+
+ // Default.
+ .row#{$x} > * { padding: ($r * $multiplier) 0 0 ($c * $multiplier); }
+ .row#{$x} { margin: ($r * $multiplier * -1) 0 -1px ($c * $multiplier * -1); }
+
+ // Uniform.
+ .row.uniform#{$x} > * { padding: ($c * $multiplier) 0 0 ($c * $multiplier); }
+ .row.uniform#{$x} { margin: ($c * $multiplier * -1) 0 -1px ($c * $multiplier * -1); }
+
+ }
+
+ /// Wraps @content in vendorized keyframe blocks.
+ /// @param {string} $name Name.
+ @mixin keyframes($name) {
+
+ @-moz-keyframes #{$name} { @content; }
+ @-webkit-keyframes #{$name} { @content; }
+ @-ms-keyframes #{$name} { @content; }
+ @keyframes #{$name} { @content; }
+
+ }
+
+ ///
+ /// Sets breakpoints.
+ /// @param {map} $x Breakpoints.
+ ///
+ @mixin skel-breakpoints($x: ()) {
+ $breakpoints: $x !global;
+ }
+
+ ///
+ /// Initializes layout module.
+ /// @param {map} config Config.
+ ///
+ @mixin skel-layout($config: ()) {
+
+ // Config.
+ $configPerBreakpoint: ();
+
+ $z: map-get($config, 'breakpoints');
+
+ @if $z {
+ $configPerBreakpoint: $z;
+ }
+
+ // Reset.
+ $x: map-get($config, 'reset');
+
+ @if $x {
+
+ /* Reset */
+
+ @include reset($x);
+
+ }
+
+ // Box model.
+ $x: map-get($config, 'boxModel');
+
+ @if $x {
+
+ /* Box Model */
+
+ @include boxModel($x);
+
+ }
+
+ // Containers.
+ $containers: map-get($config, 'containers');
+
+ @if $containers {
+
+ /* Containers */
+
+ .container {
+ margin-left: auto;
+ margin-right: auto;
+ }
+
+ // Use default is $containers is just "true".
+ @if $containers == true {
+ $containers: 960px;
+ }
+
+ // Apply base.
+ @include containers($containers);
+
+ // Apply per-breakpoint.
+ @each $name in map-keys($breakpoints) {
+
+ // Get/use breakpoint setting if it exists.
+ $x: map-get($configPerBreakpoint, $name);
+
+ // Per-breakpoint config exists?
+ @if $x {
+ $y: map-get($x, 'containers');
+
+ // Setting exists? Use it.
+ @if $y {
+ $containers: $y;
+ }
+
+ }
+
+ // Create @media block.
+ @media screen and #{map-get($breakpoints, $name)} {
+ @include containers($containers);
+ }
+
+ }
+
+ }
+
+ // Grid.
+ $grid: map-get($config, 'grid');
+
+ @if $grid {
+
+ /* Grid */
+
+ // Use defaults if $grid is just "true".
+ @if $grid == true {
+ $grid: ();
+ }
+
+ // Sub-setting: Gutters.
+ $grid-gutters: 40px;
+ $x: map-get($grid, 'gutters');
+
+ @if $x {
+ $grid-gutters: $x;
+ }
+
+ // Rows.
+ .row {
+ border-bottom: solid 1px transparent;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ box-sizing: border-box;
+ }
+
+ .row > * {
+ float: left;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ box-sizing: border-box;
+ }
+
+ .row:after, .row:before {
+ content: '';
+ display: block;
+ clear: both;
+ height: 0;
+ }
+
+ .row.uniform > * > :first-child {
+ margin-top: 0;
+ }
+
+ .row.uniform > * > :last-child {
+ margin-bottom: 0;
+ }
+
+ // Gutters (0%).
+ @include grid-gutters($grid-gutters, \30 \25, 0);
+
+ // Apply base.
+ @include grid($grid-gutters);
+
+ // Apply per-breakpoint.
+ @each $name in map-keys($breakpoints) {
+
+ // Get/use breakpoint setting if it exists.
+ $x: map-get($configPerBreakpoint, $name);
+
+ // Per-breakpoint config exists?
+ @if $x {
+ $y: map-get($x, 'grid');
+
+ // Setting exists?
+ @if $y {
+
+ // Sub-setting: Gutters.
+ $x: map-get($y, 'gutters');
+
+ @if $x {
+ $grid-gutters: $x;
+ }
+
+ }
+
+ }
+
+ // Create @media block.
+ @media screen and #{map-get($breakpoints, $name)} {
+ @include grid($grid-gutters, $name);
+ }
+
+ }
+
+ }
+
+ }
+
+ /// Resets browser styles.
+ /// @param {string} $mode Mode (default is 'normalize').
+ @mixin reset($mode: 'normalize') {
+
+ @if $mode == 'normalize' {
+
+ // normalize.css v3.0.2 | MIT License | git.io/normalize
+ html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}
+
+ }
+ @else if $mode == 'full' {
+
+ // meyerweb.com/eric/tools/css/reset v2.0 | 20110126 | License: none (public domain)
+ html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline;}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block;}body{line-height:1;}ol,ul{list-style:none;}blockquote,q{quotes:none;}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none;}table{border-collapse:collapse;border-spacing:0;}body{-webkit-text-size-adjust:none}
+
+ }
+
+ }
+
+ /// Vendorizes a declaration's property and/or value(s).
+ /// @param {string} $property Property.
+ /// @param {mixed} $value String/list of value(s).
+ @mixin vendor($property, $value) {
+
+ // Determine if property should expand.
+ $expandProperty: index($vendor-properties, $property);
+
+ // Determine if value should expand (and if so, add '-prefix-' placeholder).
+ $expandValue: false;
+
+ @each $x in $value {
+ @each $y in $vendor-values {
+ @if $y == str-slice($x, 1, str-length($y)) {
+
+ $value: set-nth($value, index($value, $x), '-prefix-' + $x);
+ $expandValue: true;
+
+ }
+ }
+ }
+
+ // Expand property?
+ @if $expandProperty {
+ @each $vendor in $vendor-prefixes {
+ #{$vendor}#{$property}: #{str-replace-all($value, '-prefix-', $vendor)};
+ }
+ }
+
+ // Expand just the value?
+ @elseif $expandValue {
+ @each $vendor in $vendor-prefixes {
+ #{$property}: #{str-replace-all($value, '-prefix-', $vendor)};
+ }
+ }
+
+ // Neither? Treat them as a normal declaration.
+ @else {
+ #{$property}: #{$value};
+ }
+
+ }
\ No newline at end of file diff --git a/pelican-striped-html5up/static/sass/libs/_vars.scss b/pelican-striped-html5up/static/sass/libs/_vars.scss new file mode 100644 index 0000000..396ddf6 --- /dev/null +++ b/pelican-striped-html5up/static/sass/libs/_vars.scss @@ -0,0 +1,23 @@ +// Misc.
+ $misc: (
+ z-index-base: 10000,
+ sidebar-side: 'left'
+ );
+
+// Duration.
+ $duration: (
+ sidebar: 0.5s
+ );
+
+// Size.
+ $size: (
+ sidebar: 14em
+ );
+
+// Font.
+ $font: (
+ );
+
+// Palette.
+ $palette: (
+ );
\ No newline at end of file diff --git a/pelican-striped-html5up/static/sass/main.scss b/pelican-striped-html5up/static/sass/main.scss new file mode 100644 index 0000000..03d2b1d --- /dev/null +++ b/pelican-striped-html5up/static/sass/main.scss @@ -0,0 +1,1445 @@ +@import 'libs/vars'; +@import 'libs/functions'; +@import 'libs/mixins'; +@charset "UTF-8"; +@import url("font-awesome.min.css"); +@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400italic,700|Open+Sans+Condensed:300,700"); + +/* + Striped by Pixelarity + pixelarity.com | hello@pixelarity.com + License: pixelarity.com/license +*/ + + @import "libs/skel"; + + @include skel-breakpoints(( + desktop: '(min-width: 737px)', + wide: '(min-width: 1201px)', + narrow: '(min-width: 737px) and (max-width: 1200px)', + narrower: '(min-width: 737px) and (max-width: 1000px)', + mobile: '(max-width: 736px)' + )); + + @include skel-layout(( + reset: 'full', + boxModel: 'border', + grid: ( gutters: (50px, 50px) ), + conditionals: true, + containers: 100%, + breakpoints: ( + mobile: ( + containers: (100%, true), + ) + ) + )); + +/* Basic */ + + body { + background-color: #e8e8e8; + background-image: url('images/bg02.png'); + font-family: 'Source Sans Pro', sans-serif; + font-weight: 400; + color: #565656; + + &.is-loading * { + @include vendor('transition', 'none !important'); + @include vendor('animation', 'none !important'); + } + } + + input, textarea, select { + font-family: 'Source Sans Pro', sans-serif; + font-weight: 400; + color: #565656; + } + + a { + color: #63ae9a; + } + + strong, b { + font-weight: 700; + color: #232323; + } + + h2, h3, h4, h5, h6 { + font-family: 'Open Sans Condensed', sans-serif; + font-weight: 700; + color: #232323; + } + + h2 a, h4 a, h5 a, h6 a { + text-decoration: none; + color: inherit; + } + + blockquote { + border-left: solid 5px #ddd; + padding: 1em 0 1em 2em; + font-style: italic; + } + + em, i { + font-style: italic; + } + + hr { + border: 0; + border-top: solid 1px #ddd; + padding: 1.5em 0 0 0; + margin: 1.75em 0 0 0; + } + + sub { + position: relative; + top: 0.5em; + font-size: 0.8em; + } + + sup { + position: relative; + top: -0.5em; + font-size: 0.8em; + } + + br.clear { + clear: both; + } + + p, ul, ol, dl { + margin-bottom: 1em; + } + +/* Table */ + + table { + margin-bottom: 1em; + width: 100%; + + &.default { + tbody { + tr { + &:nth-child(2n+2) { + background: #f4f4f4; + } + } + } + + td { + padding: 0.5em 1em 0.5em 1em; + } + + th { + text-align: left; + font-weight: 700; + padding: 0.75em 1em 0.75em 1em; + } + + thead { + border-bottom: solid 1px #ddd; + } + + tfoot { + border-top: solid 1px #ddd; + background: #eee; + } + } + } + +/* Form */ + + form { + label { + font-family: 'Open Sans Condensed', sans-serif; + font-weight: 700; + color: #232323; + margin: 0 0 0.75em 0; + } + + input[type="text"], + input[type="email"], + input[type="password"], + select, + textarea { + display: block; + border-radius: 0.4em; + -webkit-appearance: none; + border: solid 1px #ddd; + padding: 0.5em 0.75em; + width: 100%; + line-height: 1.25em; + + &:focus { + box-shadow: 0px 0px 2px 2px #63ae9a; + } + } + + ::-webkit-input-placeholder { + color: #aaa; + } + + :-moz-placeholder { + color: #aaa; + } + + ::-moz-placeholder { + color: #aaa; + } + + :-ms-input-placeholder { + color: #aaa; + } + } + +/* Section/Article */ + + header { + margin: 0 0 2em 0; + + > p { + font-family: 'Open Sans Condensed', sans-serif; + font-weight: 300; + display: block; + margin-top: 1em; + color: #999; + } + } + + section, article { + margin-bottom: 3em; + + > :last-child, + > .inner > :last-child, + &:last-child { + margin-bottom: 0; + } + } + +/* Image */ + + .image { + display: inline-block; + + img { + display: block; + width: 100%; + } + + &.fit { + display: block; + width: 100%; + } + + &.featured { + display: block; + width: 100%; + margin: 0 0 2em 0; + } + + &.left { + float: left; + margin: 0 2em 2em 0; + } + + &.centered { + display: block; + margin: 0 0 2em 0; + + img { + margin: 0 auto; + width: auto; + } + } + } + +/* Button */ + + input[type="button"], + input[type="submit"], + input[type="reset"], + button, + .button { + cursor: pointer; + background-color: #63ae9a; + background-image: url('images/bg01.png'); + border-radius: 0.4em; + text-align: center; + box-shadow: inset 0px 0px 0px 1px rgba(255, 255, 255, 0.15); + color: #fff; + font-family: 'Open Sans Condensed', sans-serif; + font-weight: 700; + text-decoration: none; + @include vendor('transition', ('background-color .25s ease-in-out', 'color .25s ease-in-out')); + text-shadow: -1px -1px 0px rgba(0, 0, 0, 0.5); + + &:disabled, &.disabled { + opacity: 0.35; + cursor: default; + } + + &:hover { + background-color: #73beaa; + } + + &:active { + background-color: #539e8a; + } + + &.alt { + background-color: #304046; + + &:hover { + background-color: #405056; + } + + &:active { + background-color: #203036; + } + } + } + +/* List */ + + ul { + &.default { + list-style: disc; + padding-left: 1em; + + li { + padding-left: 0.5em; + } + } + } + + ol { + &.default { + list-style: decimal; + padding-left: 1.25em; + + li { + padding-left: 0.25em; + } + } + } + +/* Pagination */ + + .pagination { + .pages { + display: inline-block; + font-family: 'Open Sans Condensed', sans-serif; + font-weight: 700; + + span { + display: inline-block; + width: 1.5em; + text-align: center; + margin: 0 0.4em 0 0; + } + + a { + cursor: pointer; + display: inline-block; + text-align: center; + text-decoration: none; + color: inherit; + background-color: #e8e8e8; + background-image: url('images/bg02.png'); + color: #565656; + margin: 0 0.4em 0 0; + border-radius: 0.4em; + @include vendor('transition', 'background-color .25s ease-in-out'); + box-shadow: inset 0 0.075em 0.25em 0 rgba(0, 0, 0, 0.1); + + &:hover { + background-color: #dadada; + } + + &.active { + background-color: #304046; + color: #fff; + box-shadow: none; + text-shadow: -1px -1px 0px rgba(0, 0, 0, 0.5); + } + } + } + } + +/* Box */ + + .box { + &.calendar { + .inner { + position: relative; + background-color: #272E39; + background-color: rgba(0, 0, 0, 0.15); + border-radius: 0.4em; + padding: 0.75em 0.5em 0.75em 0.5em; + box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 0 0.25em 0 rgba(0, 0, 0, 0.25); + } + + caption { + font-weight: 700; + color: #fff; + margin: 0 0 0.25em 0; + } + + table { + margin: 0 auto; + } + + td { + cursor: default; + padding: 0.35em 0 0.35em 0; + border-top: solid 1px rgba(0, 0, 0, 0.25); + box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.075); + } + + th { + cursor: default; + padding: 0.35em 0 0.35em 0; + border-top: solid 1px rgba(0, 0, 0, 0.25); + box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.075); + font-weight: 700; + color: #fff; + } + + td { + a, span { + display: block; + margin: 0 auto; + width: 1.5em; + height: 1.5em; + text-align: center; + line-height: 1.4em; + border-radius: 0.4em; + @include vendor('transition', 'background-color .25s ease-in-out'); + text-decoration: none; + } + + a { + color: #fff; + font-weight: 700; + + &:hover { + background-color: rgba(200, 225, 255, 0.1); + color: #fff; + } + } + + &.today { + a { + background-color: #63ae9a; + background-image: url('images/bg01.png'); + box-shadow: inset 0px 0px 0px 1px rgba(255, 255, 255, 0.15), 0 0.025em 0.15em 0em rgba(0, 0, 0, 0.25); + color: #fff !important; + } + } + } + } + + &.post { + position: relative; + + .info { + .stats { + margin: 0; + cursor: default; + + a { + font-size: 0.8em; + text-decoration: none; + color: #232323; + font-weight: 700; + line-height: 1em; + } + } + } + } + + &.recent-posts { + li { + border-top: solid 1px rgba(0, 0, 0, 0.25); + box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.075); + padding: 0.5em 0 0.5em 0; + + &:first-child { + border-top: 0; + box-shadow: none; + padding-top: 0; + } + + &:last-child { + padding-bottom: 0; + } + } + } + + &.recent-comments { + li { + border-top: solid 1px rgba(0, 0, 0, 0.25); + box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.075); + padding: 0.5em 0 0.5em 0; + + &:first-child { + border-top: 0; + box-shadow: none; + padding-top: 0; + } + + &:last-child { + padding-bottom: 0; + } + } + } + + &.search { + form { + position: relative; + + input { + position: relative; + padding-right: 34px; + } + + &:before { + display: inline-block; + font-family: FontAwesome; + font-size: 18px; + text-decoration: none; + font-style: normal; + font-weight: normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + content: '\f002'; + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1); + @include vendor('transform', 'scale(-1, 1)'); + position: absolute; + right: 0.5em; + top: 0.25em; + z-index: 1; + text-shadow: none; + color: #c8ccce; + } + } + } + + &.text-style1 { + .inner { + position: relative; + background-color: #272E39; + background-color: rgba(0, 0, 0, 0.15); + border-radius: 0.4em; + padding: 1.25em; + box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 0 0.25em 0 rgba(0, 0, 0, 0.25); + } + } + } + +/* Icons */ + + .icon { + position: relative; + text-decoration: none; + + &:before { + -moz-osx-font-smoothing: grayscale; + -webkit-font-smoothing: antialiased; + font-family: FontAwesome; + font-style: normal; + font-weight: normal; + text-transform: none !important; + } + + > .label { + display: none; + } + } + +/* Nav */ + + #nav { + > ul > li > ul { + display: none; + } + + ul { + margin: 0; + } + + li { + border-top: solid 1px rgba(0, 0, 0, 0.25); + box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.075); + padding: 0.5em 0 0.5em 0; + + &:first-child { + border: 0; + box-shadow: none; + padding-top: 0; + } + + &:last-child { + padding-bottom: 0; + } + + a { + display: block; + padding: 0.4em 1em 0.4em 1em; + text-decoration: none; + border-radius: 0.4em; + outline: 0; + @include vendor('transition', ('background-color .25s ease-in-out', 'color .25s ease-in-out')); + } + + &.current { + a { + background-color: #272E39 !important; + background-color: rgba(0, 0, 0, 0.15) !important; + box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 0 0.25em 0 rgba(0, 0, 0, 0.25); + font-weight: 700; + color: #fff; + } + } + + &:hover { + a { + background-color: rgba(255, 255, 255, 0.1); + color: #fff; + } + } + } + } + +/* Sidebar */ + + #titleBar { + @include vendor('backface-visibility', 'hidden'); + @include vendor('transition', 'transform #{_duration(sidebar)} ease'); + display: none; + height: 44px; + left: 0; + position: fixed; + top: 0; + width: 100%; + z-index: _misc(z-index-base) + 1; + background: #304046 url('images/bg01.png'); + + .title { + display: block; + color: #fff; + line-height: 44px; + font-size: 1.25em; + font-family: 'Open Sans Condensed', sans-serif; + font-weight: 700; + letter-spacing: 0.1em; + text-shadow: -1px -1px 0px rgba(0, 0, 0, 0.5); + box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.25); + text-align: center; + + a { + color: inherit; + text-decoration: none; + } + } + + .toggle { + width: 80px; + height: 60px; + position: absolute; + top: 0; + + @if _misc(sidebar-side) == 'left' { + left: 0; + } + @else { + right: 0; + } + + &:before { + font-family: FontAwesome; + text-decoration: none; + font-style: normal; + font-weight: normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + content: '\f0c9'; + display: block; + position: absolute; + top: 7px; + font-size: 14px; + width: 50px; + height: 30px; + line-height: 30px; + background: #63ae9a url('images/bg01.png'); + border-radius: 5px; + color: #fff; + text-align: center; + box-shadow: inset 0px 0px 0px 1px rgba(255, 255, 255, 0.15), 0 0.025em 0.15em 0em rgba(0, 0, 0, 0.25); + text-shadow: -1px -1px 0px rgba(0, 0, 0, 0.5); + + @if _misc(sidebar-side) == 'left' { + left: 7px; + } + @else { + right: 7px; + } + } + + &:active { + &:before { + background-color: #73beaa; + } + } + } + } + + #sidebar { + color: #aaa; + color: rgba(255, 255, 255, 0.55); + text-shadow: -1px -1px 0px rgba(0, 0, 0, 0.5); + width: _size(sidebar); + padding: 3em 1.35em 1em 1.15em; + background: #304046 url('images/bg01.png'); + overflow-y: auto; + + @if _misc(sidebar-side) == 'left' { + left: 0; + box-shadow: inset -0.1em 0em 0.35em 0em rgba(0, 0, 0, 0.15); + } + @else { + right: 0; + box-shadow: inset 0.1em 0em 0.35em 0em rgba(0, 0, 0, 0.15); + } + + form { + input, select, textarea { + border: 0; + } + } + + section, nav { + position: relative; + margin: 2em 0 0 0; + font-size: 0.9em; + + &:before { + content: ''; + border-top: solid 1px; + border-bottom: solid 1px; + border-color: #171E29; + border-color: rgba(0, 0, 0, 0.25); + box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.075), 0px 1px 0px 0px rgba(255, 255, 255, 0.075); + display: block; + height: 0.5em; + margin: 0 0 2em 0; + } + } + + strong, b { + color: #fff; + } + + a { + color: #d4dde0; + } + + h2, h3, h4, h5, h6 { + color: #fff; + } + + header { + margin: 0 0 1.25em 0; + } + } + +/* Content */ + + #content { + position: relative; + background-color: #fff; + background-image: url('images/bg02.png'); + + > .inner { + position: relative; + z-index: 1; + } + } + +/* Copyright */ + + #copyright { + padding-bottom: 2em; + + p { + opacity: 0.75; + } + + a { + color: inherit !important; + } + + &:before { + content: ''; + border-top: solid 1px; + border-bottom: solid 1px; + border-color: #171E29; + border-color: rgba(0, 0, 0, 0.25); + box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.075), 0px 1px 0px 0px rgba(255, 255, 255, 0.075); + display: block; + } + } + +/* Desktop */ + + @include breakpoint(desktop) { + + /* Basic */ + + body { + height: 100%; + line-height: 1.75em; + } + + input, textarea, select { + line-height: 1.75em; + } + + h2 { + font-size: 1.2em; + } + + h3, h4, h5, h6 { + font-size: 1em; + } + + /* Button */ + + input[type="button"], + input[type="submit"], + input[type="reset"], + .button, + button { + display: inline-block; + padding: 0.5em 2em 0.5em 2em; + + &.small { + font-size: 0.85em; + padding: 0.35em 1.5em 0.35em 1.5em; + } + + &.big { + font-size: 1.25em; + padding: 0.75em 2em 0.75em 2em; + } + + &.huge { + font-size: 1.5em; + padding: 0.75em 2em 0.75em 2em; + } + } + + /* Pagination */ + + .pagination { + padding: 3em 0 0 0; + + .previous { + margin-right: 0.6em; + } + + .next { + margin-left: 0.2em; + } + + .pages { + a { + width: 2.75em; + height: 2.75em; + line-height: 2.75em; + } + } + + .button { + height: 2.75em; + padding-top: 0; + padding-bottom: 0; + line-height: 2.75em; + } + } + + /* Box */ + + .box { + &.post { + .info { + .stats { + li { + a { + border-radius: 0.4em; + opacity: 0.5; + @include vendor('transition', ('opacity .25s ease-in-out', 'background-color .25s ease-in-out')); + } + + &:hover { + a { + background-color: #f4f4f4; + opacity: 1.0; + } + } + } + } + } + } + } + + /* Logo */ + + #logo { + font-family: 'Open Sans Condensed', sans-serif; + font-weight: 700; + font-size: 2em; + letter-spacing: 0.1em; + + a { + display: block; + background-color: #63ae9a; + background-image: url('images/bg01.png'); + padding: 0.875em 0.25em; + border-radius: 0.2em; + text-align: center; + box-shadow: inset 0px 0px 0px 1px rgba(255, 255, 255, 0.15), 0 0.025em 0.15em 0em rgba(0, 0, 0, 0.25); + text-decoration: none; + color: #fff; + } + } + + /* Content */ + + #content { + box-shadow: 0 0 0.25em 0em rgba(0, 0, 0, 0.25); + + > .inner { + /* + This sets an upper limit on your page content to prevent it + from looking insane on really wide displays. It's currently set + to the width of the sample post images, but you can change it to + whatever you like (or remove it entirely). + */ + max-width: 1038px; + padding-bottom: 6em; + } + } + + /* Sidebar */ + + #sidebar { + position: absolute; + top: 0; + } + + /* Copyright */ + + #copyright { + margin: 2em 0 0 0; + text-align: center; + + p { + font-size: 0.8em; + line-height: 2em; + } + + &:before { + height: 0.5em; + margin: 0 0 2em 0; + } + } + + } + +/* Wide */ + + @include breakpoint(wide) { + + /* Basic */ + + body { + min-width: 1200px; + font-size: 12pt; + } + + input, textarea, select { + font-size: 12pt; + } + + /* Box */ + + .box { + &.post { + h2 { + font-size: 3.25em; + line-height: 1.25em; + } + + header { + padding: 2.75em 0 0 0; + margin: 0 0 3em 0; + + > p { + font-size: 2.25em; + line-height: 1.5em; + position: relative; + top: -0.65em; + margin-bottom: -0.65em; + } + } + + .info { + position: absolute; + width: 5.5em; + overflow: hidden; + background-color: #fff; + background-image: url('images/bg02.png'); + left: -10.5em; + top: 0; + padding: 1.5em 1em 1.5em 1em; + border-top-left-radius: 0.4em; + border-bottom-left-radius: 0.4em; + box-shadow: 0.25em 0 0 0 #fbfbfb, 0 0 0.25em 0em rgba(0, 0, 0, 0.25); + + .date { + position: relative; + z-index: 1; + font-family: 'Open Sans Condensed', sans-serif; + font-weight: 400; + text-align: center; + display: block; + font-size: 1.5em; + color: #999; + border-bottom: solid 1px #ddd; + padding: 0 0 1em 0; + margin: 0 0 0.75em 0; + + .year, + .month span { + display: none; + } + + .day { + display: block; + margin: 0.25em 0 0 0; + font-size: 1.5em; + font-weight: 700; + color: #1b252a; + } + } + + .stats { + position: relative; + z-index: 1; + + li { + margin: 1.25em 0 0 0; + + a { + position: relative; + display: block; + text-align: right; + padding: 0 0.5em 0 0.5em; + + &:before { + position: absolute; + left: 0; + top: 50%; + margin-top: -0.5em; + font-size: 16px; + width: 1.5em; + text-align: center; + opacity: 0.35; + } + } + } + } + } + } + } + + /* Content */ + + #content { + padding: 3em 5em 8em 5em; + + @if _misc(sidebar-side) == 'left' { + margin-left: _size(sidebar) + 7em; + } + @else { + margin-right: _size(sidebar); + margin-left: 7em; + } + } + + } + +/* Narrow */ + + @include breakpoint(narrow) { + + /* Basic */ + + body { + min-width: 1000px; + font-size: 11pt; + } + + input, textarea, select { + font-size: 11pt; + } + + /* Box */ + + .box { + &.post { + h2 { + font-size: 3.25em; + line-height: 1.25em; + } + + header { + padding: 1.5em 0 0 0; + margin: 0 0 3em 0; + + > p { + font-size: 1.75em; + line-height: 1.5em; + position: relative; + top: -0.75em; + margin-bottom: -0.75em; + } + } + + .info { + width: 100%; + padding: 1em 0 0 0; + position: relative; + top: -2em; + + .date { + display: inline; + } + + .stats { + display: inline; + border-left: solid 1px #ddd; + margin-left: 1em; + padding-left: 1em; + + li { + display: inline-block; + margin-left: 0.25em; + + a { + display: inline-block; + padding-right: 0.5em; + + &:before { + position: relative; + width: 1.75em; + text-align: center; + margin-right: 0.35em; + opacity: 0.35; + } + } + } + } + } + } + } + + /* Content */ + + #content { + padding: 2em 3em 6em 3em; + + @if _misc(sidebar-side) == 'left' { + margin-left: _size(sidebar); + } + @else { + margin-right: _size(sidebar); + } + } + + } + +/* Narrower */ + + @include breakpoint(narrower) { + + /* Basic */ + + body { + min-width: 641px; + font-size: 14pt; + } + + input, textarea, select { + font-size: 14pt; + } + + /* Logo */ + + #logo { + display: none; + } + + /* Nav */ + + #nav { + margin-top: 0 !important; + + &:before { + display: none !important; + } + + li { + &:hover { + a { + background: none; + } + } + } + } + + /* Sidebar */ + + #sidebar { + padding: 30px 20px 30px 20px; + } + + } + +/* Mobile */ + + @include breakpoint(mobile) { + + /* Basic */ + + body, input, textarea, select { + line-height: 1.75em; + font-size: 11pt; + letter-spacing: 0; + } + + h2, h3, h4, h5, h6 { + font-size: 1.5em; + } + + /* Section/Article */ + + section, article { + clear: both; + } + + /* Button */ + + input[type="button"], + input[type="submit"], + input[type="reset"], + button, + .button { + display: block; + width: 100%; + font-size: 1.25em; + padding: 0.75em 0 0.75em 0; + margin: 0.5em 0 0.5em 0; + } + + /* Pagination */ + + .pagination { + .pages { + display: none; + } + } + + /* Box */ + + .box { + &.post { + padding-bottom: 5em; + margin-bottom: 6em; + + header { + > p { + font-size: 1em; + font-family: 'Source Sans Pro', sans-serif; + line-height: 1.5em; + } + } + + .info { + width: 100%; + position: absolute; + bottom: 0; + left: 0; + border-top: solid 1px #ddd; + padding-top: 0.5em; + + .date { + display: inline; + + .year, .month span { + display: none; + } + } + + .stats { + display: inline; + border-left: solid 1px #ddd; + margin-left: 0.75em; + padding-left: 0.75em; + + li { + display: inline-block; + margin-right: 0.85em; + + a { + display: inline-block; + opacity: 0.5; + + &:before { + position: relative; + top: 0.1em; + margin-right: 0.5em; + opacity: 0.35; + } + + &:active { + opacity: 1.0; + } + } + } + } + } + } + } + + /* Logo */ + + #logo { + display: none; + } + + /* Nav */ + + #nav { + margin-top: 0 !important; + + &:before { + display: none !important; + } + + li:hover { + a { + background: none; + } + } + } + + /* Content */ + + #content { + margin-top: 44px; + padding: 3em 20px 2em 20px; + } + + /* Sidebar */ + + #sidebar { + padding: 20px 12px 20px 10px; + box-shadow: inset -1px 0 0 0 rgba(255, 255, 255, 0.15), inset -0.1em 0 0.5em 0 rgba(0, 0, 0, 0.25); + } + + /* Copyright */ + + #copyright { + margin: 2em 0 0 0; + text-align: center; + + p { + font-size: 0.9em; + line-height: 2em; + } + + &:before { + height: 0.5em; + margin: 0 0 2em 0; + } + } + + } + +/* Off-Canvas Sidebar */ + + @media screen and (max-width: 1000px) { + + /* Basic */ + + html, body { + overflow-x: hidden; + } + + /* Content */ + + #content { + @include vendor('backface-visibility', 'hidden'); + @include vendor('transition', 'transform #{_duration(sidebar)} ease'); + margin-top: 44px; + margin-left: 0; + margin-right: 0; + min-height: 0 !important; + } + + /* Sidebar */ + + #titleBar { + display: block; + } + + #sidebar { + @include vendor('backface-visibility', 'hidden'); + @include vendor('transition', ('transform #{_duration(sidebar)} ease')); + display: block; + height: 100% !important; + min-height: 0 !important; + overflow-y: auto; + position: fixed; + top: 0; + z-index: _misc(z-index-base) + 2; + + @if _misc(sidebar-side) == 'left' { + @include vendor('transform', 'translateX(#{_size(sidebar) * -1})'); + } + @else { + @include vendor('transform', 'translateX(#{_size(sidebar)})'); + } + } + + body { + &.sidebar-visible { + #content, #titleBar { + @if _misc(sidebar-side) == 'left' { + @include vendor('transform', 'translateX(#{_size(sidebar)})'); + } + @else { + @include vendor('transform', 'translateX(#{_size(sidebar) * -1})'); + } + } + + #sidebar { + @include vendor('transform', 'translateX(0)'); + } + } + } + + }
\ No newline at end of file |