aboutsummaryrefslogtreecommitdiffstats
path: root/src/style.less
diff options
context:
space:
mode:
authorJan Tuomi <jan.tuomi@eficode.com>2018-03-03 16:41:55 +0200
committerJan Tuomi <jan.tuomi@eficode.com>2018-03-03 16:41:55 +0200
commite6774fa740ea303073f77f3f7e50ce3e03e8de58 (patch)
treeab04adc8d7ebbf4f3b1453f46ef7738e82457004 /src/style.less
Initial commit
Diffstat (limited to 'src/style.less')
-rw-r--r--src/style.less49
1 files changed, 49 insertions, 0 deletions
diff --git a/src/style.less b/src/style.less
new file mode 100644
index 0000000..7edb45e
--- /dev/null
+++ b/src/style.less
@@ -0,0 +1,49 @@
+@riot-color-red: #fc0e49;
+@riot-color-white: #fff;
+@riot-color-black: #313131;
+@riot-color-blue: #268bd2;
+
+@mobile-width: 600px;
+
+@font: 'Lato', sans-serif;
+
+*, *:before, *:after {
+ box-sizing: inherit;
+}
+
+.lato-font(@size) {
+ font-family: 'Lato', sans-serif;
+ font-size: @size;
+}
+
+html {
+ .lato-font(20px);
+
+ background-color: @riot-color-white;
+ color: @riot-color-black;
+ box-sizing: border-box;
+}
+
+body {
+ border: 0;
+
+ max-width: 600px;
+ margin-left: auto;
+ margin-right: auto;
+
+ padding: 1rem;
+}
+
+a {
+ color: @riot-color-blue;
+}
+
+button {
+ .lato-font(1rem);
+
+ padding: 0.5rem 1rem;
+ background-color: @riot-color-red;
+ color: @riot-color-white;
+ border: 0;
+ border-radius: 5px;
+} \ No newline at end of file