-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
81 lines (71 loc) · 1.5 KB
/
styles.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
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background-color: rgb(42, 42, 42);
}
.container {
width: 50%;
background-color: white;
padding: 20px;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
display: flex;
flex-wrap: wrap;
text-align: center;
justify-content: center;
font-size: 1.5em;
}
.form-elements {
flex-basis: 100%;
margin-bottom: 20px;
display: flex;
flex-direction: row;
}
h1 {
flex-basis: 100%;
text-align: center;
}
.emoji-box {
flex-basis: calc(33.33% - 20px);
/* Added to set box width to one-third minus margins */
margin: 10px;
/* Added margin between boxes */
text-align: center;
/* Center align content */
padding: 20px;
/* Added padding for spacing */
border: 1px solid #ccc;
/* Added border for box */
border-radius: 5px;
/* Added border radius for rounded corners */
cursor: pointer;
/* Added cursor pointer for hover effect */
flex-direction: row;
}
.emoji {
font-size: 30px;
}
.emoji p {
margin: 10px 0 0;
/* Added margin for space between emoji and text */
}
.submit-button {
flex-basis: 100%;
text-align: center;
}
.btn {
padding: 10px 20px;
border: none;
background-color: #030839;
color: white;
border-radius: 5px;
cursor: pointer;
}
.emoji-box:hover,
.emoji-box.active {
border-radius: 4px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}