mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-02-16 12:22:43 +00:00
add icon before the files
This commit is contained in:
@@ -16,10 +16,11 @@
|
||||
|
||||
.files a {
|
||||
display: block;
|
||||
padding: 9px;
|
||||
padding: 9px 9px 9px 30px;
|
||||
}
|
||||
|
||||
.files .blob, .files .tree, .files .parent_folder {
|
||||
position: relative;
|
||||
border-bottom: 1px solid #dddddd;
|
||||
}
|
||||
|
||||
@@ -27,6 +28,20 @@
|
||||
background: #f0f0f0;
|
||||
}
|
||||
|
||||
.files .tree::before, .files .blob::before {
|
||||
content: "\f07b";
|
||||
font-family: Font Awesome\ 5 Free;
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
width: 7px;
|
||||
padding: 9px;
|
||||
color: #007bff;
|
||||
}
|
||||
|
||||
.files .blob::before {
|
||||
content: "\f15b";
|
||||
}
|
||||
|
||||
.paths {
|
||||
margin: 15px;
|
||||
border: 1px solid #dddddd;
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
<link href="https://cdnjs.cloudflare.com/ajax/libs/github-markdown-css/2.8.0/github-markdown.min.css" rel="stylesheet" type="text/css" />
|
||||
|
||||
<link href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/github.min.css" rel="stylesheet" type="text/css" />
|
||||
<link href="https://use.fontawesome.com/releases/v5.0.6/css/all.css" rel="stylesheet">
|
||||
|
||||
<link href="{{ url_for('static', filename='css/style.css') }}" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user