Skip to content
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
3 changes: 2 additions & 1 deletion _layouts/cv.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<html>
<head>
<meta charset=utf-8 />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title> {% if page.title %} {{ page.title }} | {% endif %} CV</title>
<link href="media/{{ site.style }}-screen.css" type="text/css" rel="stylesheet" media="screen">
<link href="media/{{ site.style }}-print.css" type="text/css" rel="stylesheet" media="print">
Expand All @@ -13,4 +14,4 @@
</div>
</div>
</body>
</html>
</html>
56 changes: 49 additions & 7 deletions media/davewhipp-screen.css
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ table {


body {
font: normal normal 400;
font-family: normal;
font-weight: 400;
font-size: 100%;
line-height: 1.5em;
/*also written as... font: normal normal 400 100%/1.5em;*/
Expand Down Expand Up @@ -187,9 +188,50 @@ strong {
display: none;
}



/*
@media only screen and (max-width: 480px) {
make one column somehow...
}*/
/* This hack fixes scrollable on x for tablets */
@media only screen and (max-width: 1024px) {
body {
overflow-x: hidden;
}
}

/* Mobile styling, starting at iPad portrait size */
@media only screen and (max-width: 768px) {
h1,
h2,
h3,
h4,
p,
ul,
code,
#webaddress {
position: static;
width: 100%;
text-align: left;
}

code {
width: auto;
}

h1 {
margin-bottom: 0.1em;
}

h2 {
margin-top: 1em;
}

body {
margin-top: 0;
margin-left: 0;
padding: 1em;
}

p code {
position: static;
margin-right: auto;
display: block;
text-align: left;
}
}
67 changes: 54 additions & 13 deletions media/kjhealy-screen.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* http://meyerweb.com/eric/tools/css/reset/
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
Expand All @@ -12,8 +12,8 @@ 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,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
Expand All @@ -24,7 +24,7 @@ time, mark, audio, video {
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
Expand Down Expand Up @@ -83,7 +83,7 @@ p code {
}


ul {
ul {
position: relative;
left: 33%;
width: 65%;
Expand Down Expand Up @@ -126,7 +126,7 @@ h1 {
left: 33%;
}

h1+p {
h1+p {
/*subtitle*/
font-style: italic;
font-size: 110%;
Expand All @@ -144,7 +144,7 @@ h2 {

h3 {
font-size: 1em;
line-height: 2em;
line-height: 2em;
position: relative;
top: 1.7em;
text-align: right;
Expand Down Expand Up @@ -186,9 +186,50 @@ strong {
display: none;
}



/*
@media only screen and (max-width: 480px) {
make one column somehow...
}*/
/* This hack fixes scrollable on x for tablets */
@media only screen and (max-width: 1024px) {
body {
overflow-x: hidden;
}
}

/* Mobile styling, starting at iPad portrait size */
@media only screen and (max-width: 768px) {
h1,
h2,
h3,
h4,
p,
ul,
code,
#webaddress {
position: static;
width: 100%;
text-align: left;
}

code {
width: auto;
}

h1 {
margin-bottom: 0.1em;
}

h2 {
margin-top: 1em;
}

body {
margin-top: 0;
margin-left: 0;
padding: 1em;
}

p code {
position: static;
margin-right: auto;
display: block;
text-align: left;
}
}