diff options
Diffstat (limited to 'users/grfn')
-rw-r--r-- | users/grfn/bbbg/src/bbbg/handlers/home.clj | 2 | ||||
-rw-r--r-- | users/grfn/bbbg/src/bbbg/styles.clj | 26 |
2 files changed, 27 insertions, 1 deletions
diff --git a/users/grfn/bbbg/src/bbbg/handlers/home.clj b/users/grfn/bbbg/src/bbbg/handlers/home.clj index 8ca12687a1cf..17d48755365c 100644 --- a/users/grfn/bbbg/src/bbbg/handlers/home.clj +++ b/users/grfn/bbbg/src/bbbg/handlers/home.clj @@ -11,7 +11,7 @@ (defn- home-page [] [:div.home-page - [:a {:href "/signup-forms"} + [:a.signup-form-link {:href "/signup-forms"} "Event Signup Form"]]) (defn auth-failure [] diff --git a/users/grfn/bbbg/src/bbbg/styles.clj b/users/grfn/bbbg/src/bbbg/styles.clj index 8b7ffe6bc016..408c1cf01576 100644 --- a/users/grfn/bbbg/src/bbbg/styles.clj +++ b/users/grfn/bbbg/src/bbbg/styles.clj @@ -107,14 +107,40 @@ :background-color (color/lighten color 30) :border-radius "5px"}])) +(defstyles home-page + [:.home-page + {:display :flex + :flex 1 + :justify-content :center + :align-items :center} + [:.signup-form-link + {:display :block + :padding "5rem" + :border [["1px" :solid blue]] + :border-radius "5px" + :color black + :font-size "2rem" + :background-color (color/lighten blue 50)} + [(& hover) (& active) + {:text-decoration :none}] + [(& active) + {:background-color (color/lighten blue 30)}]]]) + (defstyles styles global-nav link-form flash + home-page [:body {:color black}] + [:.content + {:display :flex + :flex-direction :column + :height "100%" + :width "100%"}] + [:a {:color blue :text-decoration :none} link-conditional-styles]) |