summaryrefslogtreecommitdiffhomepage
path: root/app/assets/css
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@codeispoetry.ru>2017-02-09 12:14:08 +0000
committerAndrej Mihajlov <and@codeispoetry.ru>2017-02-09 12:14:08 +0000
commitce8b81c69760185d425032dc9ce91c4e9aa09b17 (patch)
tree010540abf824ebacaa34434a75a919a3c4568684 /app/assets/css
parenta76a93169841ec78f08b973aa17eea9fcf982feb (diff)
downloadmullvadvpn-ce8b81c69760185d425032dc9ce91c4e9aa09b17.tar.xz
mullvadvpn-ce8b81c69760185d425032dc9ce91c4e9aa09b17.zip
Add basic structure and login screen
Diffstat (limited to 'app/assets/css')
-rw-r--r--app/assets/css/fonts.css23
-rw-r--r--app/assets/css/global.css6
-rw-r--r--app/assets/css/reset.css48
-rw-r--r--app/assets/css/style.css7
4 files changed, 84 insertions, 0 deletions
diff --git a/app/assets/css/fonts.css b/app/assets/css/fonts.css
new file mode 100644
index 0000000000..22b97c7f2e
--- /dev/null
+++ b/app/assets/css/fonts.css
@@ -0,0 +1,23 @@
+@font-face {
+ font-family: DINPro;
+ font-weight: bold;
+ src: url("../fonts/DINPro-Bold.otf") format("opentype");
+}
+
+@font-face {
+ font-family: DINPro;
+ font-weight: 900;
+ src: url("../fonts/DINPro-Black.otf") format("opentype");
+}
+
+@font-face {
+ font-family: "Open Sans";
+ font-weight: 800;
+ src: url("../fonts/OpenSans-ExtraBold.ttf") format("truetype");
+}
+
+@font-face {
+ font-family: "Open Sans";
+ font-weight: 600;
+ src: url("../fonts/OpenSans-Semibold.ttf") format("truetype");
+}
diff --git a/app/assets/css/global.css b/app/assets/css/global.css
new file mode 100644
index 0000000000..5075e7f2a0
--- /dev/null
+++ b/app/assets/css/global.css
@@ -0,0 +1,6 @@
+* { box-sizing: border-box; }
+
+body {
+ background: #294D73;
+ font-family: -apple-system, BlinkMacSystemFont, sans-serif;
+}
diff --git a/app/assets/css/reset.css b/app/assets/css/reset.css
new file mode 100644
index 0000000000..af944401f7
--- /dev/null
+++ b/app/assets/css/reset.css
@@ -0,0 +1,48 @@
+/* http://meyerweb.com/eric/tools/css/reset/
+ v2.0 | 20110126
+ License: none (public domain)
+*/
+
+html, body, div, span, applet, object, iframe,
+h1, h2, h3, h4, h5, h6, p, blockquote, pre,
+a, abbr, acronym, address, big, cite, code,
+del, dfn, em, img, ins, kbd, q, s, samp,
+small, strike, strong, sub, sup, tt, var,
+b, u, i, center,
+dl, dt, dd, ol, ul, li,
+fieldset, form, label, legend,
+table, caption, tbody, tfoot, thead, tr, th, td,
+article, aside, canvas, details, embed,
+figure, figcaption, footer, header, hgroup,
+menu, nav, output, ruby, section, summary,
+time, mark, audio, video {
+ margin: 0;
+ padding: 0;
+ border: 0;
+ font-size: 100%;
+ font: inherit;
+ vertical-align: baseline;
+}
+/* HTML5 display-role reset for older browsers */
+article, aside, details, figcaption, figure,
+footer, header, hgroup, menu, nav, section {
+ display: block;
+}
+body {
+ line-height: 1;
+}
+ol, ul {
+ list-style: none;
+}
+blockquote, q {
+ quotes: none;
+}
+blockquote:before, blockquote:after,
+q:before, q:after {
+ content: '';
+ content: none;
+}
+table {
+ border-collapse: collapse;
+ border-spacing: 0;
+} \ No newline at end of file
diff --git a/app/assets/css/style.css b/app/assets/css/style.css
new file mode 100644
index 0000000000..fa883fee98
--- /dev/null
+++ b/app/assets/css/style.css
@@ -0,0 +1,7 @@
+@import 'reset.css';
+@import 'fonts.css';
+@import 'global.css';
+@import '../../components/Login.css';
+@import '../../components/LoggedIn.css';
+@import '../../components/HeaderBar.css';
+@import '../../components/Layout.css';