squidpress 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (128) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +8 -0
  3. data/README.markdown +32 -0
  4. data/_includes/after_footer.html +5 -0
  5. data/_includes/archive_post.html +8 -0
  6. data/_includes/article.html +29 -0
  7. data/_includes/asides/delicious.html +8 -0
  8. data/_includes/asides/github.html +30 -0
  9. data/_includes/asides/googleplus.html +11 -0
  10. data/_includes/asides/pinboard.html +19 -0
  11. data/_includes/asides/recent_posts.html +10 -0
  12. data/_includes/custom/after_footer.html +3 -0
  13. data/_includes/custom/asides/about.html +4 -0
  14. data/_includes/custom/category_feed.xml +27 -0
  15. data/_includes/custom/footer.html +4 -0
  16. data/_includes/custom/head.html +3 -0
  17. data/_includes/custom/header.html +6 -0
  18. data/_includes/custom/navigation.html +4 -0
  19. data/_includes/disqus.html +21 -0
  20. data/_includes/facebook_like.html +10 -0
  21. data/_includes/footer.html +1 -0
  22. data/_includes/google_analytics.html +13 -0
  23. data/_includes/google_plus_one.html +9 -0
  24. data/_includes/head.html +30 -0
  25. data/_includes/header.html +1 -0
  26. data/_includes/navigation.html +15 -0
  27. data/_includes/post/author.html +8 -0
  28. data/_includes/post/categories.html +10 -0
  29. data/_includes/post/date.html +5 -0
  30. data/_includes/post/disqus_thread.html +1 -0
  31. data/_includes/post/sharing.html +11 -0
  32. data/_includes/twitter_sharing.html +11 -0
  33. data/_layouts/category_index.html +17 -0
  34. data/_layouts/default.html +14 -0
  35. data/_layouts/page.html +42 -0
  36. data/_layouts/post.html +43 -0
  37. data/_sass/_base.scss +5 -0
  38. data/_sass/_minicompass.scss +38 -0
  39. data/_sass/_partials.scss +8 -0
  40. data/_sass/base/_layout.scss +198 -0
  41. data/_sass/base/_solarized.scss +47 -0
  42. data/_sass/base/_theme.scss +92 -0
  43. data/_sass/base/_typography.scss +166 -0
  44. data/_sass/base/_utilities.scss +32 -0
  45. data/_sass/custom/_colors.scss +43 -0
  46. data/_sass/custom/_fonts.scss +10 -0
  47. data/_sass/custom/_layout.scss +21 -0
  48. data/_sass/custom/_styles.scss +2 -0
  49. data/_sass/minicompass/border-radius.scss +14 -0
  50. data/_sass/minicompass/bullets.scss +36 -0
  51. data/_sass/minicompass/clearfix.scss +20 -0
  52. data/_sass/minicompass/horizontal-list.scss +58 -0
  53. data/_sass/minicompass/hover-link.scss +5 -0
  54. data/_sass/minicompass/link-colors.scss +28 -0
  55. data/_sass/minicompass/reset.scss +117 -0
  56. data/_sass/partials/_archive.scss +75 -0
  57. data/_sass/partials/_blog.scss +141 -0
  58. data/_sass/partials/_footer.scss +23 -0
  59. data/_sass/partials/_header.scss +18 -0
  60. data/_sass/partials/_navigation.scss +141 -0
  61. data/_sass/partials/_sharing.scss +8 -0
  62. data/_sass/partials/_sidebar.scss +4 -0
  63. data/_sass/partials/_syntax.scss +268 -0
  64. data/_sass/partials/sidebar/_base.scss +107 -0
  65. data/_sass/partials/sidebar/_delicious.scss +4 -0
  66. data/_sass/partials/sidebar/_googleplus.scss +26 -0
  67. data/_sass/partials/sidebar/_pinboard.scss +14 -0
  68. data/_sass/plugins/_plugins.scss +6 -0
  69. data/assets/images/bird_32_gray.png +0 -0
  70. data/assets/images/bird_32_gray_fail.png +0 -0
  71. data/assets/images/code_bg.png +0 -0
  72. data/assets/images/dotted-border.png +0 -0
  73. data/assets/images/email.png +0 -0
  74. data/assets/images/line-tile.png +0 -0
  75. data/assets/images/noise.png +0 -0
  76. data/assets/images/rss.png +0 -0
  77. data/assets/images/search.png +0 -0
  78. data/assets/javascripts/github.js +32 -0
  79. data/assets/javascripts/libs/jXHR.js +85 -0
  80. data/assets/javascripts/libs/jquery.min.js +5 -0
  81. data/assets/javascripts/libs/swfobject-dynamic.js +298 -0
  82. data/assets/javascripts/modernizr-2.0.js +5 -0
  83. data/assets/javascripts/octopress.js +151 -0
  84. data/assets/javascripts/pinboard.js +56 -0
  85. data/assets/javascripts/twitter.js +78 -0
  86. data/assets/jwplayer/glow/controlbar/background.png +0 -0
  87. data/assets/jwplayer/glow/controlbar/blankButton.png +0 -0
  88. data/assets/jwplayer/glow/controlbar/divider.png +0 -0
  89. data/assets/jwplayer/glow/controlbar/fullscreenButton.png +0 -0
  90. data/assets/jwplayer/glow/controlbar/fullscreenButtonOver.png +0 -0
  91. data/assets/jwplayer/glow/controlbar/muteButton.png +0 -0
  92. data/assets/jwplayer/glow/controlbar/muteButtonOver.png +0 -0
  93. data/assets/jwplayer/glow/controlbar/normalscreenButton.png +0 -0
  94. data/assets/jwplayer/glow/controlbar/normalscreenButtonOver.png +0 -0
  95. data/assets/jwplayer/glow/controlbar/pauseButton.png +0 -0
  96. data/assets/jwplayer/glow/controlbar/pauseButtonOver.png +0 -0
  97. data/assets/jwplayer/glow/controlbar/playButton.png +0 -0
  98. data/assets/jwplayer/glow/controlbar/playButtonOver.png +0 -0
  99. data/assets/jwplayer/glow/controlbar/timeSliderBuffer.png +0 -0
  100. data/assets/jwplayer/glow/controlbar/timeSliderCapLeft.png +0 -0
  101. data/assets/jwplayer/glow/controlbar/timeSliderCapRight.png +0 -0
  102. data/assets/jwplayer/glow/controlbar/timeSliderProgress.png +0 -0
  103. data/assets/jwplayer/glow/controlbar/timeSliderRail.png +0 -0
  104. data/assets/jwplayer/glow/controlbar/unmuteButton.png +0 -0
  105. data/assets/jwplayer/glow/controlbar/unmuteButtonOver.png +0 -0
  106. data/assets/jwplayer/glow/display/background.png +0 -0
  107. data/assets/jwplayer/glow/display/bufferIcon.png +0 -0
  108. data/assets/jwplayer/glow/display/muteIcon.png +0 -0
  109. data/assets/jwplayer/glow/display/playIcon.png +0 -0
  110. data/assets/jwplayer/glow/dock/button.png +0 -0
  111. data/assets/jwplayer/glow/glow.xml +115 -0
  112. data/assets/jwplayer/glow/playlist/item.png +0 -0
  113. data/assets/jwplayer/glow/playlist/itemOver.png +0 -0
  114. data/assets/jwplayer/glow/playlist/sliderCapBottom.png +0 -0
  115. data/assets/jwplayer/glow/playlist/sliderCapTop.png +0 -0
  116. data/assets/jwplayer/glow/playlist/sliderRail.png +0 -0
  117. data/assets/jwplayer/glow/playlist/sliderThumb.png +0 -0
  118. data/assets/jwplayer/glow/sharing/embedIcon.png +0 -0
  119. data/assets/jwplayer/glow/sharing/embedScreen.png +0 -0
  120. data/assets/jwplayer/glow/sharing/shareIcon.png +0 -0
  121. data/assets/jwplayer/glow/sharing/shareScreen.png +0 -0
  122. data/assets/jwplayer/player.swf +0 -0
  123. data/assets/stylesheets/screen.scss +14 -0
  124. data/atom.xml +27 -0
  125. data/favicon.png +0 -0
  126. data/index.html +29 -0
  127. data/robots.txt +7 -0
  128. metadata +211 -0
