Update CSS for print media to hide topbar, footer
This commit is contained in:
@@ -5,6 +5,7 @@
|
|||||||
@import url('http://twitter.github.com/bootstrap/1.4.0/bootstrap.min.css');
|
@import url('http://twitter.github.com/bootstrap/1.4.0/bootstrap.min.css');
|
||||||
@CHARSET "UTF-8";
|
@CHARSET "UTF-8";
|
||||||
|
|
||||||
|
@media all {
|
||||||
body {
|
body {
|
||||||
margin: 0em;
|
margin: 0em;
|
||||||
margin-top: 60px;
|
margin-top: 60px;
|
||||||
@@ -54,3 +55,20 @@ ol.employment,ol.education {
|
|||||||
list-style: none;
|
list-style: none;
|
||||||
margin-left: 0px;
|
margin-left: 0px;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media print {
|
||||||
|
|
||||||
|
.no-print {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#page_content {
|
||||||
|
margin: 1.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
||||||
<div class="row">
|
<div class="row no-print">
|
||||||
<div class="span4 column">
|
<div class="span4 column">
|
||||||
<h3>Download</h3>
|
<h3>Download</h3>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="topbar">
|
<div class="topbar no-print">
|
||||||
<div class="topbar-inner">
|
<div class="topbar-inner">
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
{$page->include_template('navigation')}
|
{$page->include_template('navigation')}
|
||||||
@@ -70,10 +70,12 @@
|
|||||||
</div><!-- /messages -->
|
</div><!-- /messages -->
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
|
<div id="page_content">
|
||||||
{$page_content}
|
{$page_content}
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<footer>
|
<footer class="no-print">
|
||||||
<p>
|
<p>
|
||||||
Powered by
|
Powered by
|
||||||
<a href="https://github.com/optiz0r/homepage/" title="Homepage">Homepage</a>
|
<a href="https://github.com/optiz0r/homepage/" title="Homepage">Homepage</a>
|
||||||
|
|||||||
Reference in New Issue
Block a user