Skip to content

Instantly share code, notes, and snippets.

@plastic041
Last active July 16, 2021 02:55
Show Gist options
  • Save plastic041/29491a6ba2eba0bf975dfb9ebe681b39 to your computer and use it in GitHub Desktop.
Save plastic041/29491a6ba2eba0bf975dfb9ebe681b39 to your computer and use it in GitHub Desktop.
clean stackoverflow css
/* 좌우 필요없는 요소 제거 */
.top-bar,
.js-dismissable-hero,
.bottom-share-links,
#left-sidebar,
#sidebar,
#footer,
.ml12,
.post-form,
.js-post-menu,
.bottom-notice {
display: none;
}
/* body 배경색 변경 */
body {
padding-top: 0;
background-color: #ddd;
}
/* 본문 디자인 */
#content {
width: 820px;
margin-top: 10px;
margin-bottom: 10px;
padding-top: 4px;
padding-left: 16px !important;
padding-right: 16px !important;
border-width: 0;
border-radius: 20px;
/* 본문 그림자 */
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
#mainbar {
width: 100%;
}
.post-layout {
width: calc(100% - 40px);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment