-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
152 lines (143 loc) · 2.85 KB
/
style.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
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
*{
font-family: 'Open Sans', sans-serif;
padding: 0;
margin: 0;
box-sizing: border-box;
}
body{
background-image: url(./img/UGURT.png);
background-position: center;
background-size: cover;
background-repeat: no-repeat;
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
text-decoration: none;
}
.container{
width: 40rem;
background-color: #fff;
border-radius: 10px;
padding: 20px;
}
.box{
border-radius: 5px;
border: 1px solid #7f8487;
}
.controls, .controls li{
display: flex;
align-items: center;
justify-content: space-between;
}
.controls .icons i {
display: flex;
width: 40px;
color: #7f8487;
font: 16px;
cursor: pointer;
justify-content: center;
}
.controls .icons{
display: flex;
width: 35%;
}
ul{
list-style: none;
padding: 12px 15px;
}
.box .text-controls {
display: flex;
border-top: 1px solid #7f8487;
}
.text-controls textarea{
height: 250px;
width: 100%;
border: none;
outline: none; /* üzerine konumlanınca gelen etrafındaki çizgiyi kaldırır */
font-size: 18px;
border-radius: 5px;
background: none;
padding: 10px 10px;
resize: none;
}
.text-controls .to-text{
border-left: 1px solid #7f8487;
border-radius: 0;
}
button{
background-color: #555555;
border: none;
color: #fff;
padding: 10px 20px;
width: 100%;
margin-top: 5px;
font-size: 15px;
transition-duration: 4s;
}
button:hover{
background-color: #fff;
color: black;
border: 2px solid #555;
}
.fa-exchange-alt{
color: #1897bf;
font-size: 20px;
}
@media (max-width: 800px) {
.text-controls {
flex-direction: column;
}
.container{
width: 30rem;
margin: 0px 200px;
}
.text-controls .to-text{
border-top: 1px solid #7f8487;
border-left: none;
border-radius: 0;
}
.controls .exchange{
margin: 0 1rem;
}
}
@media (max-width: 500px) {
.text-controls {
flex-direction: column;
}
.container{
width: 100%;
padding: 1rem;
}
.text-controls .to-text{
border-top: 1px solid #7f8487;
border-left: none;
border-radius: 0;
}
.controls{
display: flex;
align-items: center;
justify-content: space-between;
}
.controls li{
display: flex;
align-items: center;
flex-direction: column;
}
.controls .left{
flex-direction: column-reverse;
text-align: center;
}
.controls .exchange {
margin: 0 1rem;
}
.icons{
margin: 1rem 0;
justify-content: space-between;
}
.controls .icons{
display: flex;
width: 5rem;
}
}