- reduced custom styles, use mostly tailwind classes

- updated markdown css for extrausercontent
This commit is contained in:
Ginger Wong
2020-08-21 23:44:10 -07:00
parent 66dc2f84c9
commit 13cfd112b7
14 changed files with 392 additions and 395 deletions

View File

@@ -1,71 +1,71 @@
.user-content {
padding: 3em;
/* padding: 3rem; */
display: flex;
flex-direction: row;
/* display: flex;
flex-direction: row; */
}
.user-content .user-image {
padding: 1em;
margin-right: 2em;
/* padding: 1rem;
margin-right: 2rem; */
min-width: var(--user-image-width);
width: var(--user-image-width);
height: var(--user-image-width);
max-height: var(--user-image-width);
background-repeat: no-repeat;
background-position: center center;
/* background-repeat: no-repeat;
background-position: center center; */
background-size: calc(var(--user-image-width) - 1em);
}
.user-content-header {
margin-bottom: 2em;
/* margin-bottom: 2rem; */
}
.tag-list {
flex-direction: row;
margin: 1em 0;
/* flex-direction: row; */
/* margin: 1em 0; */
}
.tag-list li {
font-size: .75em;
text-transform: uppercase;
margin-right: .75em;
padding: .5em;
/* font-size: .75rem; */
/* text-transform: uppercase; */
/* margin-right: .75rem; */
/* padding: .5rem; */
}
.social-list {
flex-direction: row;
align-items: center;
justify-content: flex-start;
flex-wrap: wrap;
/* flex-direction: row; */
/* align-items: center; */
/* justify-content: flex-start; */
/* flex-wrap: wrap; */
}
.social-list .follow-label {
font-weight: bold;
font-size: .75em;
margin-right: .5em;
text-transform: uppercase;
/* font-weight: bold; */
/* font-size: .75rem; */
/* margin-right: .5rem; */
/* text-transform: uppercase; */
}
.user-social-item {
display: flex;
/* display: flex;
justify-content: flex-start;
align-items: center;
margin-right: -.25em;
margin-right: -.25rem; */
}
.user-social-item .platform-icon {
--icon-width: 40px;
height: var(--icon-width);
width: var(--icon-width);
background-image: url(/img/social-icons.gif);
background-repeat: no-repeat;
/* background-repeat: no-repeat; */
background-position: calc(var(--imgCol) * var(--icon-width)) calc(var(--imgRow) * var(--icon-width));
transform: scale(.65);
}
.user-social-item.use-default .platform-label {
font-size: .7em;
text-transform: uppercase;
display: inline-block;
max-width: 10em;
/* font-size: .7rem; */
/* text-transform: uppercase; */
/* display: inline-block; */
/* max-width: 10rem; */
}
@@ -75,124 +75,134 @@ Assumes markup converted from markdown input.
*/
#extra-user-content {
padding: 1em 3em 3em 3em;
/* padding: 1rem 3rem 3rem 3rem; */
}
#extra-user-content ul,
#extra-user-content ol {
margin: 0;
padding: 0;
}
#extra-user-content ol {
list-style: decimal;
margin-left: 1.5rem;
}
#extra-user-content ul {
list-style: unset;
margin-left: 1.5rem;
}
#extra-user-content h1,
/* #extra-user-content h1,
#extra-user-content h2,
#extra-user-content h3,
#extra-user-content h4 {
color: #111111;
font-weight: 400;
}
} */
#extra-user-content h1,
#extra-user-content h2,
#extra-user-content h3,
#extra-user-content h4,
#extra-user-content h5,
#extra-user-content p {
margin-bottom: 24px;
#extra-user-content h6 {
margin: 0;
padding: 0;
margin: 1.5rem 0 .5rem;
font-weight: 600;
line-height: 1.2;
}
#extra-user-content h1 {
font-size: 48px;
font-size: 2.1rem;
}
#extra-user-content h2 {
font-size: 36px;
margin: 24px 0 6px;
font-size: 1.8rem;
}
#extra-user-content h3 {
font-size: 24px;
font-size: 1.5rem;
}
#extra-user-content h4 {
font-size: 21px;
font-size: 1.2rem;
}
#extra-user-content h5 {
font-size: 18px;
font-size: 1.25rem;
}
#extra-user-content h6 {
font-weight: 400;
font-size: 1rem;
}
#extra-user-content p {
margin-top: 0;
margin-bottom: 1rem;
}
#extra-user-content a {
color: #0099ff;
margin: 0;
padding: 0;
vertical-align: baseline;
}
#extra-user-content ul, #extra-user-content ol {
padding: 0;
margin: 0;
}
#extra-user-content li {
line-height: 24px;
line-height: 1.5rem;
}
#extra-user-content li ul, #extra-user-content li ul {
margin-left: 24px; }
#extra-user-content p, #extra-user-content ul, #extra-user-content ol {
font-size: 16px;
line-height: 24px;
#extra-user-content li ul,
#extra-user-content li ul {
margin-left: 1.5rem;
}
#extra-user-content pre {
padding: 0px 24px;
max-width: 800px;
white-space: pre-wrap;
#extra-user-content blockquote {
border-left: .25rem solid #bbc;
padding: 0 1rem;
}
#extra-user-content blockquote p {
margin: 1rem 0;
}
#extra-user-content pre,
#extra-user-content code {
font-family: Consolas, Monaco, Andale Mono, monospace;
line-height: 1.5;
font-size: 13px;
font-family: monospace;
font-size: .85rem;
background-color: #eee;
color: #900;
}
#extra-user-content pre {
margin: 1rem 0;
padding: 1rem;
max-width: 80%;
white-space: pre-wrap;
}
#extra-user-content aside {
display: block;
float: right;
width: 390px;
}
#extra-user-content blockquote {
margin: 1em 2em;
max-width: 476px;
}
#extra-user-content blockquote p {
color: #666;
max-width: 460px;
width: 35%;
}
#extra-user-content hr {
width: 540px;
text-align: left;
margin: 0 auto 0 0;
color: #999;
width: 100%;
border-top: 1px solid #666;
margin-bottom: 1rem;
}
#extra-user-content table {
border-collapse: collapse;
margin: 1em 1em;
margin: 1em 1rem;
border: 1px solid #CCC;
}
#extra-user-content table thead {
background-color: #EEE;
background-color: #eee;
}
#extra-user-content table thead td {
@@ -200,6 +210,6 @@ Assumes markup converted from markdown input.
}
#extra-user-content table td {
padding: 0.5em 1em;
padding: 0.5rem 1rem;
border: 1px solid #CCC;
}