-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
103 lines (101 loc) · 1.75 KB
/
style.css
File metadata and controls
103 lines (101 loc) · 1.75 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
body{
margin: 0;
/* margin-top: 0; */
}
.sidebar {
list-style-type: none;
width: 25%;
background-color:#17aecc;
position: fixed;
height: 100%;
overflow: auto;
margin: 0;
}
.sidebar li a{
text-decoration: none;
color: white;
display: block;
/* padding-left: 1px; */
/* padding: 20px 15px 10px 20px; */
padding: 8px 15px;
}
.sidebar li a.active{
background-color: rgb(124, 206, 43);
}
.sidebar li a:hover{
background-color: rgb(225, 215, 16);
}
.one{
margin-left: 25%;
height: auto;
padding: 3px 15px;
/* position: fixed; */
}
.two ul{
list-style-type: none;
margin: 0;
padding: 0;
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr;
grid-gap: 10px;
}
.card img{
display: block;
height: auto;
width: 100%;
}
.three{
display: grid;
grid-template-columns: 1fr 1fr;
grid-gap: 10px;
/* height: 130px; */
}
.three .box{
padding: 10px;
}
.three .box:first-child{
background-color: #84ad9f;
}
.three .box:last-child{
background-color: #a1ad84;
}
.footer{
padding: 10px;
margin-top: 20px;
background-color: #4067ab;
text-align: center;
color: white;
height: 20px;
}
.footer .c1{
float: left;
text-align: center;
}
.footer .c2{
float: right;
text-align: center;
}
@media screen and (max-width: 900px) {
.sidebar{
width: 100%;
height: auto;
position: relative;
}
.sidebar li a {
float: left;
padding: 10px;
}
}
@media screen and (max-width: 400px) {
.sidebar li a{
text-align: center;
float: none;
}
.one{
margin-left: 0;
}
.two ul, .three{
display: grid;
grid-template-columns: 1fr;
}
}