Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
248 lines (200 sloc)
3.58 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* , | |
* :: after , | |
* :: before { | |
box-sizing : inherit; | |
} | |
a , a : visited { | |
color : rgb ( 37 , 99 , 235 ); | |
text-decoration : none; | |
} | |
body { | |
background-color : rgb ( 249 , 250 , 251 ); | |
color : rgba ( 75 , 85 , 99 ); | |
margin : ; | |
padding : ; | |
} | |
html { | |
box-sizing : border-box; | |
font-family : ui-sans-serif , system-ui , -apple-system , BlinkMacSystemFont , "Segoe UI" , Roboto , "Helvetica Neue" , Arial , "Noto Sans" , sans-serif , "Apple Color Emoji" , "Segoe UI Emoji" , "Segoe UI Symbol" , "Noto Color Emoji" ; | |
} | |
h1 { | |
color : rgba ( 55 , 65 , 81 ); | |
font-size : 1.875 rem ; | |
font-weight : bold; | |
line-height : 2.25 rem ; | |
margin : 0.75 rem ; | |
} | |
h2 { | |
color : rgba ( 55 , 65 , 81 ); | |
font-size : 1.25 rem ; | |
line-height : 1.75 rem ; | |
margin : 0.25 rem ; | |
} | |
header { | |
background-color : rgba ( 243 , 244 , 246 ); | |
margin-bottom : 1.5 rem ; | |
padding : 1 rem ; | |
} | |
header nav { | |
margin : auto; | |
max-width : 32 rem ; | |
padding : 2 rem ; | |
} | |
header ul { | |
display : flex; | |
list-style : none; | |
margin : ; | |
padding : ; | |
} | |
header li {} | |
header li + li { | |
margin-left : 1.25 rem ; | |
} | |
header a , header a : visited { | |
color : rgba ( 55 , 65 , 81 ); | |
font-size : 1 rem ; | |
line-height : 1.5 rem ; | |
} | |
main { | |
margin : auto; | |
max-width : 32 rem ; | |
padding : 2 rem 4 rem ; | |
} | |
. author {} | |
. author > h2 {} | |
. author > ul { | |
list-style : none; | |
margin : ; | |
padding : ; | |
} | |
. author > ul > li { | |
position : relative; | |
padding-left : 0.75 rem ; | |
} | |
. author > ul > li :: before { | |
background : rgba ( 55 , 65 , 81 ); | |
border-radius : 50 % ; | |
content : '' ; | |
display : block; | |
height : 0.25 rem ; | |
position : absolute; | |
margin-top : -0.125 rem ; | |
top : 50 % ; | |
left : 0.125 rem ; | |
width : 0.25 rem ; | |
} | |
. author > ul > li + li { | |
margin-top : 0.25 rem ; | |
} | |
. author > ul > li > a { | |
font-size : 1 rem ; | |
} | |
. author img { | |
border-radius : 50 % ; | |
margin-bottom : 1 rem ; | |
} | |
. authors {} | |
. authors > div {} | |
. authors > div + div { | |
margin-top : 2 rem ; | |
} | |
. authors > div > h2 {} | |
. authors > div img { | |
border-radius : 50 % ; | |
} | |
. authors > div > p { | |
font-size : 14 px ; | |
margin : 4 px ; | |
} | |
. authors > div > a { | |
display : block; | |
font-size : 14 px ; | |
} | |
. post {} | |
. post > div { | |
align-items : center; | |
display : flex; | |
margin-bottom : 1 rem ; | |
} | |
. post > div : last-of-type { | |
display : block; | |
} | |
. post > div img { | |
border-radius : 50 % ; | |
} | |
. post > div > div { | |
align-items : flex-start; | |
display : flex; | |
flex-direction : column; | |
justify-content : center; | |
margin-bottom : ; | |
margin-left : 0.5 rem ; | |
} | |
. post > div > div > time { | |
color : rgba ( 75 , 85 , 99 ); | |
display : block; | |
font-size : 0.75 rem ; | |
} | |
. post > div > div > strong { | |
color : rgba ( 75 , 85 , 99 ); | |
font-size : 0.75 rem ; | |
font-weight : medium; | |
margin-bottom : 0.125 rem ; | |
} | |
. post p { | |
font-size : 1 rem ; | |
line-height : 1.5 rem ; | |
margin : ; | |
} | |
. post p + p { | |
margin-top : 1.25 rem ; | |
} | |
. posts {} | |
. posts > article {} | |
. posts > article > a { | |
font-size : 14 px ; | |
} | |
. posts > article > div { | |
align-items : center; | |
display : flex; | |
margin-bottom : 0.5 rem ; | |
} | |
. posts > article > div img { | |
border-radius : 50 % ; | |
} | |
. posts > article > div > div { | |
align-items : flex-start; | |
display : flex; | |
flex-direction : column; | |
justify-content : center; | |
margin-bottom : ; | |
margin-left : 0.5 rem ; | |
} | |
. posts > article > div > div > time { | |
color : rgba ( 75 , 85 , 99 ); | |
display : block; | |
font-size : 0.75 rem ; | |
} | |
. posts > article > div > div > strong { | |
color : rgba ( 75 , 85 , 99 ); | |
font-size : 0.75 rem ; | |
font-weight : medium; | |
margin-bottom : 0.125 rem ; | |
} | |
. posts > article > h2 { | |
margin-bottom : 0.125 rem ; | |
} | |
. posts > article > p { | |
font-size : 0.875 rem ; | |
line-height : 1.25 rem ; | |
margin : 0.5 rem ; | |
} | |
. posts > article > span { | |
color : rgba ( 75 , 85 , 99 ); | |
display : block; | |
font-size : 0.75 rem ; | |
margin : 0.5 rem ; | |
} | |
. posts > article + article { | |
margin-top : 3 rem ; | |
} |