-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
123 lines (111 loc) · 2.07 KB
/
styles.css
File metadata and controls
123 lines (111 loc) · 2.07 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
*{
margin: 0;
padding: 0;
font-family: sans-serif;
}
body{
background-color: #2C3333;
height: 100vh;
width: 100vw;
}
header {
background-color: #176B87;
display: flex;
justify-content: center;
align-items: center;
height: 100px;
width: 100vw;
}
.title{
font-family: sans-serif;
font-size: 2.3rem;
text-align: center;
color: #D8E9A8;
}
/*button css*/
.dark-light {
width:60px;
height:30px;
position: absolute;
top: 35px;
right : 50px;
display: block;
background: #ebebeb;
border-radius: 200px;
box-shadow: inset 0px 5px 15px rgba(0,0,0,0.4), inset 0px -5px 15px rgba(255,255,255,0.4);
transition: 0.3s;
cursor: pointer;
}
.dark-light:after {
content: "";
width:30px;
height: 30px;
position: absolute;
background: linear-gradient(180deg,#ffcc89,#d8860b);
border-radius: 180px;
box-shadow: 0px 5px 10px rgba(0,0,0,0.2);
transition: 0.3s;
}
#darkmode-toggle {
width: 0;
height: 0;
visibility: hidden;
}
#darkmode-toggle:checked + .dark-light {
background: #242424;
}
#darkmode-toggle:checked + .dark-light:after {
left:30px;
background: linear-gradient(180deg,#777,#3a3a3a);
}
/*style buttons*/
.buttons-container{
display: flex;
justify-content: center;
height: 60px;
width: 100vw;
margin-top: 10px;
margin-bottom: 10px;
}
#compare{
height: 50px;
width: 150px;
margin: 10px;
background-color: #176B87;
color: #EEF5FF;
border: 0px;
border-radius: 5px;
font-size: 20px;
cursor: pointer;
}
#compare:hover {
background-color: #4a96af;
color: #bfc1c4;
}
/*costomise textareas*/
.text-fields{
width: 100vw;
height: 60%;
display: flex;
justify-content: center;
}
#field1,
#field2{
background-color:#3c4444 ;
width: 50vw;
border: 0;
border-radius: 10px;
margin-left: 10px;
margin-right: 10px;
color: white;
padding-left: 10px;
padding-top: 10px;
font-size:15px ;
}
#field1::placeholder,
#field2::placeholder{
font-size: 15px;
}
textarea:focus{
outline: 1px solid rgb(255, 255, 255);
}