You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
268 lines
3.0 KiB
CSS
268 lines
3.0 KiB
CSS
/* Reset */
|
|
|
|
html,
|
|
body,
|
|
div,
|
|
span,
|
|
applet,
|
|
object,
|
|
iframe,
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6,
|
|
p,
|
|
blockquote,
|
|
pre,
|
|
a,
|
|
abbr,
|
|
acronym,
|
|
address,
|
|
big,
|
|
cite,
|
|
code,
|
|
del,
|
|
dfn,
|
|
em,
|
|
img,
|
|
ins,
|
|
kbd,
|
|
q,
|
|
s,
|
|
samp,
|
|
small,
|
|
strike,
|
|
strong,
|
|
sub,
|
|
tt,
|
|
var,
|
|
b,
|
|
u,
|
|
i,
|
|
center,
|
|
dl,
|
|
dt,
|
|
dd,
|
|
ol,
|
|
ul,
|
|
li,
|
|
fieldset,
|
|
form,
|
|
label,
|
|
legend,
|
|
table,
|
|
caption,
|
|
tbody,
|
|
tfoot,
|
|
thead,
|
|
tr,
|
|
th,
|
|
td,
|
|
article,
|
|
aside,
|
|
canvas,
|
|
details,
|
|
embed,
|
|
figure,
|
|
figcaption,
|
|
footer,
|
|
header,
|
|
hgroup,
|
|
menu,
|
|
nav,
|
|
output,
|
|
ruby,
|
|
section,
|
|
summary,
|
|
time,
|
|
mark,
|
|
audio,
|
|
video {
|
|
border: 0;
|
|
font-size: 100%;
|
|
font: inherit;
|
|
vertical-align: baseline;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
body {
|
|
line-height: 1;
|
|
font: normal 14px/1.5em 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
}
|
|
|
|
blockquote,
|
|
q {
|
|
quotes: none;
|
|
}
|
|
|
|
blockquote:before,
|
|
blockquote:after,
|
|
q:before,
|
|
q:after {
|
|
content: none;
|
|
}
|
|
|
|
table {
|
|
border-collapse: collapse;
|
|
border-spacing: 0;
|
|
}
|
|
|
|
*,
|
|
*:before,
|
|
*:after {
|
|
-moz-box-sizing: border-box;
|
|
-webkit-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
color: #5badf0;
|
|
}
|
|
|
|
a:hover {
|
|
color: #0366d6;
|
|
}
|
|
|
|
|
|
/* navigation */
|
|
|
|
nav.navigation {
|
|
padding: 20px 20px 0;
|
|
background: #fff;
|
|
background: rgba(255, 255, 255, 0.9);
|
|
margin: 0 auto;
|
|
text-align: right;
|
|
z-index: 100;
|
|
}
|
|
|
|
nav.navigation a {
|
|
top: 8px;
|
|
right: 6px;
|
|
padding: 8px 12px;
|
|
color: #5badf0;
|
|
font-size: 13px;
|
|
line-height: 1.35;
|
|
border-radius: 3px;
|
|
}
|
|
nav.navigation a:hover {
|
|
color: #0366d6;
|
|
}
|
|
|
|
nav.navigation a.button {
|
|
background: #5badf0;
|
|
color: #fff;
|
|
margin-left: 12px;
|
|
}
|
|
@media (max-width: 700px) {
|
|
nav.navigation {
|
|
padding: 20px 10px 0 0;
|
|
background: #fff;
|
|
background: rgba(255, 255, 255, 0.9);
|
|
margin: 0 auto;
|
|
text-align: right;
|
|
z-index: 100;
|
|
}
|
|
nav.navigation a {
|
|
top: 8px;
|
|
right: 6px;
|
|
padding: 8px 8px;
|
|
color: #5badf0;
|
|
font-size: 13px;
|
|
line-height: 1.35;
|
|
border-radius: 3px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 324px) {
|
|
nav.navigation a.button {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
|
|
/* main content */
|
|
.main {
|
|
max-width: 580px;
|
|
margin: 0 auto;
|
|
padding: 24px;
|
|
}
|
|
|
|
|
|
/* profile */
|
|
|
|
.profile {
|
|
margin: 60px auto 0 auto;
|
|
text-align: center;
|
|
}
|
|
|
|
|
|
.profile .avatar {
|
|
display: inline-block;
|
|
width: 80px;
|
|
height: 80px;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.profile h1 {
|
|
font-weight: 400;
|
|
letter-spacing: 0px;
|
|
font-size: 20px;
|
|
color: #222;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.profile h2 {
|
|
font-size: 20px;
|
|
font-weight: 300;
|
|
color: #aaa;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
|
|
/* index post list */
|
|
#list-page .item {
|
|
margin: 48px 0 0 0;
|
|
}
|
|
|
|
#list-page .title {
|
|
display: inline-block;
|
|
color: #333;
|
|
font-size: 20px;
|
|
font-weight: 400;
|
|
}
|
|
|
|
#list-page .title a {
|
|
color: #333;
|
|
display: block;
|
|
}
|
|
|
|
#list-page .title a:hover {
|
|
color: #0366d6;
|
|
}
|
|
|
|
#list-page .date {
|
|
float: right;
|
|
position: relative;
|
|
top: 1px;
|
|
color: #bbb;
|
|
}
|
|
|
|
#list-page .summary {
|
|
color: #6a737d;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
#list-page .cover {
|
|
width: 100px;
|
|
height: 100px;
|
|
background: #fff;
|
|
}
|
|
|
|
#list-page .cover img {
|
|
width: 100%;
|
|
text-align: center;
|
|
} |