-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
94 lines (80 loc) · 1.34 KB
/
style.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
html {
margin: 0;
padding: 0;
display: flex;
align-items: center;
justify-content: center;
background-image: url(images/background.jpg);
background-size: cover;
}
body {
text-align: center;
margin: 2% 0;
width: 600px;
font-family: Arial, Helvetica, sans-serif;
background-color: rgba(0, 0, 0, 0.5);
border-radius: 20px;
}
main {
margin-bottom: 20px;
}
h1 {
margin-bottom: 15px;
color: white;
}
.mini-container {
display: flex;
flex-direction: row;
justify-content: space-around;
text-align: center;
margin: 0 auto;
width: 80%;
margin-bottom: 5px;
}
.menu-details{
display: flex;
flex-direction: column;
align-items: center;
}
img {
border: 5px solid darkorange;
border-radius: 100%;
}
h2 {
background-color: darkorange;
border: none;
border-radius: 10px;
padding: 5px;
width: 120px;
margin-bottom: 3px;
}
ul {
padding: 0;
list-style: none;
color: white ;
gap: 1px;
font-size: 16px;
}
/*-------------------CSS for small screens-----------------*/
@media only screen and (max-width:600px) {
body {
width: 80%;
padding: 10px;
min-height: 100vh;
}
.mini-container {
flex-direction: column;
align-items: center;
}
.menu-images {
order: 1;
margin: 10px 0;
}
.menu-details {
order: 2;
}
h2 {
width: auto;
margin: 0 auto 10px;
}
}