1 Star 0 Fork 2

Mr.YOG / yog

forked from 锦缘 / Fluid-old
关闭
 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
style.css 14.53 KB
一键复制 编辑 原始数据 按行查看 历史
锦缘 提交于 2021-02-04 14:27 . I346N8
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685
@font-face{
font-family: Helvetica,'Poppins',Times New Roman,SourceHanSansCN;
font-display: block;
src: url("https://fonts.font.im/css?family=Poppins:300,400,500");
src: url("font/SourceHanSansCN-Regular.otf");
}
@keyframes fade-in {
0% {opacity: 0;}/*初始状态 透明度为0*/
40% {opacity: 0;}/*过渡状态 透明度为0*/
100% {opacity: 1;}/*结束状态 透明度为1*/
}
@-webkit-keyframes fade-in {
0% {opacity: 0;}/*初始状态 透明度为0*/
40% {opacity: 0;}/*过渡状态 透明度为0*/
100% {opacity:1;}/*结束状态 透明度为1*/
}
.noselect{
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.nocallout{
-webkit-touch-callout:none;
}
html{
-webkit-font-smoothing: antialiased;
animation:fade-in;
animation-duration:1s;
-webkit-animation:fade-in 1s;
margin:0px;
padding:0px;
-webkit-tap-highlight-color:rgba(0,0,0,0);
}
::selection{
background-color: #454545;
color: #FFFFFF;
}
::-moz-selection{
background-color: #454545;
color: #FFFFFF;
}
::-webkit-selection{
background-color: #454545;
color: #FFFFFF;
}
body{
margin: 0px;
background-color: #ffffff;
/*cursor:url(images/pointer.png),auto;*/
}
button:focus{
outline: none;
}
.blacktext{
margin:0px;
color: #454545;
}
.navbar{
display: flex;
position: fixed;
width: calc(100vw - 44px);
height: 40px;
padding: 22px;
background: #FFFFFF;
box-shadow:0px 0px 15px 2px #00000013;
overflow: hidden;
}
.navbar a{
text-decoration: none;
}
.name{
font-family:"Poppins";
display: inline-flex;
font-size: 18px;
align-self: center;
margin-left:15px;
z-index: 999;
}
.icon{
display: inline-block;
border-radius: 50%;
height: 34px;
width: 34px;
background: linear-gradient(to top, #fad0c4 0%, #fad0c4 1%, #ffd1ff 100%);
align-self: center;
transition: 0.6s all cubic-bezier(0.4, 0.1, 0.11, 1.14);
z-index:-1;
}
.icon:hover{
transform: scale(50);
opacity: .35;
}
.navbtngroup{
display: flex;
align-self: center;
margin-left: 35px;
}
.navbtngroup a{
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.navbtn{
font-family:"Poppins";
font-size: 17px;
position:relative;
display: inline-block;
text-transform: uppercase;
color: #454545;
padding: 7.5px 20px 7.5px 20px;
margin-right: 7px;
margin-left: 7px;
font-weight: 500;
align-self: center;
overflow:hidden;
border-radius: 5px;
cursor: pointer;
transition: 0.3s all;
}
.navbtn:hover{
background-color: #FFFFFF;
filter: brightness(97%);
}
.mobilebtngroup{
position: relative;
display: none;
}
.upimg{
display: flex;
align-items: center;
margin: 40px auto 20px auto;
border-radius: 17px;
height: 300px;
width: calc(80vw - 30px);
min-width: 970px;
background: #F3F3F3;
background-image: url("images/upimg-1.jpg");
background-size: cover;
background-position: center;
background-repeat: no-repeat;
padding: 0px 15px 0px 15px;
}
.yiyan{
align-self: center;
background-color: rgba(255,255,255,0.65);
border-radius: 10px;
text-align: center;
min-width: 80%;
margin:0 auto;
font-family: "Poppins",Microsoft YaHei,Apple LiGothic Medium;;
font-weight: 600;
color: #454545;
padding: 15px;
backdrop-filter:blur(9px);
transition: all 0.3s ease;
}
.mianbody{
z-index: -1;
position: absolute;
margin-top: 85px;
min-height: 100vh;
height: auto;
width: 100%;
background: #FDFDFD;
align-items: center;
}
.midbody{
width: 80vw;
min-width: 1000px;
margin: 0 auto;
height: auto;
}
.leftblock{
float: left;
width: calc(57vw - 40px);
background: #FFFFFF;
border-radius: 15px;
min-width: 630px;
height: 100%;
box-shadow: 0px 0px 10px 1px #00000010;
min-height: 90vh;
padding: 20px 20px 17px 20px;
margin-bottom: 30px;
}
.rightblock{
margin-left: calc(57vw + 20px);
border-radius: 15px;
margin-bottom: 12.5px;
background: #FFFFFF;
padding: 45px 25px 45px 25px;
box-shadow: 0px 0px 10px 1px #00000010;
}
.rightblockicon{
margin:0 auto;
border-radius: 50%;
background-image: url("images/blogicon.jpg");
height: 135px;
width: 135px;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
background-color: #FBFBFB;
}
#author{
font-family: "Poppins";
color: #454545;
text-align: center;
margin-bottom: 0px;
margin-top:15px;
}
#motto{
margin-bottom: 0px;
margin-top: 15px;
font-size: 13px;
font-family: "Poppins";
color: #454545;
text-align: center;
}
#introduce{
list-style-type: none;
text-align: center;
padding-left: 0px;
margin-top: 20px;
font-family: Microsoft,Helvetica;
font-size: 14px;
color: #454545;
font-weight: 400;
}
.line{
border: none;
background-color:#b0b0b0;
height: 4px;
width: 40%;
border-radius:50px;
margin-top:40px;
margin-bottom:40px;
}
.rightblockbtngroup{
margin: 20px;
height: 30px;
text-align: center;
}
.contact{
border: none;
border-radius: 50%;
height: 40px;
width: 40px;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
background-color: #FBFBFB;
overflow: hidden;
}
#qq{
background-image: url("images/qq.svg");
}
#alipay{
background-image: url("images/alipay.svg");
}
#wx{
background-image: url("images/wx.svg");
}
#tel{
background-image: url("images/tel.svg");
}
.articleblock{
overflow: hidden;
/*min-height: 150px;*/
border-radius: 12px;
background: #F5F5F5;
padding: 17px 25px 17px 25px;
font-family: "Poppins",Microsoft,Helvetica;
word-break: break-word;
backdrop-filter:blur(7px);
opacity:.85;
transition: 0.35s all cubic-bezier(0, -0.54, 0.61, 2.05);
margin-bottom: 15px;
position:relative;
}
.articleblock:hover{
background: #EEEEEE;
transform:rotateY(10deg);
}
.articleblock h2{
margin: 0px;
}
.articletitle{
color: #454545;
margin: 0px;
transition: 0.45s all ease;
text-decoration:none;
}
.articletitle:hover{
color: #666666;
}
.preview{
border-left:4px solid #909090;
padding-left:10px;
color: #454545;
margin-top: 7.5px;
overflow: hidden;
user-select: none;
-webkit-user-select:none;
}
.footer{
display: flex;
height: 275px;
width: calc(80vw - 40px);
box-shadow: 0px 0px 10px 1px #00000010;
border-radius: 15px;
padding: 20px;
background: #FFFFFF;
min-width:960px;
margin: 20px 0px 15px 0px;
}
.footblocks{
position: relative;
align-self:center;
margin-left: 20px;
margin-right: 20px;
overflow: hidden;
padding: 10px 17.5px;
height: 235px;
min-width: 175px;
background-color: #F5F5F5;
border-radius: 15px;
transition: all .3s;
}
.footblocks:hover{
background-color:#EEEEEE;
}
.footblocks h3{
color: #454545;
}
.footblocks p{
color: #454545;
font-family: "Poppins",Microsoft YaHei,Apple LiGothic Medium;
}
.footblocks a{
text-decoration: none;
color: #454545;
transition: .5s all;
}
.footblocks a:hover{
color: #848484;
}
.gitee{
align-self: center;
margin-left: 20px;
margin-right: 20px;
background: #dddddd;
border-radius: 10px;
transition: 0.35s all cubic-bezier(0, -0.54, 0.61, 2.05);
}
.vr{
height: 60%;
width: 4px;
display: inline-table;
align-self: center;
background-color: #b0b0b0;
border-radius: 2px;
}
@media (max-width: 1200px){
.upimg{
min-width: calc(80vw - 30px);
}
.midbody{
min-width: 80vw;
}
.rightblock{
height: 0px;
width: 0px;
display: none;
}
.leftblock{
width: calc(80vw - 40px);
float: none;
min-width: calc(80vw - 40px);
}
.footer{
min-width: calc(80vw - 40px);
width: calc(80vw - 40px);
display: grid;
height: auto;
}
.footblocks{
height: auto;
margin:7px;
}
}
@media (max-width: 650px){
html{
letter-spacing:-0.25px;
-webkit-letter-spacing:0px;
font-size: 85%;
}
.icon:hover{
transform: scale(17,17);
}
.upimg{
width: calc(90vw - 30px);
min-width: calc(90vw - 30px);
}
.yiyan{
border-radius: 9px;
font-size:17px;
}
.midbody{
width: 90vw;
min-width:90vw;
}
.leftblock{
width:calc(90vw - 40px);
min-width: calc(90vw - 40px);
}
.articleblock{
transform: none;
}
.articleblock:hover{
transform: none;
}
.navbtngroup{
display: none;
}
.menuIcon{
display: inline-flex !important;
}
.footer{
width: calc(90vw - 14px);
min-width:calc(90vw - 14px);
padding: 10px 7px 10px 7px;
align-items: center;
display: grid;
height: auto;
}
.vr{
display:none;
}
.footblocks{
height: auto;
margin:7px;
}
}
.menuIcon{
border: none;
border-radius: 50%;
box-shadow:0px 0px 15px 2px #00000013;
position: absolute;
align-self: center;
left: 100%;
margin-left: -65px;
width:40px;
height: 40px;
padding: 0px;
background-image: url("images/menu.svg");
background-position: center;
background-repeat: no-repeat;
background-size:50% 50%;
background-color: #FFFFFF;
background-clip: content-box;
-webkit-transition: all .25s;
-moz-transition: all .25s;
-o-transition: all .25s;
-ms-transition: all .25s;
transition: all .25s;
cursor: pointer;
display: none;
overflow: hidden;
}
#navMenu{
position: fixed;
z-index: -1;
max-width:270px;
height: calc(100% - 80px);
right: -400px;
top: 0px;
padding: 10px 20px 20px 20px;
background: #fff;
box-shadow:-7px -7px 27px 6px #00000020;
border-radius: 15px;
margin: 25px 0px 25px 15px;
-webkit-transition: all .3s;
-moz-transition: all .3s;
-o-transition: all .3s;
-ms-transition: all .3s;
transition: all .3s cubic-bezier(0.81, 0.39, 0.67, 1.16);
}
.navicon{
position: absolute;
right: 7px;
top:7px;
background-image: url("images/close.svg");
background-repeat: no-repeat;
background-color: #F3F3F3;
background-position: center;
background-size: 65% 65%;
border: none;
border-radius: 50%;
transition: all 0.2s;
height: 30px;
width: 30px;
overflow: hidden;
}
.navicon:hover{
background-color: #eeeeee;
}
.navicon:active{
background-color: #E3E3E3;
}
#navtitle{
color: #454545;
font-family: "Poppins";
margin-bottom: 5px;
margin-top:25px;
}
.mobilebtns{
position: relative;
border-radius: 10px;
height: 40px;
width: calc(100% - 40px);
display: inline-flex;
margin: 0px;
padding: 10px 20px;
background-color: #F3F3F3;
font-family: "Poppins";
margin-top: 10px;
overflow: hidden;
align-self: center;
}
.navlink{
align-self: center;
font-weight: 500;
}
.copyright{
background-color: #FFFFFF;
border-radius: 15px;
margin:8px auto 10px auto;
padding: 7px 20px;
/* width:fit-content;*/
box-shadow: 0px 0px 6px 1px #00000010;
text-align: center;
}
.copyrightlink{
text-decoration: none;
color: #454545;
font-family: "Poppins",Microsoft YaHei,Apple LiGothic Medium;
font-weight: 500;
transition: all .5s;
}
.copyrightlink:hover{
color: #848484;
}
.fabbtns{
position: fixed;
float:right;
z-index: 99999;
width: 50px;
height: 50px;
border-radius: 30px;
}
.totop{
bottom: 15px;
right: 15px;
}
.totopbtn{
overflow: hidden;
border-radius: 30px;
background-image: url("images/totop.svg");
background-repeat: no-repeat;
background-position: center;
background-size: 40% 40%;
background-color: #FFFFFF !important;
box-shadow: 0px 0px 6px 1px #00000013;
border: hidden;
width: 50px;
height: 50px;
padding: 0px;
transition: all 0.3s;
}
.totopbtn:hover{
filter: brightness(99%);
}
#ar-title{
color: #454545;
font-family: "Poppins";
margin-right: 15px;
display:inline-flex;
}
#ar-title h1,h2{
margin: 7px 0px 0px 10px;
}
#ar-date{
color:#848484;
font-family: "Poppins";
display:inline-flex;
}
#ar-date h6{
margin:0px;
}
#ar-subtitle{
margin-top: 15px;
color: #606060;
font-family: "Poppins";
}
#ar-subtitle h4,h5{
margin: 0px 0px 0px 8px;
border-left:7px solid #d6d6d6;
padding:5px 0px 5px 10px;
background-color: #F3F3F3;
border-radius: 5px;
}
#ar-taggroup{
margin:6px 0px 0px 8px;
}
.ar-tags{
color: #454545;
font-family: "Poppins";
border:none;
border-radius: 12.5px;
height: 25px;
min-width: 55px;
background-color: #f3f3f3;
margin-right: 3.7px;
position: relative;
overflow: hidden;
}
.ar-frame{
margin:40px 0px 40px 10px;
}
#markdown-addon{
font-family: "Poppins",Microsoft YaHei,Apple LiGothic Medium !important;
}
#markdown-addon h1,h2,h3,h4,h5,h6,p,del,sup,sub,pre,small,span,ul,ol{
color:#454545 !important;
}
#ar-bmbtngroup{
margin:0px 0px 7px 8px;
}
.ar-bmbtns{
position: relative;
overflow: hidden;
border: none;
min-width: 70px;
height: 32px;
background-color: #f3f3f3;
margin-right: 3.7px;
border-radius: 16px;
padding: 5px 10px;
align-items: center;
display:inline-flex;
}
.bmbtn-icon{
background-position:center;
background-size: 75% 75%;
background-repeat: no-repeat;
height: 27px;
width: 27px;
display: inline-block;
align-self: center;
}
.bmbtn-text{
align-self: center;
margin-right: 3px;
}
HTML/CSS
1
https://gitee.com/YOG/yog.git
git@gitee.com:YOG/yog.git
YOG
yog
yog
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891