-
-
Save mydigitalself/0d44acb50fdcbc97778d to your computer and use it in GitHub Desktop.
Testing
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
html, body, div, span, h1, h2, h3, h4, h5, h6, p, em, img, strong, b, u, i, dl, dt, dd, ol, ul, li, fieldset, form, label, table, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video { | |
margin: 0; | |
padding: 0; | |
border: 0; | |
outline: 0; | |
vertical-align: baseline; | |
background: transparent; | |
font-size: 100%; | |
} | |
a { | |
margin: 0; | |
padding: 0; | |
font-size: 100%; | |
vertical-align: baseline; | |
background: transparent; | |
outline: 0; | |
} | |
a * { | |
outline: 0; | |
} | |
table { | |
border-collapse: collapse; | |
border-spacing: 0; | |
} | |
td, td img, img { | |
vertical-align: top; | |
} | |
input, select, button, textarea { | |
margin: 0; | |
font-size: 100%; | |
outline: 0; | |
} | |
input[type="text"], input[type="password"], textarea { | |
padding: 0; | |
} | |
input[type="checkbox"] { | |
vertical-align: bottom; | |
} | |
input[type="radio"] { | |
vertical-align: text-bottom; | |
} | |
sub { | |
vertical-align: sub; | |
font-size: smaller; | |
} | |
sup { | |
vertical-align: super; | |
font-size: smaller; | |
} | |
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { | |
display: block; | |
} | |
nav ul { | |
list-style: none; | |
} | |
ul, ol { | |
list-style: none; | |
} | |
html, body { | |
margin: 0; | |
padding: 0; | |
width: 100%; | |
min-width: 320px; | |
min-height: 100%; | |
} | |
body { | |
line-height: 1; | |
color: #333; | |
font-size: 62.5%; | |
background: #fff; | |
font-family: 'Source Sans Pro', sans-serif; | |
} | |
a { | |
color: inherit; | |
text-decoration: underline; | |
} | |
input, select, button, textarea { | |
color: #333; | |
font-family: 'Source Sans Pro', sans-serif; | |
} | |
label, input[type="button"], input[type="submit"], button { | |
cursor: pointer; | |
} | |
.clear { | |
clear: both; | |
height: 1px; | |
overflow: hidden; | |
} | |
/*------------- content -------------*/ | |
.container { | |
padding: 2em; | |
font-size: 1.5em; | |
line-height: 1.4; | |
text-align: left; | |
} | |
header .container { | |
font-size: 3em; | |
font-weight: 600; | |
} | |
.userBlock { | |
width: 100%; | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box; | |
padding-left: 4.3em; | |
position: relative; | |
margin-bottom: 1.5em; | |
min-height: 3.3em; | |
padding-top: 0.6em; | |
} | |
.userBlock .userAvatar { | |
width: 3.3em; | |
height: 3.3em; | |
position: absolute; | |
top: 0; | |
left: 0; | |
} | |
.userBlock .userAvatar img { | |
width: 100%; | |
height: 100%; | |
border-radius: 0.33em; | |
} | |
.userBlock .userAvatar:after { | |
content: ''; | |
display: block; | |
width: 0.7em; | |
height: 0.7em; | |
position: absolute; | |
top: 9px; | |
left: 43px; | |
border-radius: 50%; | |
background: #7ED321; | |
border: 0.3em solid #fff; | |
} | |
.userBlock h4 { | |
line-height: 1.07; | |
font-weight: 600; | |
} | |
.userBlock h4 span { | |
color: #bbb; | |
font-weight: 400; | |
} | |
.userBlock p { | |
line-height: 1.4; | |
} | |
.userBlock p .name { | |
color: #4A90E2; | |
} | |
.userBlock.noStatus .userAvatar:after { | |
display: none; | |
} | |
.userBlock.noTitle h4 { | |
display: none; | |
} | |
.userBlock.noComment p { | |
display: none; | |
} | |
.userBlock.noTime h4 span { | |
display: none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment