|
1 | 1 | /* Design based on medium */ |
2 | 2 |
|
3 | 3 | body { background-color: white; color: #333332; margin: 10px; padding: 0px; font-family: 'Roboto Light', sans-serif; height: 15000px; overflow: hidden; backface-visibility: hidden } |
4 | | -body.loaded { height: auto; overflow: auto } |
| 4 | +body.loaded { height: auto; overflow: auto; max-width: 960px; margin-left: auto; margin-right: auto; } |
5 | 5 | h1, h2, h3, h4 { font-family: 'Roboto Light', sans-serif; font-weight: normal; margin: 0px; padding: 0px } |
6 | 6 | h1 { font-size: 32px; line-height: 1.2em; font-weight: bold; letter-spacing: -0.5px; margin-bottom: 5px } |
7 | | -h2 { margin-top: 2em } |
8 | | -h3 { font-size: 24px; margin-top: 2em } |
| 7 | +h2 { font-size: 24px; margin-top: 2em } |
| 8 | +h3 { font-size: 18px; margin-top: 2em } |
9 | 9 | h1 + h2, h2 + h3 { margin-top: inherit } |
10 | 10 |
|
11 | 11 | p { margin-top: 0.9em; margin-bottom: 0.9em } |
@@ -79,9 +79,10 @@ a:hover { color: #3498db } |
79 | 79 |
|
80 | 80 | /* -- Left -- */ |
81 | 81 |
|
82 | | -.left { float: left; position: absolute; width: 220px; padding-left: 20px; padding-right: 20px; margin-top: 60px; text-align: right } |
83 | | -.right { float: left; padding-left: 60px; margin-left: 240px; max-width: 700px; padding-right: 60px; padding-top: 60px } |
84 | | - |
| 82 | +.left { float: left; display: inline-block; width: 25%; margin-top: 60px; text-align: right } |
| 83 | +.right { display: inline-block; width: 75%; padding-top: 60px } |
| 84 | +.left .trigger { padding-left: 20px; } |
| 85 | +.right .posts, .right .post-full, .right .pager, .right .footer { padding-left: 60px; } |
85 | 86 | .left .avatar { |
86 | 87 | background-color: #F0F0F0; width: 60px; height: 60px; border-radius: 100%; margin-bottom: 10px; |
87 | 88 | background-position: center center; background-size: 70%; display: inline-block; image-rendering: pixelated; |
@@ -131,7 +132,7 @@ a:hover { color: #3498db } |
131 | 132 | .post .details .like .num { margin-left: 21px; color: #CCC; transition: all 0.3s } |
132 | 133 | .post .details .like:hover .num { color: #FA6C8D } |
133 | 134 | .post .details .like.loading { pointer-events: none; animation: bounce .3s infinite alternate ease-out; animation-delay: 1s; } |
134 | | -.post .body { font-size: 21.5px; line-height: 1.6; font-family: Tinos; margin-top: 20px } |
| 135 | +.post .body { font-size: 15px; line-height: 1.6; font-family: Tinos; margin-top: 20px } |
135 | 136 |
|
136 | 137 | .post .body h1 { text-align: center; margin-top: 50px } |
137 | 138 | .post .body h1:before { content: " "; border-top: 1px solid #EEE; width: 120px; display: block; margin-left: auto; margin-right: auto; margin-bottom: 50px; } |
|
0 commit comments