-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfrontend.css
More file actions
142 lines (139 loc) · 2.41 KB
/
frontend.css
File metadata and controls
142 lines (139 loc) · 2.41 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
* {
margin: 0;
box-sizing: border-box;
}
.container {
display: flex;
justify-content: space-between;
color: white;
background-color: black;
padding: 1em 2em;
/* border-radius: 12px 12px 0px 0px; */
position: sticky;
top: 0;
z-index: 10;
}
.left {
display: flex;
gap: 1em;
}
.border {
border-right: 2px solid white;
padding-right: 1em;
}
button {
padding: 4px;
}
button.primary {
background-color: black;
color: white;
border: 1px solid rgb(102, 94, 94);
border-radius: 4px;
}
button.secondary {
background-color: blue;
color: whitesmoke;
border: none;
border-radius: 4px;
}
.how {
background-color: #dadbf1;
place-items: center;
color: white;
padding: 1em 2em;
}
h1 {
color: black;
}
input {
display: block;
width: 20vw;
max-width: 300px;
padding: 0.5em;
border-radius: 4px;
border: none;
box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
margin: 1em auto;
}
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2em;
place-items: center;
/* margin: 3em 10em; */
padding: 2em;
grid-template-areas:
"box-1 box-2"
"box-3 box-4"
"box-5 box-6";
}
.item {
display: flex;
width: 300px;
background-color: blue;
}
img {
position: relative;
width: 10vw;
height: 10vh;
margin-right: 2em;
margin-top: 1.8em;
}
a {
text-decoration: none;
}
.footer {
display: flex;
background-color: black;
color: white;
padding: 4em;
text-align: center;
position: relative;
place-content: center;
text-align: left;
gap: 2em;
line-height: 2em;
bottom: 0px;
width: 100%;
}
ul {
list-style: none;
margin: 0px;
padding: 0px;
text-align: left;
}
li {
margin: 0px;
padding: 0px;
text-align: left;
}
@media (max-width:400px) {
.container{
flex-direction: column;
gap: 20px;
justify-content: center;
text-align: center;
align-items: center;
}
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2em;
place-items: center;
/* margin: 3em 10em; */
padding: 2em;
grid-template-areas:
"box-1 "
"box-2"
"box-3"
"box-4"
"box-5"
"box-6";
}
.footer{
flex-wrap: wrap;
}
img{
width: 100px;
}
}