-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
110 lines (92 loc) · 1.87 KB
/
index.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
*{
margin: 0%;
padding: 0%;
}
.dflex{
display: flex;
}
/*--------------------------------Images-----------------------------------------*/
.imgA{
width: 5rem;
border: 2px solid black;
border-radius: 6rem;
align-self: center;
margin-left: 15%;
margin-right: auto;
padding: 6px;
}
/*----------------------------------list---------------------------------------------*/
.ul1{
width: 40%;
}
.ul1>li{
margin-left: 4%;
padding-left: 0px;
padding-right: 0%;
/* padding: unset; */
/* background-color: yellow; */
/* border: 2px solid; */
height: 22px;
width: 76px;
font-size: 15px;
align-self: center;
}
a{
text-decoration: none;
}
/* ----------------------------------------------DIV----------------------------------*/
.div1{
width: 10%;
}
/*---------------------------- MainNav element----------------------------------*/
.Main_nav {
width: 100%;
}
.search{
align-self: center;
align-items: center;
}
@media only screen and (max-width: 998px) {
body {
background-color: lightblue;
}
.dflex{
display: flex;
flex-direction: column;
align-items: center;
}
.div1{
background-color: azure;
border: none;
display: block;
margin-left: auto;
margin-right: auto;
}
.imgA{
width: 100%;
border-radius: 10px;
display: block;
margin: auto;
}
.Main_nav{
background-color: bisque;
}
ul{
background-color: azure;
align-items: center;
margin-left: auto;
margin-right: auto;
}
li{
background-color: blueviolet;
border: 1px solid black;
margin: 5px;
border-radius: 10px;
}
}
@media only screen and (max-width: 915px)
{
body{
background-color: green;
}
}