From 24f8767278c7aaefde0dc6f0a4da3cc691431222 Mon Sep 17 00:00:00 2001 From: Akshay Date: Wed, 25 Nov 2020 17:09:26 +0530 Subject: add license notice, links to source and license in footer --- src/Styles.elm | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) (limited to 'src/Styles.elm') diff --git a/src/Styles.elm b/src/Styles.elm index db5b0ce..7b2eea7 100644 --- a/src/Styles.elm +++ b/src/Styles.elm @@ -1,3 +1,21 @@ +{- + - This file is part of `typers`. + - + - `typers` is free software: you can redistribute it and/or modify + - it under the terms of the GNU Affero Public License as published by + - the Free Software Foundation, either version 3 of the License, or + - (at your option) any later version. + - + - `typers` is distributed in the hope that it will be useful, + - but WITHOUT ANY WARRANTY; without even the implied warranty of + - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + - GNU Affero Public License for more details. + - + - You should have received a copy of the GNU Affero Public License + - along with `typers`. If not, see . +-} + + module Styles exposing (..) import Base exposing (WordStatus(..)) @@ -16,7 +34,7 @@ styledButton = , paddingTop (px 12) , paddingBottom (px 12) , paddingLeft (px 0) - , paddingRight (px 12) + , paddingRight (px 0) , fontFamily monospace , border (px 0) , backgroundColor (hex "#fff") @@ -68,6 +86,15 @@ styledUnorderedList = ] +styledExternalLink : List (Attribute msg) -> List (Html msg) -> Html msg +styledExternalLink = + styled + a + [ textDecoration underline + , color (hex "#666") + ] + + styledTextBox : List (Attribute msg) -> List (Html msg) -> Html msg styledTextBox = styled -- cgit v1.2.3