Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

showing social icon urls when printed #68

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions assets/css/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,13 @@ body {
.social-link:hover {
text-decoration: none;
}
.social-link-icon {
display: inline-block;
font-size: 2em;
}
.social-link-label {
display: none;
}
.link-github {
color: #454545;
}
Expand Down Expand Up @@ -866,4 +873,13 @@ body {
.pagebreak {
page-break-before: always;
}
.social-link-icon {
padding-right: 5px;
font-size: 1.33333333em;
line-height: .75em;
vertical-align: -15%;
}
.social-link-label {
display: inline-block;
}
}
9 changes: 9 additions & 0 deletions assets/less/info_card_styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,15 @@
}
}

.social-link-icon {
display: inline-block;
.fs-2x;
}

.social-link-label {
display: none;
}

.link-github { .make-social-link(@github-color); }
.link-twitter { .make-social-link(@twitter-color); }
.link-blog { .make-social-link(@rss-feed-color); }
Expand Down
10 changes: 10 additions & 0 deletions assets/less/print.less
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,14 @@
.pagebreak {
page-break-before: always;
}

.social-link-icon {
padding-right: 5px;
.fs-lg;
}

.social-link-label {
display: inline-block;
}

}
8 changes: 5 additions & 3 deletions jade/profile-card.jade
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@ mixin profile_card_detail(icon, info, itemprop, icon_title)

mixin render_links(profiles)
- each profile in profiles
a.fs-2x.social-link(
a.social-link(
href=profile.url,
target="_blank",
data-toggle="tooltip",
title= resume.basics.name + " on " + profile.network,
class="link-" + profile.label + " icon-" + profile.label)
title= resume.basics.name + " on " + profile.network)
i.fs-lg.social-link-icon(class="link-" + profile.label + " icon-" + profile.label)
span.social-link-label #{profile.url}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess we can reuse bootstrap's visible-print-inline-block class here?



section.col-md-3.card-wrapper.profile-card-wrapper.affix
.card.profile-card
Expand Down