Skip to content

Commit 3212bdc

Browse files
committed
Add styles
1 parent 9dde166 commit 3212bdc

File tree

1 file changed

+83
-0
lines changed

1 file changed

+83
-0
lines changed
+83
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
@import url('https://fonts.googleapis.com/css?family=Muli&display=swap');
2+
3+
* {
4+
box-sizing: border-box;
5+
}
6+
7+
body {
8+
background: linear-gradient(to right, #e762ea, #b3f4f0);
9+
color: rgb(255, 255, 255);
10+
font-family: 'Muli';
11+
font-weight: 500;
12+
display: flex;
13+
flex-direction: column;
14+
align-items: center;
15+
justify-content: center;
16+
height: 100vh;
17+
overflow: hidden;
18+
padding: 10px;
19+
margin: 0;
20+
}
21+
22+
h2 {
23+
margin: 10px 0 20px;
24+
text-align: center;
25+
font-weight: 1000;
26+
}
27+
28+
.container {
29+
background-color: #2bd3df;
30+
box-shadow: 0px 2px 10px rgba(255, 255, 255, 0.2);
31+
padding: 20px;
32+
width: 350px;
33+
max-width: 100%;
34+
}
35+
36+
.result-container {
37+
background-color: rgba(0, 0, 0, 0.247);
38+
display: flex;
39+
justify-content: flex-start;
40+
align-items: center;
41+
position: relative;
42+
font-size: 18px;
43+
font-weight: bold;
44+
letter-spacing: 1px;
45+
padding: 12px 10px;
46+
height: 50px;
47+
width: 100%;
48+
}
49+
50+
.result-container #result {
51+
word-wrap: break-word;
52+
max-width: calc(100% - 40px);
53+
}
54+
55+
.result-container .btn {
56+
position: absolute;
57+
top: 5px;
58+
right: 5px;
59+
width: 40px;
60+
height: 40px;
61+
font-size: 20px;
62+
}
63+
64+
.btn {
65+
border: none;
66+
background-color: #2c085c;
67+
color: #fff;
68+
font-size: 16px;
69+
padding: 8px 12px;
70+
cursor: pointer;
71+
}
72+
73+
.btn-large {
74+
display: block;
75+
width: 100%;
76+
}
77+
78+
.setting {
79+
display: flex;
80+
justify-content: space-between;
81+
align-items: center;
82+
margin: 15px 0;
83+
}

0 commit comments

Comments
 (0)