From f768dd61b60002acdf7b226184cb4bc2535a7cfc Mon Sep 17 00:00:00 2001 From: Lars Martens Date: Fri, 19 May 2017 17:54:38 +0200 Subject: [PATCH] Added stylesheet --- base.css | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ index.htm | 12 +++++------ 2 files changed, 70 insertions(+), 6 deletions(-) create mode 100644 base.css diff --git a/base.css b/base.css new file mode 100644 index 0000000..fd3acfd --- /dev/null +++ b/base.css @@ -0,0 +1,64 @@ +@import url('https://fonts.googleapis.com/css?family=Josefin+Sans:300|Roboto'); + +*{ + margin: 0; + padding: 0; +} + +body{ + font-family: 'Roboto', sans-serif; + font-family: sans-serif; + background-image: url("bg.png"); +} + +a { + text-decoration: underline; + font-style: italic; + color: black; +} + +.article{ + display: block; + color: black; + padding: 50px; + border-bottom: 1px dashed #d5d5d5; + text-decoration: none; + font-style: normal; +} +.article:last-child{ + border: none; +} +.article h1{ + margin-bottom: 5px; + font-family: 'Josefin Sans', sans-serif; +} + +.article img{ + max-width: 100%; +} + +.content *{ + margin-bottom: 1em; +} +.content *:last-child{ + margin-bottom: 0; +} + +.center{ + text-align: center; +} + +.wrap{ + margin: 0 auto; +} + +@media (min-width: 650px){ + .wrap{ + width: 80%; + } +} +@media (min-width: 900px){ + .wrap{ + width: 50%; + } +} \ No newline at end of file diff --git a/index.htm b/index.htm index e1601a9..7609ec6 100644 --- a/index.htm +++ b/index.htm @@ -2,7 +2,7 @@ Telegraph Manager - + @@ -12,7 +12,7 @@ - + @@ -44,12 +44,12 @@

create an account

- +

login with token

- +
@@ -100,7 +100,7 @@

change account information

- +
@@ -116,4 +116,4 @@
- \ No newline at end of file +