Commit 3fd24dc6 authored by 罗超's avatar 罗超

修改部分样式

parent 8ced3f2e
.Ranking{ .Ranking {
width: 100%; width: 100%;
height: 100%; height: 100%;
background: url(/static/image/gamerank/bg.png); background: url(/static/image/gamerank/bg.png);
...@@ -9,72 +9,82 @@ ...@@ -9,72 +9,82 @@
top: 0; top: 0;
z-index: 10009; z-index: 10009;
} }
.Ranking .logo{
.Ranking .logo {
position: relative; position: relative;
left: 4rem; left: 4rem;
top: 2rem; top: 2rem;
} }
.Ranking p.tit{
.Ranking p.tit {
text-align: center; text-align: center;
font-size: 4rem; font-size: 4rem;
color: white; color: white;
position: relative; position: relative;
top: -20px; top: -20px;
} }
.Ranking .rank-box{
.Ranking .rank-box {
width: 80%; width: 80%;
margin: 0 auto; margin: 0 auto;
display: flex; display: flex;
padding-top: 4rem; padding-top: 4rem;
} }
.Ranking .rank-box .item { .Ranking .rank-box .item {
width: 9rem; width: 9rem;
padding: 6rem 0; padding: 6rem 0;
} }
.Ranking .rank-box .item .head{
.Ranking .rank-box .item .head {
position: relative; position: relative;
width: 5rem; width: 5rem;
height: 5rem; height: 5rem;
border-radius: 50%; border-radius: 50%;
background:linear-gradient(0deg,rgba(247,213,23,1),rgba(255,171,2,1)); background: linear-gradient(0deg, rgba(247, 213, 23, 1), rgba(255, 171, 2, 1));
padding: .4rem; padding: .4rem;
margin: 0 auto; margin: 0 auto;
} }
.Ranking .rank-box .item .head .maozi{
.Ranking .rank-box .item .head .maozi {
position: absolute; position: absolute;
left: -12px; left: -12px;
top: -20px; top: -20px;
box-sizing: border-box; box-sizing: border-box;
} }
.Ranking .rank-box .item .head .user-img{
.Ranking .rank-box .item .head .user-img {
width: 5rem; width: 5rem;
height: 5rem; height: 5rem;
border-radius: 50%; border-radius: 50%;
} }
.Ranking .rank-box .item .body{
.Ranking .rank-box .item .body {
width: 60px; width: 60px;
margin: 0 auto; margin: 0 auto;
height: 292px; height: 292px;
position: relative; position: relative;
margin-bottom: 3rem; margin-bottom: 2rem;
} }
.Ranking .rank-box .item .body .color{
.Ranking .rank-box .item .body .color {
position: absolute; position: absolute;
left: 5%; left: 5%;
bottom: 0; bottom: 0;
width: 89%; width: 89%;
border-radius:0px 0px 30px 30px; border-radius: 0px 0px 30px 30px;
background: url(/static/image/gamerank/tiao2.png); background: url(/static/image/gamerank/tiao2.png);
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
} }
.Ranking .rank-box .item .name{
.Ranking .rank-box .item .name {
text-align: center; text-align: center;
font-family: 'PingFangR'; font-family: 'PingFangR';
font-size: 2.4rem; font-size: 2.4rem;
color: white; color: white;
} }
.Ranking .rank-box .item .name p:nth-child(1) { .Ranking .rank-box .item .name p:nth-child(1) {
padding: .4rem; padding: .4rem;
} }
\ No newline at end of file
@font-face{ @font-face {
font-family:'yinxiang2020'; font-family: 'yinxiang2020';
src:url('../font/yinxiang2020.woff'); src: url('../font/yinxiang2020.woff');
} }
.yinxiang2020{
font-family: 'yinxiang2020'; @font-face {
font-family: "PingFangR";
src: url("../font/Semibold.ttf") format("truetype");
font-style: normal;
font-weight: normal;
}
.yinxiang2020 {
font-family: 'yinxiang2020';
} }
html,body,h1,h2,h3,h4,h5,h6,div,dl,dt,dd,ul,ol,li,p,blockquote,pre,hr,figure,table,caption,th,td,form,fieldset,legend,input,button,textarea,menu {
margin: 0; html,
padding: 0 body,
h1,
h2,
h3,
h4,
h5,
h6,
div,
dl,
dt,
dd,
ul,
ol,
li,
p,
blockquote,
pre,
hr,
figure,
table,
caption,
th,
td,
form,
fieldset,
legend,
input,
button,
textarea,
menu {
margin: 0;
padding: 0
} }
header,footer,section,article,aside,nav,hgroup,address,figure,figcaption,menu,details { header,
display: block footer,
section,
article,
aside,
nav,
hgroup,
address,
figure,
figcaption,
menu,
details {
display: block
} }
table { table {
border-collapse: collapse; border-collapse: collapse;
border-spacing: 0 border-spacing: 0
} }
caption,th { caption,
text-align: left; th {
font-weight: normal text-align: left;
font-weight: normal
} }
html,body,fieldset,img,iframe,abbr { html,
border: 0 body,
fieldset,
img,
iframe,
abbr {
border: 0
} }
i,cite,em,var,address,dfn { i,
font-style: normal cite,
}[hidefocus],summary { em,
outline: 0 var,
address,
dfn {
font-style: normal
}
[hidefocus],
summary {
outline: 0
} }
li { li {
list-style: none list-style: none
} }
html,body { html,
width: 100%; body {
height: 100% width: 100%;
height: 100%
} }
html { html {
overflow: hidden; overflow: hidden;
font-size: 62.5% font-size: 62.5%
} }
.ce9{
color: #e9d5ab !important; .ce9 {
color: #e9d5ab !important;
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment