-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
157 lines (131 loc) · 2.27 KB
/
index.css
File metadata and controls
157 lines (131 loc) · 2.27 KB
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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
html, body {
margin: 0;
font-family: 'Karla', sans-serif;
}
/*typography*/
h1, h2, h3{
text-align: center;
}
h1, h2{
color: #EED6D3;
margin: 0;
}
h1{
font-size: 28px;
}
h2 {
font-size: 16px;
}
h3{
margin: 25px;
}
/* layout */
header{
background-color: #67595E;
}
.header-inner{
display: flex;
align-items: center;
margin: 0 auto;
width: 370px;
gap: 15px;
padding: 10px 0 0 0;
}
.pumpkin-img{
width: 80px;
}
.controls-container{
display: flex;
flex-direction: column;
width: 200px;
margin: 0px auto;
}
/* controls */
.emotion-radios{
display: flex;
flex-direction: column;
border: 1px solid #bcbcbc;
border-radius: 5px;
}
.radio{
display: flex;
align-items: center;
border-bottom: 1px solid #bcbcbc;
padding: 4px 8px;
}
label{
font-size: 14px;
padding: 3px;
width: 100%;
cursor: pointer;
}
/* highlight styling */
.highlight{
background-color: #fff0ee;
color: #bd301d;
font-weight: bold;
/* this is in charge of the color on the radio button */
accent-color: #bd301d;
}
.radio:last-child{
border-bottom: 0;
}
input[type="radio"]{
cursor: pointer;
}
.gifs-check{
display: flex;
align-items: center;
justify-content: center;
margin: 16px;
}
.gifs-check-label{
width: unset;
margin-right: 5px;
}
.get-image-btn{
background-color: #67595e;
color: #eed6d3;
padding: 15px 19px;
font-size: 24px;
border: none;
border-radius: 5px;
margin-bottom: 8px;
}
/* modal */
.meme-modal{
display: none; /*flex when displayed*/
position: fixed;
margin: auto;
top: 80px;
left: 0;
right: 0;
align-items: center;
justify-content: center;
border: 1px solid #67595e;
border-radius: 5px;
width: 420px;
height: 490px;
background-color: #fff0ee;
}
.cat-img{
max-width: 340px;
max-height: 420px;
border-radius: 5px;
}
.meme-modal-close-btn{
position: absolute;
top: 2%;
right: 2%;
background-color: transparent;
border: 2px solid #555;
color: #555;
border-radius: 50%;
padding: 2px 6px;
font-size: 14px;
}
.meme-modal-close-btn:hover{
color: white;
background-color: #bd301d;
border: 2px solid #bd301d;
}