mirror of
https://github.com/lxsang/antd-web-apps
synced 2025-07-25 10:09:47 +02:00
add blog template
This commit is contained in:
207
blog/assets/style.css
Normal file
207
blog/assets/style.css
Normal file
@ -0,0 +1,207 @@
|
||||
html,body{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: "Ubuntu";
|
||||
font-size: 15px;
|
||||
line-height: 1.5;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
#desktop{
|
||||
/*width:100%;
|
||||
min-height:100%;
|
||||
overflow:hidden;
|
||||
margin:0 auto;
|
||||
display: flex;
|
||||
flex-direction: row-reverse;
|
||||
color: #414339;*/
|
||||
}
|
||||
|
||||
#top{
|
||||
background-color: #2c2c2c;
|
||||
color: white;
|
||||
font-weight: bold;
|
||||
display: block;
|
||||
text-align: center;
|
||||
height: 50px;
|
||||
}
|
||||
#top ul{
|
||||
padding:0;
|
||||
margin: 0;
|
||||
padding-top: 16px;
|
||||
list-style: none;
|
||||
}
|
||||
#top ul li{
|
||||
float: left;
|
||||
padding-left:10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
#top ul li i{
|
||||
margin-right: 3px;
|
||||
}
|
||||
#top ul li a{
|
||||
text-decoration: none;
|
||||
color: white;
|
||||
}
|
||||
#top ul li a:hover{
|
||||
border-bottom: 1px dashed white;
|
||||
}
|
||||
#bottom{
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
height: 20px;
|
||||
text-align: center;
|
||||
color:#878887;
|
||||
background-color: white;
|
||||
font-size: 12px;
|
||||
width: 100%;
|
||||
padding:5px;
|
||||
border-top: 1px solid #878887;
|
||||
}
|
||||
#center{
|
||||
height: calc(100% - 80px);
|
||||
overflow-y: auto;
|
||||
}
|
||||
#navbar{
|
||||
margin:0 auto;
|
||||
max-width: 960px;
|
||||
display: flex;
|
||||
justify-content:flex-end;
|
||||
flex-direction: row;
|
||||
}
|
||||
#container{
|
||||
margin:0 auto;
|
||||
max-width: 960px;
|
||||
text-align: justify;
|
||||
}
|
||||
|
||||
textarea{
|
||||
margin-left: 10px;
|
||||
margin-right: 10px;
|
||||
border: 0;
|
||||
font-family: "Ubuntu";
|
||||
font-size: 14px;
|
||||
padding: 3px;
|
||||
outline: none;
|
||||
}
|
||||
input {
|
||||
outline: none;
|
||||
border: 0;
|
||||
padding: 0;
|
||||
height: 17px;
|
||||
}
|
||||
div.label{
|
||||
color: #899aae;
|
||||
}
|
||||
button{
|
||||
outline: none;
|
||||
background-color: #5fa6cf;
|
||||
font-weight: bold;
|
||||
color: white;
|
||||
border: 0;
|
||||
border-radius: 5px;
|
||||
padding:3px;
|
||||
margin-right: 10px;
|
||||
box-shadow: 1px 1px 1px #9f9F9F;
|
||||
}
|
||||
#container .card{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
||||
}
|
||||
#container .card .date{
|
||||
padding-top:20px;
|
||||
padding-bottom: 0;
|
||||
margin: 0;
|
||||
min-width: 74px;
|
||||
line-height: 1.0;
|
||||
color:#3170B2;
|
||||
|
||||
}
|
||||
#container .card .date .day{
|
||||
font-weight: bold;
|
||||
display: block;
|
||||
font-size: 60px;
|
||||
|
||||
}
|
||||
#container .card .date .monthyear{
|
||||
font-weight: bold;
|
||||
display: block;
|
||||
|
||||
}
|
||||
#container .blogentry{
|
||||
padding-top:20px;
|
||||
/*border-bottom: 1px solid #cccccc;
|
||||
padding-bottom: 20px;*/
|
||||
}
|
||||
#container h1{
|
||||
font-size: 20px;
|
||||
padding:0;
|
||||
margin: 0;
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
input.search-box{
|
||||
flex:1;
|
||||
padding:0;
|
||||
margin:0;
|
||||
padding-top:13px;
|
||||
height: 25px;
|
||||
background-color: transparent;
|
||||
border-bottom: 1px solid #878887;
|
||||
font-size: 18px;
|
||||
font-family: "Ubuntu";
|
||||
line-height: 0.5;
|
||||
color: #878887;
|
||||
}
|
||||
div.search-icon:before{
|
||||
padding-top:13px;
|
||||
content: "\f002";
|
||||
color:#878887;
|
||||
display: block;
|
||||
width:20px;
|
||||
height: 25px;
|
||||
font-family: "FontAwesome";
|
||||
font-size: 18px;
|
||||
border-bottom: 1px solid #878887;
|
||||
}
|
||||
div.logo:before{
|
||||
display: block;
|
||||
width: 75px;
|
||||
height:50px;
|
||||
color:white;
|
||||
font-family: "FontAwesome";
|
||||
font-size:48px;
|
||||
line-height: 1.0;
|
||||
content: "\f0ac";
|
||||
}
|
||||
div.detail {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
margin-top:20px;
|
||||
}
|
||||
div.detail span{
|
||||
display: block;
|
||||
height: 16px;
|
||||
border-bottom: 1px solid #cccccc;
|
||||
flex:1;
|
||||
}
|
||||
div.detail a{
|
||||
width: 32px;
|
||||
display: block;
|
||||
|
||||
height: 32px;
|
||||
border: 1px solid #cccccc;
|
||||
text-decoration: none;
|
||||
border-radius: 16px;
|
||||
margin-left: 10px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
div.detail a:before{
|
||||
font-size:16px;
|
||||
content:"\f039";
|
||||
font-family: "FontAwesome";
|
||||
line-height: 2.0;
|
||||
padding-left:8px;
|
||||
color: #cccccc;
|
||||
}
|
Reference in New Issue
Block a user