Skip to content

Commit 3abe7d6

Browse files
committed
Header title & icons with better responsivness.
1 parent b0670f5 commit 3abe7d6

4 files changed

Lines changed: 18 additions & 6 deletions

File tree

_includes/content/introduction.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ <h2>Designer + Programmer</h2>
88
<i class="icon-puzzle-piece icon-light"></i>
99
</span>
1010
</div>
11-
<div class="col-sm-6 hidden-xs">
11+
<div class="introduction-text col-sm-6 hidden-xs">
1212
<h2>Designer + Programmer</h2>
1313
</div>
1414
<div class="col-sm-3 col-xs-6">

_less/seg_resume.less

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,12 +177,24 @@ table {
177177
}
178178
.introduction-block {
179179
@introduction-icon-size-xs: 1.25;
180+
margin-bottom:20px;
181+
.introduction-text {
182+
@media (min-width: @screen-sm) {
183+
display:table-row;
184+
vertical-align:middle;
185+
height:100%;
186+
}
187+
}
180188
h2 {
181-
font-size:35pt;
189+
@base-font-size:40pt;
190+
font-size:@base-font-size;
182191
@media (max-width: @screen-xs-max) {
183-
font-size:( 35pt / @introduction-icon-size-xs );
192+
font-size:( @base-font-size / @introduction-icon-size-xs );
184193
}
185-
}
194+
@media (min-width: @screen-lg ) {
195+
padding-top:( @base-font-size / 2 );
196+
}
197+
}
186198
.icon-stack {
187199
font-size:60pt;
188200
@media (max-width: @screen-xs-max) {

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)