Vulcan/packages/base-styles/lib/stylesheets/main.scss

133 lines
1.9 KiB
SCSS
Raw Normal View History

2016-03-24 16:03:30 +09:00
@import "colors";
@import "variables";
@import "global";
@import "categories";
@import "comments";
@import "common";
@import "posts";
2016-02-19 09:54:13 +09:00
body{
background: #eee;
2016-03-24 16:12:03 +09:00
color: $black;
2016-02-19 09:54:13 +09:00
}
.wrapper{
padding: 15px;
}
.main{
background: #fff;
padding: 15px;
margin: 10px 0;
border: 1px #ccc solid;
}
2016-02-19 10:12:08 +09:00
2016-03-24 16:03:30 +09:00
.post-views, .logo, .nav, .alt-accounts-log-in-buttons{
2016-02-19 10:12:08 +09:00
margin-bottom: 15px;
}
2016-02-19 18:38:39 +09:00
.post-views ul, .categories ul, .post-categories ul, .post-commenters ul{
2016-02-19 10:12:08 +09:00
list-style-type: none;
margin: 0;
padding: 0;
}
2016-02-19 18:38:39 +09:00
.post-views li, .categories li, .post-categories li, .post-commenters li{
2016-02-19 10:12:08 +09:00
display: inline-block;
margin-right: 5px;
border: 1px solid #ddd;
padding: 3px 5px;
background: #efefef;
2016-02-19 09:54:13 +09:00
}
2016-02-19 18:38:39 +09:00
.post-list-content{
border-top: 2px solid #eee;
padding-top: 15px;
margin-top: 15px;
}
.post-item{
border-bottom: 2px solid #eee;
padding-bottom: 15px;
margin-bottom: 15px;
}
2016-02-19 09:54:13 +09:00
.comment-node{
2016-02-19 10:12:08 +09:00
border-left: 10px #efefef solid;
2016-02-19 09:54:13 +09:00
padding-left: 10px;
}
2016-02-19 10:12:08 +09:00
.comment-item{
2016-02-19 09:54:13 +09:00
margin-bottom: 15px;
2016-02-19 10:12:08 +09:00
}
.comment-body{
border: 1px solid #ddd;
padding: 10px;
}
.new-post-button{
margin-bottom: 15px;
2016-03-19 10:15:36 +09:00
}
code{
font-family: monospace;
background: #fafafa;
border: 1px solid #ddd;
padding: 3px 6px;
}
.cheatsheet h1{
margin-bottom: 20px;
}
.cheatsheet-wrapper{
display: flex;
}
.cheatsheet-block{
flex: 1;
margin-right: 20px;
}
.cheatsheet-block:last-of-type{
margin-right: 0;
}
.cheatsheet ul{
list-style-type: none;
margin-bottom: 20px;
padding-left: 0px;
}
.cheatsheet ul li{
margin-bottom: 10px;
}
.cheatsheet h2{
margin-bottom: 10px;
padding-bottom: 10px;
border-bottom: 1px solid #ddd;
}
.cheatsheet h3{
margin-bottom: 10px;
font-weight: bold;
2016-03-19 10:15:36 +09:00
}
.cheatsheet code{
font-size: 13px;
2016-03-19 18:19:28 +09:00
}
.avatar{
height: 24px;
width: 24px;
display: inline-block;
}
.sr-only{
display: none;
}
.upvoted .upvote{
2016-03-21 10:46:00 +09:00
opacity: 0.3;
2016-03-22 10:22:46 +09:00
}
.post-day h2{
font-weight: bold;
2016-02-19 09:54:13 +09:00
}