From e6774fa740ea303073f77f3f7e50ce3e03e8de58 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Sat, 3 Mar 2018 16:41:55 +0200 Subject: Initial commit --- src/style.less | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 src/style.less (limited to 'src/style.less') 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 -- cgit v1.3