-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
147 lines (132 loc) · 2.31 KB
/
index.css
File metadata and controls
147 lines (132 loc) · 2.31 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
ul, ol, a{
list-style: none;
text-decoration: none;
}
main{
display: flex;
}
/* SIDEBAR */
#sidebar{
background-color: #ddd;
box-shadow: 0 0 7px rgba(0, 0, 0, 0.098);
padding-block: 2em;
padding-inline-start: 2em;
width: 400px;
}
/* HEADER */
#sidebar header{
padding-bottom: 20px;
}
/* LINKS TO DIFFERENT SECTIONS */
#sidebar div.links{
margin-left: 2em;
}
#sidebar div.links section ol{
margin-left: 2em;
}
.links li a{
color: #126281;
}
.links li b{
color: #126281
}
/* #sidebar div.links section ul li:first-child{
font-weight: ;
} */
#main-content{
background-color: #ddd;
width: 100%;
padding-left: 8%;
padding-top: 10%;
}
.auth-3{
background-color: #fff;
width: 95%;
padding: 5px 15px;
box-shadow: 0 0 6px rgba(0, 0, 0, 0.149);
border-radius: 6px;
}
.auth-3 .user-info div{
padding: 10px;
border-radius: 3px;
}
.login-user,.register-user, .create-order{
background-color: rgba(0, 0, 255, 0.18);
}
.logout-user, .get-all-orders, .get-all-user-orders, .get-single-order{
background-color: rgba(127, 255, 212, 0.161);
margin: 10px 0;
}
.update-order{
background-color: rgba(255, 255, 0, 0.111);
}
.user-info{
padding-top: 15px;
padding-bottom: 20px;
}
.user-info span{
border: 1px solid black;
padding: 3px;
}
.order-5{
background-color: #fff;
width: 95%;
padding: 5px 15px;
box-shadow: 0 0 6px rgba(0, 0, 0, 0.149);
border-radius: 6px;
margin-top: 1.8em;
}
.order-5 .order-info div{
padding: 10px;
border-radius: 3px;
box-shadow: 0 0 3px rgba(0, 0, 0, 0.128);
margin: 10px 5px;
}
.order-info span{
border: 1px solid black;
padding: 3px;
}
#main-content .circle{
/* color: red; */
width: 20px;
height: 20px;
background-color: #444;
color: #fff;
border-radius: 50px;
display: inline-block;
text-align: center;
font-weight: 600;
margin-bottom: 15px;
}
/* mobile responsiveness */
@media (max-width:900px){
body{
background-color: green;
}
main{
flex-direction: column;
}
#sidebar{
width: 100%;
background-color:lightblue;
}
#main-content{
width: 100%;
padding: 0;
}
.auth-3,.order-5{
width: 95%;
margin: 30px auto;
}
}
@media(max-width: 486px){
.user-info p, .order-info p, span{
font-size: 3.5vw;
line-height: 23px;
}
}