File tree Expand file tree Collapse file tree 7 files changed +92
-0
lines changed Expand file tree Collapse file tree 7 files changed +92
-0
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ exclude:
41
41
- README.md
42
42
- COPYING
43
43
- vendor
44
+ - minify.cmd
44
45
sass :
45
46
style : compressed
46
47
lang : zh_CN
Original file line number Diff line number Diff line change 104
104
</ li >
105
105
< li > < a class ="waves-effect " href ="/ "> < i class ="material-icons "> home</ i > Home - 主页</ a > </ li >
106
106
< li > < a class ="waves-effect " href ="/projects "> < i class ="material-icons "> description</ i > Github - 项目</ a > </ li >
107
+ < li > < a class ="waves-effect " href ="/tools "> < i class ="material-icons "> build</ i > Tools - 在线工具</ a > </ li >
107
108
< li > < a class ="waves-effect " href ="/categories "> < i class ="material-icons "> sort</ i > Categories - 目录</ a > </ li >
108
109
< li > < a class ="waves-effect " href ="/tags "> < i class ="material-icons "> label</ i > Tags - 标签</ a > </ li >
109
110
< li > < a class ="waves-effect " href ="/feed.xml " target ="_blank "> < i class ="material-icons "> rss_feed</ i > RSS - 订阅</ a > </ li >
Original file line number Diff line number Diff line change
1
+ {% if site.github.public_repositories %}
2
+ {% assign sorted_repos = (site.github.public_repositories | sort: 'pushed_at') | reverse %}
3
+
4
+ {% for repo in sorted_repos %}
5
+ {% if repo.homepage != nil and repo.homepage != '' and repo.fork == false %}
6
+ < div class ="col s12 ">
7
+ < div class ="card hoverable ">
8
+ < div class ="card-image waves-effect waves-block waves-light geopattern activator "
9
+ data-pattern-id ="{{repo.name}} ">
10
+ < a href ="{{repo.html_url}} " class ="card-image-icon " target ="_blank ">
11
+ < i class ="material-icons waves-effect waves-block waves-light tooltipped " data-position ="right "
12
+ data-tooltip ="Github:<br>{{repo.html_url}} "> code</ i >
13
+ </ a >
14
+ < a class ="card-title center-align valign-wrapper tooltipped " href ="{{repo.homepage}} " data-position ="right "
15
+ data-tooltip ="{{repo.homepage}} " target ="_blank ">
16
+ {{repo.name}}
17
+ </ a >
18
+ </ div >
19
+ < div class ="card-content valign-wrapper center-align activator ">
20
+ < span class ="activator grey-text text-darken-1 "> {{repo.description}}</ span >
21
+ </ div >
22
+ </ div >
23
+ </ div >
24
+ {% endif %}
25
+ {% endfor %}
26
+
27
+ {% endif %}
Original file line number Diff line number Diff line change
1
+ ---
2
+ ---
3
+ .card
4
+ display : flex
5
+ flex-wrap : wrap
6
+ margin-bottom : 2em
7
+ overflow : auto
8
+
9
+ .card-image
10
+ overflow-x : hidden
11
+ flex : 3
12
+ min-width : 300px
13
+
14
+ .card-image-icon
15
+ position : absolute
16
+ top : 0
17
+ right : 0
18
+ i
19
+ padding : 10px
20
+ color : #fff
21
+ font-size : 20px
22
+ & :hover
23
+ color : #2196F3
24
+ border-radius : 50%
25
+ border : 1px outset #26a69a
26
+ a .card-title
27
+ position : unset
28
+ font-weight : bold
29
+ color : #fff
30
+ width : 100%
31
+ height : 100%
32
+ line-height : 100%
33
+ justify-content : center
34
+ word-break : break-all
35
+ z-index : -1
36
+
37
+ .card-content
38
+ flex : 2
39
+ min-width : 200px
40
+ overflow : hidden
41
+ font-size : 14px
42
+ line-height : 110%
43
+
44
+ span
45
+ width : 100%
Original file line number Diff line number Diff line change
1
+ document . addEventListener ( 'DOMContentLoaded' , ( ) => {
2
+ document . querySelectorAll ( '.geopattern' ) . forEach ( el => {
3
+ var pattern = GeoPattern . generate ( el . dataset . patternId ) . toDataUrl ( ) ;
4
+ el . style . backgroundImage = pattern ;
5
+ } ) ;
6
+ } ) ;
Original file line number Diff line number Diff line change
1
+ ---
2
+ layout : page
3
+ title : " Online Tools"
4
+ css : ["tools.css"]
5
+ js : [
6
+ " https://cdnjs.cloudflare.com/ajax/libs/geopattern/1.2.3/js/geopattern.min.js" ,
7
+ " tools.min.js"
8
+ ]
9
+ ---
10
+
11
+ {% include tools.html %}
You can’t perform that action at this time.
0 commit comments