Skip to content

Commit 780d93e

Browse files
committed
update the blog
2 parents a80adcb + 0890844 commit 780d93e

File tree

167 files changed

+144799
-8
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

167 files changed

+144799
-8
lines changed

2024/07/28/1.android/2.android-xi-tong/1.android-xi-tong-ri-zhi/android-logcat-xi-tong-jiang-jie/index.html

+1,096
Large diffs are not rendered by default.

2024/07/28/hello-world/index.html

+1,105
Large diffs are not rendered by default.

2024/08/01/4.ji-chu-nei-gong/3.she-ji-mo-shi/1.chuang-jian-xing/dan-li-mo-shi/index.html

+1,091
Large diffs are not rendered by default.

2024/08/01/4.ji-chu-nei-gong/3.she-ji-mo-shi/1.chuang-jian-xing/jian-zao-zhe-mo-shi/index.html

+1,079
Large diffs are not rendered by default.

2024/08/01/4.ji-chu-nei-gong/3.she-ji-mo-shi/1.chuang-jian-xing/yuan-xing-mo-shi/index.html

+1,081
Large diffs are not rendered by default.

about/index.html

+1,196
Large diffs are not rendered by default.

archives/2024/07/index.html

+947
Large diffs are not rendered by default.

archives/2024/08/index.html

+986
Large diffs are not rendered by default.

archives/2024/index.html

+1,099
Large diffs are not rendered by default.

archives/index.html

+1,099
Large diffs are not rendered by default.

books/index.html

+1,082
Large diffs are not rendered by default.

categories/android-系统/index.html

+817
Large diffs are not rendered by default.

categories/index.html

+821
Large diffs are not rendered by default.

contact/index.html

+1,082
Large diffs are not rendered by default.

css/barrager.css

+81
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
.barrage {
2+
position: fixed;
3+
bottom: 70px;
4+
right: -500px;
5+
display: inline-block;
6+
width: 500px;
7+
z-index: 99999
8+
}
9+
10+
.barrage_box {
11+
background-color: rgba(0, 0, 0, .5);
12+
padding-right: 8px;
13+
height: 40px;
14+
display: inline-block;
15+
border-radius: 25px;
16+
transition: all .3s;
17+
}
18+
19+
.barrage_box .portrait {
20+
display: inline-block;
21+
margin-top: 4px;
22+
margin-left: 4px;
23+
width: 32px;
24+
height: 32px;
25+
border-radius: 50%;
26+
overflow: hidden;
27+
}
28+
29+
.barrage_box .portrait img {
30+
width: 100%;
31+
height: 100%;
32+
}
33+
34+
.barrage_box div.p a {
35+
margin-right: 2px;
36+
font-size: 14px;
37+
color: #fff;
38+
line-height: 40px;
39+
margin-left: 18px;
40+
}
41+
42+
.barrage_box div.p a:hover {
43+
text-decoration: underline;
44+
}
45+
46+
.barrage_box .close {
47+
visibility: hidden;
48+
opacity: 0;
49+
text-align: center;
50+
width: 25px;
51+
height: 25px;
52+
margin-left: 20px;
53+
border-radius: 50%;
54+
background: rgba(255, 255, 255, .1);
55+
margin-top: 8px;
56+
background-image: url(/medias/barrager/close.png);
57+
}
58+
59+
.barrage_box:hover .close {
60+
visibility: visible;
61+
opacity: 1;
62+
}
63+
64+
.barrage_box .close a {
65+
display: block;
66+
}
67+
68+
.barrage_box .close .icon-close {
69+
font-size: 14px;
70+
color: rgba(255, 255, 255, .5);
71+
display: inline-block;
72+
margin-top: 5px;
73+
}
74+
75+
.barrage .z {
76+
float: left !important;
77+
}
78+
79+
.barrage a {
80+
text-decoration: none;
81+
}

css/bb.css

+125
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
1+
div.timenode {
2+
position: relative;
3+
}
4+
5+
div.timenode:before,
6+
div.timenode:after {
7+
content: '';
8+
z-index: 1;
9+
position: absolute;
10+
background: rgba(68, 215, 182, 0.5);
11+
width: 2px;
12+
left: 7px;
13+
}
14+
15+
div.timenode:before {
16+
top: 0px;
17+
height: 6px;
18+
}
19+
20+
div.timenode:after {
21+
top: 26px;
22+
height: calc(100% - 26px);
23+
}
24+
25+
div.timenode:last-child:after {
26+
height: calc(100% - 26px - 16px);
27+
border-bottom-left-radius: 2px;
28+
border-bottom-right-radius: 2px;
29+
}
30+
31+
div.timenode .meta,
32+
div.timenode .body {
33+
max-width: calc(100% - 24px);
34+
}
35+
36+
div.timenode .meta {
37+
position: relative;
38+
color: var(--color-meta);
39+
font-size: 0.875rem;
40+
line-height: 32px;
41+
height: 32px;
42+
}
43+
44+
div.timenode .meta:before,
45+
div.timenode .meta:after {
46+
content: '';
47+
position: absolute;
48+
top: 8px;
49+
z-index: 2;
50+
}
51+
52+
div.timenode .meta:before {
53+
background: rgba(68, 215, 182, 0.5);
54+
width: 16px;
55+
height: 16px;
56+
border-radius: 8px;
57+
}
58+
59+
div.timenode .meta:after {
60+
background: #44d7b6;
61+
margin-left: 2px;
62+
margin-top: 2px;
63+
width: 12px;
64+
height: 12px;
65+
border-radius: 6px;
66+
transform: scale(0.5);
67+
transition: all 0.28s ease;
68+
-moz-transition: all 0.28s ease;
69+
-webkit-transition: all 0.28s ease;
70+
-o-transition: all 0.28s ease;
71+
}
72+
73+
div.timenode .meta p {
74+
font-weight: bold;
75+
margin: 0 0 0 24px;
76+
}
77+
78+
div.timenode .body {
79+
margin: 4px 0 16px 24px;
80+
padding: 16px;
81+
border-radius: 8px;
82+
background: var(--color-block);
83+
display: inline-block;
84+
}
85+
86+
div.timenode .body:empty {
87+
display: none;
88+
}
89+
90+
div.timenode .body > *:first-child {
91+
margin-top: 0.25em;
92+
}
93+
94+
div.timenode .body > *:last-child {
95+
margin-bottom: 0.25em;
96+
}
97+
98+
div.timenode .body .highlight {
99+
border: 1px solid #e4e4e4;
100+
}
101+
102+
div.timenode:hover .meta {
103+
color: var(--color-text);
104+
}
105+
106+
div.timenode:hover .meta:before {
107+
background: rgba(255, 87, 34, 0.5);
108+
}
109+
110+
div.timenode:hover .meta:after {
111+
background: #ff5722;
112+
transform: scale(1);
113+
}
114+
115+
div.timenode .body {
116+
margin: 0 0 0 24px;
117+
padding: 16px;
118+
border-radius: 8px;
119+
background: #f6f6f6;
120+
display: inline-block;
121+
}
122+
123+
div.timenode time {
124+
margin-left: 20px;
125+
}

0 commit comments

Comments
 (0)