Browse Source

font simplification

master
Christian Müller 10 years ago
parent
commit
50a12916b8
  1. 2
      resources/edit.html
  2. 2
      resources/public/index.html
  3. 17
      resources/public/style.css

2
resources/edit.html

@ -14,7 +14,7 @@
<body onload="onLoad()"> <body onload="onLoad()">
<article id="preview" style="flex: none; -webkit-flex: none"></article> <article id="preview" style="flex: none; -webkit-flex: none"></article>
<div class="hidden" id="dashed-line"></div> <div class="hidden" id="dashed-line"></div>
<div class="central-element helvetica" style="margin-bottom: 3em"> <div class="central-element" style="margin-bottom: 3em">
<form action="/note" autocomplete="off" method="POST"> <form action="/note" autocomplete="off" method="POST">
<input id="action" name="action" value="%ACTION%" type="hidden" /> <input id="action" name="action" value="%ACTION%" type="hidden" />
<input id="id" name="id" value="%ID%" type="hidden" /> <input id="id" name="id" value="%ID%" type="hidden" />

2
resources/public/index.html

@ -15,7 +15,7 @@
<a class="landing-button" href="/new" style="color: white">New Note</a> <a class="landing-button" href="/new" style="color: white">New Note</a>
</div> </div>
<div id="dashed-line"></div> <div id="dashed-line"></div>
<article class="helvetica bottom-space" style="font-size: 1em"> <article class="bottom-space" style="font-size: 1em">
<h2>Changelog</h2> <h2>Changelog</h2>
<ul> <ul>
<li><strong>2015-10</strong>: NoteHub rewritten in Node.js.</li> <li><strong>2015-10</strong>: NoteHub rewritten in Node.js.</li>

17
resources/public/style.css

@ -52,7 +52,7 @@ a:visited {
opacity: 0.8; opacity: 0.8;
padding: 0.3em; padding: 0.3em;
border-radius: 3px; border-radius: 3px;
font-family: 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', 'sans-serif'; font-family: sans-serif;
font-weight: 300; font-weight: 300;
border: 1px solid #333; border: 1px solid #333;
} }
@ -73,7 +73,7 @@ textarea, fieldset {
background: #0a6; background: #0a6;
font-size: 1.5em; font-size: 1.5em;
text-decoration: none; text-decoration: none;
font-family: 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', 'sans-serif'; font-family: sans-serif;
font-weight: 300; font-weight: 300;
} }
@ -91,17 +91,12 @@ textarea, fieldset {
background: #eee; background: #eee;
} }
.helvetica {
font-family: 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', 'sans-serif';
font-weight: 300;
}
footer { footer {
text-align: center; text-align: center;
padding-bottom: 1em; padding-bottom: 1em;
font-size: 0.8em; font-size: 0.8em;
width: 100%; width: 100%;
font-family: 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', 'sans-serif'; font-family: sans-serif;
font-weight: 300; font-weight: 300;
} }
@ -110,7 +105,7 @@ footer a {
} }
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
font-family: "ArialRoundedMTBold", sans-serif; font-family: Palatino, "Palatino Linotype", serif;
font-weight: bolder; font-weight: bolder;
} }
@ -144,7 +139,7 @@ h6 {
#hero h2 { #hero h2 {
margin: 2em; margin: 2em;
font-family: 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', sans-serif; font-family: sans-serif;
font-weight: 300; font-weight: 300;
} }
@ -180,7 +175,7 @@ article > h1:first-child {
} }
blockquote { blockquote {
font-family: Georgia, serif; font-family: Georgia, Palatino, "Palatino Linotype", serif;
padding-left: 1em; padding-left: 1em;
border-left: 4px solid #097; border-left: 4px solid #097;
} }

Loading…
Cancel
Save