-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
153 lines (130 loc) · 2.82 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
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
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,200;1,500;1,800&display=swap');
*,
*::after,
*::before {
box-sizing: border-box;
}
:root {
--background-gradient1: linear-gradient(90deg, rgba(122, 199, 79, 1) 0%, rgba(161, 207, 107, 1) 100%);
--background-color1: #D5D887;
--background-color2: #E87461;
--text-color: white;
}
body {
font-family: 'Raleway', sans-serif;
background: var(--background-gradient1);
}
.wrapper {
max-width: 1024px;
width: 80%;
margin: 2rem auto;
display: flex;
justify-content: space-between;
}
.main {
width: 60%;
max-width: 1000px;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.text-area-main {
background-color: var(--background-gradient1);
color: var(--text-color);
width: 100%;
max-width: 100%;
max-height: 400px;
min-width: 100%;
min-height: 400px;
border: none;
}
.buttons p {
color: var(--text-color);
font-size: .8rem;
font-weight: 700;
}
.btn-styles {
width: 12rem;
height: 3rem;
font-weight: 700;
border-radius: 20px;
font-size: 1rem;
border: none;
}
.btn-styles:hover,
.btn-styles styles:active {
cursor: pointer;
opacity: .7;
}
.buttons .encrypt {
background-color: var(--background-color1);
color: var(--background-color2);
margin-right: 1.5rem;
width: 45%;
}
.buttons .decrypt {
background-color: var(--background-color2);
color: var(--background-color1);
width: 45%;
}
.decryptor {
width: 35%;
padding: .5rem 1rem;
background-color: #7AC74F;
border-radius: 15px;
font-weight: 600;
color: var(--text-color);
display: flex;
box-shadow: 9px 10px 17px -5px rgba(0, 0, 0, 0.75);
-webkit-box-shadow: 9px 10px 17px -5px rgba(0, 0, 0, 0.75);
-moz-box-shadow: 9px 10px 17px -5px rgba(0, 0, 0, 0.75);
}
.decreptor-wrapper {
height: auto;
width: 95%;
margin: 0 auto;
}
.decryptor-empty {
margin: 12rem 2rem;
display: block;
}
.decryptor-fill {
display: none;
}
.text-area-decryptor {
background-color: var(--background-gradient1);
color: var(--text-color);
width: 100%;
border: none;
margin-bottom: 8.2rem;
}
.copy {
background-color: var(--background-color2);
color: var(--background-color1);
width: 100%;
}
@media screen and (max-width: 650px) {
.wrapper {
flex-direction: column;
justify-content: space-between;
width: 60%;
margin: 2rem auto;
}
.main {
width: 100%;
}
.decryptor {
width: 100%;
margin: 3rem auto 0 auto;
}
.text-area-decryptor {
margin-bottom: 1rem;
}
}
@media screen and (max-width: 485px) {
.buttons .encrypt,
.buttons .decrypt {
width: 100%;
margin-bottom: 1rem;
}
}