Skip to content

Commit 6e9657e

Browse files
committed
Merge pull request #9 from TheSeg/alt-file-downloads
Alternative File Downloads
2 parents 20999cc + da1d3a7 commit 6e9657e

5 files changed

Lines changed: 92 additions & 37 deletions

File tree

_includes/content/navigation.html

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,39 @@
33
<div class="navbar navbar-default">
44
<div class="container">
55
<div class="navbar-header hidden-xs hidden-sm">
6-
<a class="navbar-brand toTop" href="#top">John "Seg" Seggerson</a>
6+
<a class="navbar-brand toTop hidden-md" href="#top">John "Seg" Seggerson</a>
7+
<a class="navbar-brand toTop visible-md" href="#top">"Seg"</a>
78
</div>
89
<div id="scrollTarget" class="">
910
<ul class="nav navbar-nav">
1011
<li><a href="#overview">Overview</a></li>
1112
<li><a href="#skills">Skills</a></li>
1213
<li><a href="#recommendations">Recommendations</a></li>
1314
<li><a href="#positions">Project Positions</a></li>
14-
<li><a href="#releasedtitles">Projects &amp; Roles</a></li>
15+
<li>
16+
<a href="#releasedtitles">
17+
<span class="hidden-sm">Projects &amp; Roles</span>
18+
<span class="visible-sm">Projects&hellip;</span>
19+
</a>
20+
</li>
1521
<li><a href="#share">Share</a></li>
16-
<li class="pdf btn-warning hidden-md hidden-lg"><a href="{{site.baseurl}}pdf/John_Seg_Seggerson.pdf"><i class="icon-file"></i> PDF</a></li>
22+
<li class="pdf btn-warning hidden-md hidden-lg">
23+
<a href="{{site.baseurl}}pdf/John_Seg_Seggerson.pdf"><i class="icon-file"></i> PDF</a>
24+
</li>
1725
</ul>
1826
<ul class="nav navbar-nav navbar-right hidden-xs hidden-sm">
19-
<li class="pdf btn-warning"><a href="{{site.baseurl}}pdf/John_Seg_Seggerson.pdf"><i class="icon-file"></i> PDF</a></li>
27+
<li class="pdf">
28+
<a href="{{site.baseurl}}pdf/John_Seg_Seggerson.pdf"><i class="icon-download"></i> PDF</a>
29+
</li>
30+
<li class="dropdown pdf pdf-dropdown">
31+
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="icon-caret-down"></i></a>
32+
<ul class="dropdown-menu pdf pdf-dropdown-menu">
33+
<li role="presentation" class="dropdown-header">Other Formats</li>
34+
<li class="focus"><a href="{{site.baseurl}}pdf/John_Seg_Seggerson.pdf">PDF</a></li>
35+
<li><a href="{{site.baseurl}}pdf/John_Seg_Seggerson.docx">DOCX</a></li>
36+
<li><a href="{{site.baseurl}}pdf/John_Seg_Seggerson.txt">TEXT</a></li>
37+
</ul>
38+
</li>
2039
</ul>
2140
</div>
2241
</div>

_includes/footer.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@
77
<a class="btn btn-link btn-xs toTop" href="#top"><i class="icon-sort-up"></i> Back to top</a>
88
</p>
99
<div class="links">
10-
<a class="btn btn-warning btn-xs" href="{{site.baseurl}}pdf/John_Seg_Seggerson.pdf"><i class="icon-file"></i> PDF</a>
10+
<a class="btn btn-warning btn-sm" href="{{site.baseurl}}pdf/John_Seg_Seggerson.pdf"><i class="icon-file"></i> PDF</a>
11+
12+
<a class="btn btn-default btn-xs" href="{{site.baseurl}}pdf/John_Seg_Seggerson.docx"><i class="icon-file"></i> DOCX</a>
13+
14+
<a class="btn btn-default btn-xs" href="{{site.baseurl}}pdf/John_Seg_Seggerson.txt"><i class="icon-file"></i> TXT</a>
1115

1216
<a href="{{site.baseurl}}pdf/John_Seg_Seggerson.pdf" class="dropbox-saver" data-filename="John_Seg_Seggerson_Resume.pdf"></a>
1317
</div>

_less/seg_resume.less

Lines changed: 62 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -123,40 +123,72 @@ table {
123123

124124
/* navigation */
125125
#navigation {
126-
@navigation-radius:10px;
127-
padding-top:0;
128-
margin-top:0;
129-
text-shadow:1pt 1pt 1pt #000;
130-
.navbar {
131-
.border-top-radius(0);
132-
.border-bottom-radius(@navigation-radius);
133-
border-width:0;
134-
}
135-
.navbar-nav {
136-
margin-bottom:0;
137-
}
138-
.navbar-fixed-top {
139-
li.pdf {
140-
&.btn-warning {
141-
background-color:@btn-warning-bg;
142-
}
126+
@navigation-radius:10px;
127+
padding-top:0;
128+
margin-top:0;
129+
text-shadow:1pt 1pt 1pt #000;
130+
.navbar {
131+
.border-top-radius(0);
132+
.border-bottom-radius(@navigation-radius);
133+
border-width:0;
143134
}
144-
}
145-
li.pdf {
146-
color:@btn-warning-color;
147-
a {
148-
color:@btn-warning-color;
135+
.navbar-nav {
136+
margin-bottom:0;
149137
}
150-
@media (min-width: @screen-sm) {
151-
&.btn-warning {
152-
background-color:transparent;
153-
#gradient > .vertical( fade( @btn-warning-bg , 0% ) , @btn-warning-bg , 0% , 20% );
154-
}
138+
.navbar-fixed-top {
155139
}
156-
@media (max-width: @screen-xs-max) {
157-
.border-bottom-radius(@navigation-radius);
140+
.navbar-right {
141+
background-color:@btn-warning-bg;
142+
@media (min-width: @screen-sm) {
143+
background-color:transparent;
144+
#gradient > .vertical( fade( @btn-warning-bg , 0% ) , @btn-warning-bg , 0% , 20% );
145+
}
146+
li {
147+
a {
148+
@navbar-right-li-a-padding:10px;
149+
padding-left:@navbar-right-li-a-padding;
150+
padding-right:@navbar-right-li-a-padding;
151+
}
152+
&.pdf {
153+
color:@btn-warning-color;
154+
a {
155+
color:@btn-warning-color;
156+
}
157+
@media (max-width: @screen-xs-max) {
158+
.border-bottom-radius(@navigation-radius);
159+
}
160+
}
161+
}
162+
.pdf-dropdown {
163+
&.open .dropdown-toggle {
164+
@pdf-dropdown-toggle-open:darken(@btn-warning-bg , 10%);
165+
background-color:@pdf-dropdown-toggle-open;
166+
@media (min-width: @screen-sm) {
167+
background-color:transparent;
168+
#gradient > .vertical( fade( @pdf-dropdown-toggle-open , 0% ) , @pdf-dropdown-toggle-open , 10% , 20% );
169+
}
170+
}
171+
.pdf-dropdown-menu {
172+
.dropdown-header {
173+
color:black;
174+
text-shadow:none;
175+
font-weight:bold;
176+
padding-left:10px;
177+
}
178+
background-color:lighten(@btn-warning-bg , 20%);
179+
font-size:10pt;
180+
a:hover {
181+
background-color:@btn-warning-bg;
182+
}
183+
.focus {
184+
font-size:13pt;
185+
}
186+
.divider {
187+
background-color:#333;
188+
}
189+
}
190+
}
158191
}
159-
}
160192
}
161193

162194
/* introduction */

css/theme-default.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/theme-valve.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)