Sfoglia il codice sorgente

Make header more compact.

pull/24/head
Ben Kurtovic 11 anni fa
parent
commit
56ab814a1a
2 ha cambiato i file con 14 aggiunte e 12 eliminazioni
  1. +6
    -2
      pages/support/header.mako
  2. +8
    -10
      static/style.css

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

@@ -21,7 +21,11 @@
<body onload="update_screen_size()" style="background-image: url('${set_background(cookies, selected) | h}'); background-size: cover;">
% endif
<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 id="container">

+ 8
- 10
static/style.css Vedi File

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

div#header {
font-size: 2.5em;
font-weight: bold;
margin: 30px 60px 30px 60px;
padding: 2px 15px 2px 15px;
border: 1px solid #777;
@@ -66,16 +68,8 @@ div#cv-result-detail {
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 {
@@ -87,6 +81,10 @@ table#cv-chain-table {
border-spacing: 10px;
}

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

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


Caricamento…
Annulla
Salva