@@ -0,0 +1,58 @@
1
+ // Horizontal list layout module.
2
+ //
3
+ // Easy mode using simple descendant li selectors:
4
+ //
5
+ // ul.nav
6
+ // +horizontal-list
7
+ //
8
+ // Advanced mode:
9
+ // If you need to target the list items using a different selector then use
10
+ // +horizontal-list-container on your ul/ol and +horizontal-list-item on your li.
11
+ // This may help when working on layouts involving nested lists. For example:
12
+ //
13
+ // ul.nav
14
+ // +horizontal-list-container
15
+ // > li
16
+ // +horizontal-list-item
17
+
18
+ @use "minicompass/bullets";
19
+ @use "minicompass/clearfix";
20
+ @use "minicompass/reset";
21
+
22
+ // Can be mixed into any selector that target a ul or ol that is meant
23
+ // to have a horizontal layout. Used to implement +horizontal-list.
24
+ @mixin horizontal-list-container {
25
+ @include reset.reset-box-model;
26
+ @include clearfix.clearfix; }
27
+
28
+ // Can be mixed into any li selector that is meant to participate in a horizontal layout.
29
+ // Used to implement +horizontal-list.
30
+ //
31
+ // :last-child is not fully supported
32
+ // see http://www.quirksmode.org/css/contents.html#t29 for the support matrix
33
+ //
34
+ // IE8 ignores rules that are included on the same line as :last-child
35
+ // see http://www.richardscarrott.co.uk/posts/view/ie8-last-child-bug for details
36
+ //
37
+ // Setting `$padding` to `false` disables the padding between list elements
38
+ @mixin horizontal-list-item($padding: 4px, $direction: left) {
39
+ @include bullets.no-bullet;
40
+ white-space: nowrap;
41
+ float: $direction;
42
+ @if $padding {
43
+ padding: {
44
+ left: $padding;
45
+ right: $padding;
46
+ }
47
+ &:last-child { padding-#{opposite-position($direction)}: 0; }
48
+ }
49
+ }
50
+
51
+ // A list(ol,ul) that is layed out such that the elements are floated left and won't wrap.
52
+ // This is not an inline list.
53
+ //
54
+ // Setting `$padding` to `false` disables the padding between list elements
55
+ @mixin horizontal-list($padding: 4px, $direction: left) {
56
+ @include horizontal-list-container;
57
+ li {
58
+ @include horizontal-list-item($padding, $direction); } }
@@ -0,0 +1,5 @@
1
+ // a link that only has an underline when you hover over it
2
+ @mixin hover-link {
3
+ text-decoration: none;
4
+ &:hover, &:focus {
5
+ text-decoration: underline; } }
@@ -0,0 +1,28 @@
1
+ // Set all the colors for a link with one mixin call.
2
+ // Order of arguments is:
3
+ //
4
+ // 1. normal
5
+ // 2. hover
6
+ // 3. active
7
+ // 4. visited
8
+ // 5. focus
9
+ //
10
+ // Those states not specified will inherit.
11
+ // Mixin to an anchor link like so:
12
+ // a
13
+ // +link-colors(#00c, #0cc, #c0c, #ccc, #cc0)
14
+
15
+ @mixin link-colors($normal, $hover: false, $active: false, $visited: false, $focus: false) {
16
+ color: $normal;
17
+ @if $visited {
18
+ &:visited {
19
+ color: $visited; } }
20
+ @if $focus {
21
+ &:focus {
22
+ color: $focus; } }
23
+ @if $hover {
24
+ &:hover {
25
+ color: $hover; } }
26
+ @if $active {
27
+ &:active {
28
+ color: $active; } } }
@@ -0,0 +1,117 @@
1
+ // Based on [Eric Meyer's reset 2.0](http://meyerweb.com/eric/tools/css/reset/index.html)
2
+ // Global reset rules.
3
+ // For more specific resets, use the reset mixins provided below
4
+ @mixin global-reset {
5
+ html, body, div, span, applet, object, iframe,
6
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
7
+ a, abbr, acronym, address, big, cite, code,
8
+ del, dfn, em, img, ins, kbd, q, s, samp,
9
+ small, strike, strong, sub, sup, tt, var,
10
+ b, u, i, center,
11
+ dl, dt, dd, ol, ul, li,
12
+ fieldset, form, label, legend,
13
+ table, caption, tbody, tfoot, thead, tr, th, td,
14
+ article, aside, canvas, details, embed,
15
+ figure, figcaption, footer, header, hgroup,
16
+ menu, nav, output, ruby, section, summary,
17
+ time, mark, audio, video {
18
+ @include reset-box-model;
19
+ @include reset-font; }
20
+ // Unlike Eric's original reset, we reset the html element to be compatible
21
+ // with the vertical rhythm mixins.
22
+ html {
23
+ @include reset-body; }
24
+ ol, ul {
25
+ @include reset-list-style; }
26
+ table {
27
+ @include reset-table; }
28
+ caption, th, td {
29
+ @include reset-table-cell; }
30
+ q, blockquote {
31
+ @include reset-quotation; }
32
+ a img {
33
+ @include reset-image-anchor-border; }
34
+ @include reset-html5; }
35
+
36
+ // Reset all elements within some selector scope. To reset the selector itself,
37
+ // mixin the appropriate reset mixin for that element type as well. This could be
38
+ // useful if you want to style a part of your page in a dramatically different way.
39
+ @mixin nested-reset {
40
+ div, span, applet, object, iframe,
41
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
42
+ a, abbr, acronym, address, big, cite, code,
43
+ del, dfn, em, img, ins, kbd, q, s, samp,
44
+ small, strike, strong, sub, sup, tt, var,
45
+ b, u, i, center,
46
+ dl, dt, dd, ol, ul, li,
47
+ fieldset, form, label, legend,
48
+ table, caption, tbody, tfoot, thead, tr, th, td,
49
+ article, aside, canvas, details, embed,
50
+ figure, figcaption, footer, header, hgroup,
51
+ menu, nav, output, ruby, section, summary,
52
+ time, mark, audio, video {
53
+ @include reset-box-model;
54
+ @include reset-font; }
55
+ table {
56
+ @include reset-table; }
57
+ caption, th, td {
58
+ @include reset-table-cell; }
59
+ q, blockquote {
60
+ @include reset-quotation; }
61
+ a img {
62
+ @include reset-image-anchor-border; } }
63
+
64
+ // Reset the box model measurements.
65
+ @mixin reset-box-model {
66
+ margin: 0;
67
+ padding: 0;
68
+ border: 0; }
69
+
70
+ // Reset the font and vertical alignment.
71
+ @mixin reset-font {
72
+ font: inherit;
73
+ font-size: 100%;
74
+ vertical-align: baseline; }
75
+
76
+ // Resets the outline when focus.
77
+ // For accessibility you need to apply some styling in its place.
78
+ @mixin reset-focus {
79
+ outline: 0; }
80
+
81
+ // Reset a body element.
82
+ @mixin reset-body {
83
+ line-height: 1; }
84
+
85
+ // Reset the list style of an element.
86
+ @mixin reset-list-style {
87
+ list-style: none; }
88
+
89
+ // Reset a table
90
+ @mixin reset-table {
91
+ border-collapse: collapse;
92
+ border-spacing: 0; }
93
+
94
+ // Reset a table cell (`th`, `td`)
95
+ @mixin reset-table-cell {
96
+ text-align: left;
97
+ font-weight: normal;
98
+ vertical-align: middle; }
99
+
100
+ // Reset a quotation (`q`, `blockquote`)
101
+ @mixin reset-quotation {
102
+ quotes: none;
103
+ &:before, &:after {
104
+ content: "";
105
+ content: none; } }
106
+
107
+ // Resets the border.
108
+ @mixin reset-image-anchor-border {
109
+ border: none; }
110
+
111
+ // Unrecognized elements are displayed inline.
112
+ // This reset provides a basic reset for block html5 elements
113
+ // so they are rendered correctly in browsers that don't recognize them
114
+ // and reset in browsers that have default styles for them.
115
+ @mixin reset-html5 {
116
+ article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
117
+ display: block; } }
@@ -0,0 +1,75 @@
1
+ @use "minicompass/hover-link";
2
+ @use "minicompass/link-colors";
3
+
4
+ #archive {
5
+ #content > div { &, > article { padding-top: 0; } }
6
+ }
7
+ #blog-archives {
8
+ article {
9
+ padding: 1em 0 1em;
10
+ position: relative;
11
+ background: $img-border bottom left repeat-x;
12
+ &:last-child {
13
+ background: none;
14
+ }
15
+ footer { padding: 0; margin: 0;}
16
+ }
17
+ h1 { color: $text-color; margin-bottom: .3em; }
18
+ h2 { display: none; }
19
+ h1 {
20
+ font-size: 1.5em;
21
+ a {
22
+ @include hover-link.hover-link;
23
+ color: inherit;
24
+ &:hover { color: $link-color-hover; }
25
+ font-weight: normal;
26
+ display: inline-block;
27
+ }
28
+ }
29
+ a.category, time {
30
+ @extend .sans;
31
+ color: $text-color-light;
32
+ }
33
+ color: $text-color-light;
34
+ .entry-content { display: none; }
35
+ time {
36
+ font-size: .9em;
37
+ line-height: 1.2em;
38
+ .month, .day { display: inline-block; }
39
+ .month { text-transform: uppercase; }
40
+ }
41
+ p { margin-bottom: 1em; }
42
+ &, .entry-content { a { @include link-colors.link-colors(inherit, $link-color-hover); }}
43
+ a:hover { color: $link-color-hover; }
44
+ @media only screen and (min-width: 550px) {
45
+ article { margin-left: 5em; }
46
+ h2 {
47
+ margin-bottom: .3em;
48
+ font-weight: normal;
49
+ display: inline-block;
50
+ position: relative; top: -1px;
51
+ float: left;
52
+ &:first-child { padding-top: .75em; }
53
+ }
54
+ time {
55
+ position: absolute;
56
+ text-align: right;
57
+ left: 0em;
58
+ top: 1.8em;
59
+ }
60
+ .year { display: none; }
61
+ article {
62
+ padding:{left: 4.5em; bottom: .7em;}
63
+ }
64
+ a.category {
65
+ line-height: 1.1em;
66
+ }
67
+ }
68
+ }
69
+ #content > .category {
70
+ article {
71
+ margin-left: 0;
72
+ padding-left: 6.8em;
73
+ }
74
+ .year { display: inline; }
75
+ }
@@ -0,0 +1,141 @@
1
+ @use "sass:color";
2
+ article {
3
+ padding-top: 1em;
4
+ a { @extend .force-wrap; }
5
+ header {
6
+ position: relative;
7
+ padding-top: 2em;
8
+ padding-bottom: 1em;
9
+ margin-bottom: 1em;
10
+ background: $img-border bottom left repeat-x;
11
+ h1 {
12
+ margin: 0;
13
+ a { text-decoration: none;
14
+ &:hover { text-decoration: underline; } }
15
+ }
16
+ p {
17
+ font-size: .9em;
18
+ color: $text-color-light;
19
+ margin: 0;
20
+ &.meta {
21
+ @extend .sans;
22
+ text-transform: uppercase;
23
+ position: absolute; top: 0;
24
+ }
25
+ }
26
+ @media only screen and (min-width: 768px) {
27
+ margin-bottom: 1.5em;
28
+ padding-bottom: 1em;
29
+ background: $img-border bottom left repeat-x;
30
+ }
31
+ }
32
+ h2 {
33
+ padding-top: 0.8em;
34
+ background: $img-border top left repeat-x;
35
+ }
36
+ .entry-content & h2:first-child, header + h2 { padding-top: 0; }
37
+ h2:first-child, header + h2 { background: none; }
38
+ .feature {
39
+ padding-top: .5em;
40
+ margin-bottom: 1em;
41
+ padding-bottom: 1em;
42
+ background: $img-border bottom left repeat-x;
43
+ font-size: 2.0em; font-style: italic;
44
+ line-height: 1.3em;
45
+ }
46
+ img, video, .flash-video {
47
+ @extend .flex-content;
48
+ @extend .basic-alignment;
49
+ }
50
+ video, .flash-video { margin: 0 auto 1.5em; }
51
+ video { display: block; width: 100%; }
52
+ .flash-video {
53
+ > div {
54
+ position: relative;
55
+ display: block;
56
+ padding-bottom: 56.25%;
57
+ padding-top: 1px;
58
+ height: 0;
59
+ overflow: hidden;
60
+ iframe, object, embed {
61
+ position: absolute;
62
+ top: 0;
63
+ left: 0;
64
+ width: 100%;
65
+ height: 100%;
66
+ }
67
+ }
68
+ }
69
+ > footer {
70
+ padding-bottom: 2.5em;
71
+ margin-top: 2em;
72
+ @extend .sans;
73
+ p.meta {
74
+ margin-bottom: .8em;
75
+ font-size: .85em;
76
+ clear: both;
77
+ overflow: hidden;
78
+ }
79
+ .byline + time:before, time +time:before, .comments:before, .byline ~ .categories:before {
80
+ @extend .separator;
81
+ }
82
+ }
83
+
84
+ }
85
+ article + article {
86
+ .blog-index & {
87
+ background: $img-border top left repeat-x;
88
+ }
89
+ }
90
+ #content .blog-index {
91
+ padding: { top: 0; bottom: 0; }
92
+ article { padding-top: 2em; }
93
+ article header { background: none; padding-bottom: 0; }
94
+ article h1 {
95
+ font-size: 2.2em;
96
+ a { color: inherit; &:hover { color: $link-color-hover; } }
97
+ }
98
+ a[rel=full-article] {
99
+ background: color.adjust($main-bg, $lightness: -5%);
100
+ display: inline-block;
101
+ padding: .4em .8em;
102
+ margin-right: .5em;
103
+ text-decoration: none;
104
+ color: color.mix($text-color, $text-color-light);
105
+ @extend .serif;
106
+ transition: background-color .5s;
107
+ &:hover {
108
+ background: $link-color-hover;
109
+ text-shadow: none;
110
+ color: $main-bg;
111
+ }
112
+ }
113
+ footer {
114
+ @extend .sans;
115
+ margin-top: 1em;
116
+ }
117
+ }
118
+
119
+ .separator {
120
+ content: "\2022 ";
121
+ padding: 0 .4em 0 .2em;
122
+ display: inline-block;
123
+ }
124
+
125
+ #content div.pagination {
126
+ text-align: center;
127
+ font-size: .95em;
128
+ position: relative;
129
+ background: $img-border top left repeat-x;
130
+ padding: {top: 1.5em; bottom: 1.5em;}
131
+ a {
132
+ text-decoration: none;
133
+ color: $text-color-light;
134
+ &.prev { position: absolute; left: 0; }
135
+ &.next { position: absolute; right: 0; }
136
+ &:hover { color: $link-color-hover; }
137
+ &[href*=archive] {
138
+ &:before, &:after { content: '\2014'; padding: 0 .3em; }
139
+ }
140
+ }
141
+ }
@@ -0,0 +1,23 @@
1
+ @use "minicompass/border-radius";
2
+ @use "minicompass/link-colors";
3
+
4
+ @use "sass:color";
5
+ body > footer {
6
+ @extend .sans;
7
+ font-size: .8em;
8
+ color: $footer-color;
9
+ text-shadow: color.adjust($footer-bg, $lightness: 5%) 0 1px;
10
+ background-color: $footer-bg;
11
+ background: $footer-bg-front, $footer-bg-back;
12
+ border-top: 1px solid $footer-border-top;
13
+ position: relative;
14
+ padding-top: 1em;
15
+ padding-bottom: 1em;
16
+ margin-bottom: 3em;
17
+ @include border-radius.border-bottom-radius(.4em);
18
+ z-index: 1;
19
+ a {
20
+ @include link-colors.link-colors($footer-link-color, $footer-link-color-hover, $visited: $footer-link-color);
21
+ }
22
+ p:last-child { margin-bottom: 0; }
23
+ }
@@ -0,0 +1,18 @@
1
+ body > header {
2
+ background: $header-bg;
3
+ h1 {
4
+ display: inline-block;
5
+ margin: 0;
6
+ a, a:visited, a:hover {
7
+ color: $title_color;
8
+ text-decoration: none;
9
+ }
10
+ }
11
+ h2 {
12
+ margin: .2em 0 0;
13
+ @extend .sans;
14
+ font-size: 1em;
15
+ color: $subtitle-color;
16
+ font-weight: normal;
17
+ }
18
+ }
@@ -0,0 +1,141 @@
1
+ @use "minicompass/horizontal-list";
2
+ @use "minicompass/link-colors";
3
+
4
+ @use "sass:color";
5
+ body > nav {
6
+ position: relative;
7
+ background-color: $nav-bg;
8
+ background: $nav-bg-front, $nav-bg-back;
9
+ border: {
10
+ top: 1px solid $nav-border-top;
11
+ bottom: 1px solid $nav-border-bottom; }
12
+ padding-top: .35em;
13
+ padding-bottom: .35em;
14
+ form {
15
+ background-clip: padding-box;
16
+ margin: 0; padding: 0;
17
+ .search {
18
+ padding: .3em .5em 0;
19
+ font-size: .85em;
20
+ font-family: $sans;
21
+ line-height: 1.1em;
22
+ width: 95%;
23
+ border-radius: .5em;
24
+ background-clip: padding-box;
25
+ box-shadow: color.adjust($nav-bg, $lightness: 2%) 0 1px;
26
+ background-color: color.adjust($nav-bg, $lightness: 15%);
27
+ border: 1px solid $nav-border;
28
+ color: #888;
29
+ &:focus {
30
+ color: #444;
31
+ border-color: #80b1df;
32
+ box-shadow: #80b1df 0 0 4px, #80b1df 0 0 3px inset;
33
+ background-color: #fff;
34
+ outline: none;
35
+ }
36
+ }
37
+ }
38
+ fieldset[role=search]{ float: right; width: 48%; }
39
+ fieldset.mobile-nav{ float: left; width: 48%;
40
+ select{ width: 100%; font-size: .8em; border: 1px solid #888;}
41
+ }
42
+ ul { display: none; }
43
+ @media only screen and (min-width: 550px) {
44
+ font-size: .9em;
45
+ ul {
46
+ @include horizontal-list.horizontal-list(0);
47
+ float: left;
48
+ display: block;
49
+ padding-top: .15em;
50
+ }
51
+ ul.subscription {
52
+ margin-left: .8em;
53
+ float: right;
54
+ li:last-child a { padding-right: 0; }
55
+ }
56
+ ul li {
57
+ margin: 0;
58
+ }
59
+ a {
60
+ @include link-colors.link-colors($nav-color, $nav-color-hover, $visited: $nav-color);
61
+ font-family: $sans;
62
+ text-shadow: color.adjust($nav-bg, $lightness: 12%) 0 1px;
63
+ float: left;
64
+ text-decoration: none;
65
+ font-size: 1.1em;
66
+ padding: .1em 0;
67
+ line-height: 1.5em;
68
+ }
69
+ li + li {
70
+ border-left: 1px solid $nav-border-left;
71
+ margin-left: .8em;
72
+ a {
73
+ padding-left: .8em;
74
+ border-left: 1px solid $nav-border-right;
75
+ }
76
+ }
77
+ form {
78
+ float: right;
79
+ text-align: left;
80
+ padding-left: .8em;
81
+ width: $sidebar-width-medium - $pad-medium*2 - $sidebar-pad-medium + 20px;
82
+ .search {
83
+ width: 93%;
84
+ font-size: .95em;
85
+ line-height: 1.2em;
86
+ }
87
+ }
88
+ ul[data-subscription$=email] + form {
89
+ width: $sidebar-width-medium - $pad-medium*2 - $sidebar-pad-medium - 58px;
90
+ .search { width: 91%; }
91
+ }
92
+ fieldset.mobile-nav { display: none; }
93
+ fieldset[role=search]{ width: 99%; }
94
+ }
95
+ @media only screen and (min-width: 992px) {
96
+ form {
97
+ width: $sidebar-width-wide - $pad-wide - $sidebar-pad-wide*2 + 10px;
98
+ }
99
+ ul[data-subscription$=email] + form {
100
+ width: $sidebar-width-wide - $pad-wide - $sidebar-pad-wide*2 - 58px;
101
+ }
102
+ }
103
+ }
104
+ .no-placeholder {
105
+ body > nav .search {
106
+ background: color.adjust($nav-bg, $lightness: 15%) url('/assets/images/search.png') .3em .25em no-repeat;
107
+ text-indent: 1.3em;
108
+ }
109
+ }
110
+ @mixin mask-subscription-nav($feed: 'rss.png', $width: 22px, $height: 22px){
111
+ position: relative; top: 0px;
112
+ text-indent: -999999em;
113
+ background-color: $nav-border-right;
114
+ border: 0;
115
+ padding: 0;
116
+ &,&:after { @include mask-image($feed, $width, $height); }
117
+ &:after {
118
+ content: "";
119
+ position: absolute; top: -1px; left: 0;
120
+ background-color: color.adjust($nav-color, $lightness: 25%);
121
+ }
122
+ &:hover:after { background-color: color.adjust($nav-color, $lightness: 20%); }
123
+ }
124
+ .maskImage {
125
+ body > nav {
126
+ @media only screen and (min-width: 550px) {
127
+ ul[data-subscription$=email] + form {
128
+ width: $sidebar-width-medium - $pad-medium*2 - $sidebar-pad-medium - 32px;
129
+ }
130
+ }
131
+ @media only screen and (min-width: 992px) {
132
+ ul[data-subscription$=email] + form {
133
+ width: $sidebar-width-wide - $pad-wide - $sidebar-pad-wide*2 - 32px;
134
+ }
135
+ }
136
+ }
137
+ ul.subscription { position: relative; top: .2em; li, a { border: 0; padding: 0; }}
138
+ a[rel=subscribe-rss]{ @include mask-subscription-nav('rss.png', 22px, 22px); }
139
+ a[rel=subscribe-email]{ @include mask-subscription-nav('email.png', 28px, 22px); }
140
+ }
141
+
@@ -0,0 +1,8 @@
1
+ .sharing {
2
+ p.meta + & {
3
+ padding: { top: 1em; left: 0; }
4
+ background: $img-border top left repeat-x;
5
+ }
6
+ }
7
+
8
+ #fb-root { display: none; }
@@ -0,0 +1,4 @@
1
+ @import "sidebar/base";
2
+ @import "sidebar/googleplus";
3
+ @import "sidebar/pinboard";
4
+ @import "sidebar/delicious";