-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.css
136 lines (119 loc) · 2.55 KB
/
app.css
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
134
135
136
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Cairo', sans-serif;
}
section {
display: grid;
place-items: center;
min-height: 100vh;
}
section .container {
width: 95%;
max-width: 800px;
margin: 0 auto;
text-align: center;
padding: 20px 20px 75px 20px;
box-shadow: 0px 0px 14px #cac6c6b7;
position: relative;
}
section .container h1 {
color: #43a047;
position: relative;
font-size: 2rem;
}
section .container h1:after,
section .container h1:before {
content: "";
width: 120px;
height: 2px;
background-color: #43a047;
position: absolute;
bottom: 0px;
left: 50%;
transform: translateX(-50%);
-webkit-transform: translateX(-50%);
-moz-transform: translateX(-50%);
-ms-transform: translateX(-50%);
-o-transform: translateX(-50%);
}
section .container h1:before {
width: 90px;
bottom: -5px;
}
section .container p.aya {
margin: 5px auto;
font-size: 1.5rem;
}
section .container h2 {
font-size: 1rem;
margin: 10px auto;
}
section .container button {
position: absolute;
bottom: 10px;
left: 50%;
transform: translateX(-50%);
-webkit-transform: translateX(-50%);
-moz-transform: translateX(-50%);
-ms-transform: translateX(-50%);
-o-transform: translateX(-50%);
background-color: #43a047;
border-radius: 5px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
-ms-border-radius: 5px;
-o-border-radius: 5px;
border: 1px solid #fff;
padding: 10px 15px;
color: #fff;
font-family: "Cairo", "sans-serife";
cursor: pointer;
transition: .2s linear;
-webkit-transition: .2s linear;
-moz-transition: .2s linear;
-ms-transition: .2s linear;
-o-transition: .2s linear;
box-shadow: none;
}
section .container button:hover {
box-shadow: 0px 0px 10px #cac6c6b7;
background-color: #fff;
border-color: #43a047;
color: #43a047;
}
section .container span {
display: inline-block;
width: calc(95% / 3);
color: #43a047;
font-weight: bold;
}
@media(max-width:680px) {
section .container span {
display: inline-block;
width: calc(95% / 2);
}
}
@media(max-width:470px) {
section .container span {
display: inline-block;
width: calc(95% / 1);
}
}
section>p {
font-weight: bold;
}
section>p a {
text-decoration: none;
color: #43a047;
}
section>p a:hover {
text-decoration: underline;
}
section>p a:focus {
color: #43a047;
text-decoration: underline;
}