Browse Source

Make header more compact.

pull/24/head
Ben Kurtovic 11 years ago
parent
commit
56ab814a1a
2 changed files with 14 additions and 12 deletions
  1. +6
    -2
      pages/support/header.mako
  2. +8
    -10
      static/style.css

+ 6
- 2
pages/support/header.mako View File

@@ -21,7 +21,11 @@
<body onload="update_screen_size()" style="background-image: url('${set_background(cookies, selected) | h}'); background-size: cover;"> <body onload="update_screen_size()" style="background-image: url('${set_background(cookies, selected) | h}'); background-size: cover;">
% endif % endif
<div id="header"> <div id="header">
<p id="heading"><a class="dark" href="${root}">Earwig's Copyvio Detector</a></p>
<p id="links"><a class="mid" href="${root}/settings">Settings</a></p>
<table id="heading">
<tr>
<td id="head-main"><a class="dark" href="${root}">Earwig's Copyvio Detector</a></td>
<td id="head-settings"><a class="mid" href="${root}/settings">Settings</a></td>
</tr>
</table>
</div> </div>
<div id="container"> <div id="container">

+ 8
- 10
static/style.css View File

@@ -17,6 +17,8 @@ h1, h2, h3, h4, h5, h6 {
} }


div#header { div#header {
font-size: 2.5em;
font-weight: bold;
margin: 30px 60px 30px 60px; margin: 30px 60px 30px 60px;
padding: 2px 15px 2px 15px; padding: 2px 15px 2px 15px;
border: 1px solid #777; border: 1px solid #777;
@@ -66,16 +68,8 @@ div#cv-result-detail {
border: 1px solid #AAA; border: 1px solid #AAA;
} }


p#heading {
font-size: 2.5em;
font-weight: bold;
margin: 8px 0 8px 0;
}

p#links {
font-size: 1.5em;
font-weight: bold;
margin: 8px 0 10px 0;
table#heading {
width: 100%;
} }


table#cv-form { table#cv-form {
@@ -87,6 +81,10 @@ table#cv-chain-table {
border-spacing: 10px; border-spacing: 10px;
} }


td#head-settings {
text-align: right;
}

td#cv-col1 { td#cv-col1 {
width: 15%; width: 15%;
} }


Loading…
Cancel
Save