-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles2.css
103 lines (100 loc) · 2 KB
/
styles2.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
h1 {
text-align: left;
font-size: 25px;
margin-top: 20px;
margin-left: 3px;
padding: 10px;
position: relative; /* Set the position to relative for absolute positioning of children */
width: 100%;
display: flex;
justify-content: left;
}
p {
text-align: left;
font-weight: 100;
font-size: 15px;
margin-left: 10px;
margin-bottom: 5px;
position: relative; /* Set the position to relative for absolute positioning of children */
width: 50%;
display: flex;
justify-content: left;
}
.h2 {
text-align: center;
}
.styled-section {
background-color: white;
border: 2px solid white;
padding: 20px 55px;
margin: 30px 55px;
border-radius: 20px;
text-align: center;
position: absolute;
top: 40%;
left: 50%;
transform: translate(-50%, -50%);
}
.input-icons {
width: 100%;
margin-bottom: 10px;
}
.input-icons i {
position: absolute;
padding: 15px 30px;
margin: 5px 5px;
color: grey;
min-width: 50px;
text-align: left;
}
/* Full-width input fields */
input[type=text] {
width: 100%;
padding: 20px 50px;
margin: 5px 5px;
display: inline-block;
border: 1px solid #ccc;
border-radius: 20px;
box-sizing: border-box;
}
input[type=password] {
width: 100%;
padding: 20px 50px;
margin: 5px 5px;
display: inline-block;
border: 1px solid #ccc;
border-radius: 20px;
box-sizing: border-box;
}
/* Set a style for all buttons */
button {
background-color: grey;
color: white;
padding: 22px 50px;
margin: 5px 5px;
border: none;
border-radius: 20px;
cursor: pointer;
width: 100%;
display: inline-block;
}
.button1 {
background-color: green;
}
.button2 {
background-color: blue;
}
button:hover {
background-color: #013220;
opacity: 0.8;
}
span.psw {
display: block;
float: center;
margin: 10px;
font-size: 12px;
}
.button-container {
margin-top: 20px;
display: flex;
}