-
Notifications
You must be signed in to change notification settings - Fork 1
/
nav.css
126 lines (98 loc) · 1.9 KB
/
nav.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
/* nav-bar */
nav {
width: 100%;
height: 5%;
border: none;
margin: auto;
padding: 10px 0px;
display: flex;
justify-content: space-evenly;
background-color: blue;
margin-bottom: 10px;
}
nav>div>a {
text-decoration: none;
color: whitesmoke;
font-size: 20px;
}
/* order */
#order {
border: 0px solid black;
height: 50%;
width: 100%;
margin: auto;
background-color: #F5F5F5;
border: 0px solid black;
display: flex;
margin: auto;
padding-bottom: 20px;
}
#order>div {
height: 100%;
width: 100%;
border: 0px solid red;
}
#order>div h1 {
margin-top: 200px;
color: orangered;
text-align: center;
font-style: italic;
font-size: 45px;
}
#order>div h3 {
text-align: center;
font-size: 20px;
}
#order>div>button {
margin-left: 250px;
border-radius: 0%;
padding-left: 20px;
padding-right: 20px;
padding-top: 10px;
padding-bottom: 10px;
background-color: rgb(64, 0, 255);
border: none;
}
#order>div a {
text-decoration: none;
color: white;
font-style: italic;
font-size: 20px;
}
#order>div>button:hover {
background-color: orangered;
}
#order>div>button {
border-radius: 20px;
}
#order>div img {
width: 200%;
}
#order>div h3 {
text-align: center;
}
/* screenshot image */
#image {
background-image: url('image.png.png');
background-repeat: no-repeat;
background-attachment: fixed;
background-size: 100% 30%;
width: 100%;
margin: auto;
height: 20%;
border: 0px solid blue;
background-color: #F5F5F5;
}
/* media query */
@media all and (min-width:500px) and (max-width:899px){
#nav {
display: grid;
grid-template-columns: repeat(1,1fr);
}
}
@media all and (min-width:120px) and (max-width:499px){
#nav {
display: grid;
grid-template-columns: repeat(1,1fr);
}
}