-
Notifications
You must be signed in to change notification settings - Fork 1
/
logstyle.css
164 lines (139 loc) · 2.31 KB
/
logstyle.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
154
155
156
157
158
159
160
161
162
163
164
body
{
font-family: "Roboto";
padding: 0px;
margin: 0px;
box-sizing: border-box;
}
.logo-text {
padding: 5px;
margin: 10px;
}
header {
display: flex;
justify-content: space-between;
padding: 0 20px;
border-bottom: 1px solid lightgray;
box-shadow: 1px 1px 5px rgba(10, 10, 10, 0.5);
}
.nav {
display: flex;
justify-content: space-between;
gap: 60px;
margin: 20px;
list-style-type: none;
}
a {
text-decoration: none;
color: black;
}
a:hover {
color: rgb(147, 144, 144);
}
.logo {
display: flex;
justify-content: flex-start;
align-items: center;
}
.mainsection
{
position: absolute;
top: 33%;
left: 33%;
background-color: #B2FEA6;
padding: 25px;
height: 300px;
border-radius: 20px;
float: left;
width: 35%; The width is 60%, by default */
}
#left
{
position: absolute;
top: 16%;
left: 46%;
font-size: 27px;
padding: 16px;
float: left;
width: 15%; The width is 20%, by default */
}
#uname
{
border: none;
border-bottom: 2px solid black;
background-color: #B2FEA6;
position: absolute;
top: 15%;
left: 9%;
width: 80%;
font-size: 20px;
box-sizing: border-box;
resize: vertical;
padding: 5px;
}
#pass
{
border: none;
border-bottom: 2px solid black;
background-color: #B2FEA6;
position: absolute;
top: 35%;
left: 9%;
width: 80%;
font-size: 20px;
box-sizing: border-box;
resize: vertical;
padding: 5px;
}
#fpass
{
color: darkred;
text-decoration: none;
position: absolute;
top: 50%;
left: 10%;
font-size: 17px;
padding: 5px;
}
#newu
{
color: darkblue;
text-decoration: none;
position: absolute;
top: 50%;
right: 10%;
font-size: 17px;
padding: 5px;
}
#login
{
background-color: #0B4D01;
text-decoration: none;
padding: 15px 20px;
cursor: pointer;
color: white;
position: absolute;
top: 70%;
left: 25%;
border-radius: 30px;
width: 50%;
font-size: 22px;
font-weight: bold;
margin: 10px 0;
float: right;
}
/* Use a media query to add a break point at 800px: */
@media screen and (max-width: 600px) {
#left{
position: absolute;
left: 32%;
font-size: 22px;
width: 60%; The width is 100%, when the viewport is 800px or smaller */
margin-top: 20px;
}
.mainsection, .right {
position: absolute;
left: 15%;
width: 60%; The width is 100%, when the viewport is 800px or smaller */
margin-top: 35px;
}