Removing styling from code, and into css

This commit is contained in:
Ubergeek 2019-07-01 15:20:08 +00:00
parent 6cf8c60681
commit 462ddaa6f9
2 changed files with 22 additions and 47 deletions

View File

@ -1,52 +1,27 @@
body {
font-size: 10pt;
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
color: black;
line-height: 14pt;
padding-left: 5pt;
padding-right: 5pt;
padding-top: 5pt;
#body {
width:90%;
}
h1 {
font: 14pt Verdana, Geneva, Arial, Helvetica, sans-serif;
font-weight: bold;
line-height: 20pt;
#body {
width:78%;
}
p.subheader {
font-weight: bold;
color: #593d87;
#header {
width:90%;
text-align: center;
}
#content {
width:78%;
float:right;
}
img {
padding: 3pt;
float: right;
#sidebar {
width:18%;
float: left;
}
a {
text-decoration: none;
}
a:link, a:visited {
color: #8094d6;
}
a:hover, a:active {
color: #FF9933;
}
div.footer {
font-size: 9pt;
font-style: italic;
line-height: 12pt;
text-align: center;
padding-top: 30pt;
#footer {
width: 90%;
text-align: center;
clear: both;
}

View File

@ -23,10 +23,10 @@ print "<!-- End Header -->
";
print "<hr>
<div id='body' style='width: 90%;'>
<div id='body'>
<!-- Begin Sidebar -->
<div id='sidebar' style='width: 20%;float:left;'>
<div id='sidebar'>
";
echo ( shell_exec("/usr/bin/pandoc $doc_root/includes/sidebar.md") );
@ -34,7 +34,7 @@ print " </div>
<!-- End Sidebar -->
<!-- Begin Body -->
<div id='content' style='width: 80%; float:right;'>";
<div id='content'>";
echo ( shell_exec("/usr/bin/pandoc $doc_root/articles/$page.md") );
@ -44,7 +44,7 @@ print " </div>
</div>
<!-- Begin Footer -->
<div id='footer' style='clear:both;'>
<div id='footer'>
<hr>
";