/
css.clj
133 lines (118 loc) · 3.07 KB
/
css.clj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
(ns practical-customizable-alerm.css
(:require [garden.def :refer [defstyles defkeyframes]]
[garden.stylesheet :refer [at-media]]))
(defkeyframes fadeIn
["0%"
{:opacity 0}]
["100%"
{:opacity 1}])
(defstyles screen
fadeIn
[:body
{:display "flex"
:flex-direction "column"
:min-height "100vh"
:background-color "#f9f9f9"
:font-family "'Hiragino Kaku Gothic Pro','ヒラギノ角ゴ Pro W3','メイリオ',Meiryo,'MS Pゴシック',sans-serif"
;; :font-size "calc(112.5% + 0.5vw)"
}]
[:ul
:overflow-x "scroll"
:width "auto"
:position "absolute"]
[:.page
{:animation-name [fadeIn]
:animation-duration "1s"}]
[:.breadcrumb
{:margin-top "10rem"
:padding "1rem 0rem"
:border-bottom "solid 0.3rem #dbdbdb"}]
[:.title
{:font-size "calc(200% + 0.5vw)"}]
[:.sub-title
{:font-size "calc(150% + 0.5vw)"}]
[:.sec-title
{:line-height 1.5
:border-bottom "solid 0.5rem gray"
:padding-right "5rem"}]
[:.footer
{:width "100%"
:margin-top "auto"
:padding-top "1rem"
:padding-bottom "1rem"
:border-top "0.2rem solid lightgray"
:z-index 1}]
[:.navbar-item
{:display "flex"}]
[:.navbar
:.navbar-menu
:.navbar-start
:.navbar-end
{:align-items "stretch"
:display "flex"
:padding "0"}]
[:.navbar-menu
{:flex-grow "1"
:flex-shrink "0"}]
[:.navbar-start
{:justify-content "flex-start"
:margin-right "auto"}]
[:.navbar-end
{:justify-content "flex-end"
:margin-left "auto"}]
[:.navbar-item
{:display "flex"
:align-items "center"}]
[:.start {:justify-content "flex-start"}]
[:.center {:justify-content "flex-center"}]
[:.end
{:justify-content "flex-end"
:margin-left "auto"}]
[:.link-button:hover
{:background-color "#9b9b9b"
:box-shadow "0px 8px 8px rgba(0, 0, 0, 0.05)"}]
[:.link-button ".link-button:hover::before" ".link-button:hover::after"
{:transition "all 0.3s"}]
[:.link-button
;; Rectangle 2
{:position "flex"
;; :width "279px"
:background "#575757"
;; :border "1px solid #000000"
:boxsizing "border-box"
:box-shadow "0px 8px 8px rgba(0, 0, 0, 0.25)"
:color "white"
:border-radius "20px"
:font-size "calc(112.5% + 0.5vw)"}
[:a
{:color "white"}]
[:a:hover
{:color "lightgray"}]]
[:.modal
{:animation "fadeIn"
:animation-duration "0.2s"}]
[:.modal-content ":.modal-content::before" ":.modal-content::after"
{:transition "all 0.5s"}]
[:.accordion-header
{:text-indent "1rem"}]
[:.panel-body
[:h2 {:text-indent "1rem"}]
[:p {:text-indent "3rem"
:font-size "calc(112.5% + 0.5vw)"}]]
[:.is-close
{:max-height 0
:overflow "hidden"
:padding 0}]
(at-media {:screen true
:max-width "800px"}
[:.subillust
{:display "none"}])
(at-media {:screen true
:max-width "800px"}
[:.subarrow
{:display "none"}])
(at-media {:screen true
:max-width "800px"}
[:.shop-image
[:img
{:max-height "100px"}]]))