crablog/static/resources/style.css

79 lines
1.3 KiB
CSS
Raw Normal View History

2018-10-11 19:35:09 +04:00
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font:300 1em/1.5 PingFangSC-Regular,Microsoft Yahei UI,Noto Sans CJK SC DemiLight,sans-serif;
2018-10-11 19:35:09 +04:00
}
html {
font-size: 14px;
}
.container {
max-width: 800px;
margin: 0 auto;
2018-10-12 21:52:11 +04:00
padding: 5px 10px;
2018-10-11 19:35:09 +04:00
}
header {
2018-10-12 21:52:11 +04:00
background-color: #FCFCFC;
border-bottom: solid 1px #DDD;
padding-top: 1rem;
2018-10-11 19:35:09 +04:00
}
2018-10-12 21:52:11 +04:00
2018-10-11 19:35:09 +04:00
header h1 {
2018-10-12 21:52:11 +04:00
clear: both;
font-size: 2.4rem;
font-weight: 400;
padding: 1rem 0;
margin: 0;
2018-10-11 19:35:09 +04:00
}
header p {
2018-10-12 21:52:11 +04:00
color: #A3ABB3;
margin: 0;
font-size: 1.2rem;
padding-bottom: 2rem;
2018-10-11 19:35:09 +04:00
}
2018-10-12 21:52:11 +04:00
section.article {
margin: 4rem 0;
2018-10-11 19:35:09 +04:00
}
2018-10-12 21:52:11 +04:00
section.article p.mate {
color:#A3ABB3;
margin: 0;
font-size: .9rem;
}
section.article p.mate a {
color:#A3ABB3;
margin: 0 5px;
/* font-size: .9rem; */
text-decoration: none;
}
section.article p.mate a:hover {
color: #000;
/* text-decoration: underline; */
border-bottom: 1px solid #000;
}
section.article .title {
font-size: 1.5em;
margin-bottom: 1rem;
margin-top: 0.5rem;
text-transform: uppercase;
color: #444;
2018-10-11 19:35:09 +04:00
text-decoration: none;
font-weight: 400;
2018-10-12 21:52:11 +04:00
padding: 0;
2018-10-11 19:35:09 +04:00
}
2018-10-12 21:52:11 +04:00
section.article a.title:hover {
border-bottom: 2px solid #dc1313
}
section.article section.desc {
color: #555;
margin-top: .25rem;
}