From a98b654fe19f1efa1933ea7998687f314de100fe Mon Sep 17 00:00:00 2001 From: liuqimichale <123456lq> Date: Tue, 21 Nov 2017 10:11:26 +0800 Subject: [PATCH] index 调用排行榜 --- css/libCss/common.css | 11 +++++++++++ image/ranking-icon-1.png | Bin 0 -> 1165 bytes image/ranking-icon-2.png | Bin 0 -> 1209 bytes image/ranking-icon-3.png | Bin 0 -> 1346 bytes index.html | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 5 files changed, 74 insertions(+), 3 deletions(-) create mode 100644 image/ranking-icon-1.png create mode 100644 image/ranking-icon-2.png create mode 100644 image/ranking-icon-3.png diff --git a/css/libCss/common.css b/css/libCss/common.css index 2102467..31d62c1 100644 --- a/css/libCss/common.css +++ b/css/libCss/common.css @@ -230,6 +230,8 @@ section{ .ranking-list{ height: 534px; background-color: #f9f9f9; + overflow-y: scroll; + overflow-x: hidden; } .ranking-list li{ padding-left: 24px; @@ -251,6 +253,15 @@ section{ text-align: center; vertical-align:text-top; } +.ranking-list li:nth-of-type(1) div:nth-of-type(1){ + background: url("../../image/ranking-icon-1.png") no-repeat center 11px; +} +.ranking-list li:nth-of-type(2) div:nth-of-type(1){ + background: url("../../image/ranking-icon-2.png") no-repeat center 11px; +} +.ranking-list li:nth-of-type(3) div:nth-of-type(1){ + background: url("../../image/ranking-icon-3.png") no-repeat center 11px; +} .ranking-list li div:nth-of-type(2){ color: #1f2b3d; float: left; diff --git a/image/ranking-icon-1.png b/image/ranking-icon-1.png new file mode 100644 index 0000000..dd7212a Binary files /dev/null and b/image/ranking-icon-1.png differ diff --git a/image/ranking-icon-2.png b/image/ranking-icon-2.png new file mode 100644 index 0000000..77a6848 Binary files /dev/null and b/image/ranking-icon-2.png differ diff --git a/image/ranking-icon-3.png b/image/ranking-icon-3.png new file mode 100644 index 0000000..5460709 Binary files /dev/null and b/image/ranking-icon-3.png differ diff --git a/index.html b/index.html index ee24aa4..207c5ca 100644 --- a/index.html +++ b/index.html @@ -85,20 +85,80 @@ -- libgit2 0.21.4