-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
117 lines (99 loc) · 1.84 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
header{
margin: 0 auto;
max-width: 95%;
background: linear-gradient(50deg, red, green, blue, orange, pink, aqua, skyblue, purple, transparent);
color: white;
font-weight: bolder;
text-shadow: 5px 5px 5px black;
}
nav ul{
width: 100%;
/* background-color: green; */
display: flex;
justify-content: flex-end;
}
nav ul li{
list-style: none;
margin: 5px;
padding: 5px;
}
nav ul li a{
padding: 0 5px;
color: white;
text-transform: capitalize;
text-decoration: none;
}
main{
min-height: 100vh;
}
main .container{
margin: 0 auto;
max-width: 95%;
/* background-color: orange; */
height: 300px;
display: flex;
justify-content: space-between;
}
.container div{
width: 200px;
height: 300px;
/* background-color: blueviolet; */
border: 2px solid black;
padding: 3px;
}
.img{
width: 150px;
height: 140px;
}
button{
float: right;
margin-right: 40px;
width: 70px;
height: 30px;
}
.dbutton{
float: right;
margin-right: 120px;
width: 70px;
height: 30px;
margin-top: 70px;
position: sticky;
}
.dbutton a{
text-decoration: none;
}
.p{
padding: 3px;
line-height: 5px;
}
@media (max-width: 500px) {
body{
overflow-x: hidden;
}
main{
display: flex;
flex-direction: row;
}
main .container{
margin: 0 auto;
max-width: 95%;
/* background-color: orange; */
height: 300px;
display: flex;
justify-content: space-between;
flex-direction: column;
}
.container div{
width: 200px;
height: 300px;
/* background-color: blueviolet; */
border: 2px solid black;
padding: 3px;
margin: 10px 0;
}
}