This repository was archived by the owner on Feb 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathjquery.inThisPost.css
139 lines (115 loc) · 2.6 KB
/
jquery.inThisPost.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
127
128
129
130
131
132
133
134
135
136
137
138
139
/**
* Inline
*/
.content-index-block {
padding: 30px;
margin: 0;
font-size: 80%;
list-style: none;
width: 100%;
z-index: 999999;
display: none;
text-align: center;
background-color: #fff;
position: fixed;
}
.content-index-block ul {
padding: 0 !important;
}
.content-index-block .content-index-list {
margin: 0 !important;
display: inline-block;
}
.content-index-block .content-index-title {
/* content: attr(data-title);*/
display: inline-block;
padding-right: 15px;
font-weight: bolder;
color: #555;
}
.content-index-block .content-index-list ul {
list-style: none;
margin: 0;
display: inline-block;
}
.content-index-block .content-index-list li {
display: inline-block;
margin: 3px 0;
}
.content-index-block .content-index-list > li:not(:last-child)::after {
content: "\00B7";
margin-right: 10px;
display: inline-block;
}
.content-index-block .content-index-list ul > li::before {
content: "\00B7";
margin-right: 10px;
display: inline-block;
}
.content-index-block .content-index-list ul > li {
font-style: italic;
}
.content-index-block .content-index-list li a {
margin-right: 10px;
color: #999;
outline: none;
}
.content-index-block .content-index-list li a.active {
color: #222;
}
/**
* Mobile Version
*/
@media only screen and (max-width: 768px) {
/** Auto Width */
.content-index-block {
width: 100%;
padding: 20px;
}
/** We now need to hide the list block */
.content-index-list {
overflow: hidden;
width: 0;
height: 0;
/* Set our transitions up. */
/*
-webkit-transition: width 200ms ease;
-moz-transition: width 200ms ease;
transition: width 200ms ease;
*/
}
.content-index-block .content-index-list li a {
margin-right: 0;
}
/** On Hover we can ajust the width */
.content-index-block:hover {
width: 100%;
height: auto;
}
.content-index-block .content-index-list {
display: block;
}
.content-index-block:hover .content-index-list {
width: 100%;
height: auto;
}
.content-index-block .content-index-list > li,
.content-index-block .content-index-list ul,
.content-index-block .content-index-list ul > li {
padding: 0;
display: block;
}
.content-index-block a,
.content-index-block .content-index-title {
padding: 3px 0;
display: block;
}
.content-index-block .content-index-list > li:not(:last-child)::after,
.content-index-block .content-index-list ul > li::before {
margin-right: 0;
content: none;
}
.content-index-block .content-index-title {
padding-right: 0;
}
} /* end mediaquerie; */