-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsubn.css
105 lines (105 loc) · 1.8 KB
/
subn.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
body {
margin:0px;
padding:0px;
}
div {
margin:0px;
padding:0px;
}
#main{
background-image:url(../img/background2.jpg);
background-size: cover;
background-position:center;
background-attachment:fixed;
width: 100%;
min-height: 100vh;
height:100%;
}
#container{
background-color:rgba(255,255,255,0.3);
margin:0px auto;
padding-top:10px;
min-height: calc(100vh - 80px);
height:100%;
width:90%;
}
#heading{
width:400px;
margin:10px auto;
border-width:2px 0px;
/*border-image: linear-gradient( to right, transparent, black, transparent);*/
border-color: black;
border-style:solid;
background-image: linear-gradient( to right, transparent, rgba(247, 197, 82,1), transparent);
}
h1 {
margin:5px auto;
color:#000;
text-align:center;
}
#container ul{
list-style-type:disc;
list-style-position:inside;
height:auto;
border:1px solid black;
}
#container ul li{
text-align:left;
height:40px;
border:1px solid black;
font-size:25px;
line-height:40px;
width:calc(100% - 12px);
padding-left:10px;
cursor:pointer;
}
#sem{
margin:auto;
width:100%;
padding:0px;
}
#sem li {
background-color: rgba(255,204,102,0.8);
}
#sem li:hover {
background-color: rgba(51,193,207,0.8);
}
#sub{
width:calc(100% - 40px);
padding-left:40px;
display: none;
}
#sub li {
background-color: rgba(255,204,102,0.5);
}
#sub li:hover {
background-color: rgba(51,193,207,0.5);
}
#ut{
width: (100% - 40px);
padding-left:40px;
display: none;
}
#ut li {
background-color:rgba(255,204,102,0.2);
}
#ut li:hover {
background-color: rgba(51,193,207,0.2);
}
#sem li img, #sub li img, #ut li img {
height:30px;
width:30px;
margin:5px;
float:right;
padding:0px;
}
@media only screen and (max-width:720px){
#container{
min-height: calc(100vh - 140px);
}
}
@media only screen and (max-width:420px){
#heading{
width:90%;
}
}