1
0
Fork 0
empact/app/styles/app.css

96 lines
1.4 KiB
CSS
Raw Normal View History

2015-03-10 12:19:59 +00:00
* {
box-sizing: border-box;
}
2015-03-07 09:44:50 +00:00
section {
float: left;
}
2015-03-07 14:13:47 +00:00
.app {
width: 100%;
}
.menu {
2015-03-10 12:19:59 +00:00
width: 200px;
margin: 20px;
2015-03-07 09:44:50 +00:00
}
2015-03-07 14:13:47 +00:00
.menu ul {
2015-03-07 09:44:50 +00:00
margin: 0;
padding: 0;
}
2015-03-10 12:48:57 +00:00
.menu li {
2015-03-07 09:44:50 +00:00
display: block;
cursor: pointer;
2015-03-10 12:48:57 +00:00
}
.nav {
2015-03-10 12:19:59 +00:00
margin-bottom: 5px;
2015-03-07 09:44:50 +00:00
}
.nav.empact {
font-weight: 600;
}
.nav.header {
color: #aaa;
cursor: default;
2015-03-10 12:48:57 +00:00
margin-top: 20px;
2015-03-07 09:44:50 +00:00
}
2015-03-10 12:48:57 +00:00
.menu .nav a:before {
2015-03-10 12:19:59 +00:00
display: block;
float: left;
width: 3px;
height: 32px;
border-radius: 3px;
2015-03-10 12:48:57 +00:00
background-color: #f39d41;
2015-03-10 12:19:59 +00:00
content: '';
margin-right: 10px;
}
2015-03-10 12:48:57 +00:00
.menu .nav a {
2015-03-10 12:19:59 +00:00
display: inline-block;
line-height: 32px;
width: 100%;
color: #222;
text-decoration: underline;
border-radius: 3px;
}
2015-03-10 12:48:57 +00:00
.menu .nav a.active {
background-color: #f9d4be;
2015-03-10 12:19:59 +00:00
}
2015-03-07 09:44:50 +00:00
2015-03-07 14:13:47 +00:00
.content {
2015-03-10 16:29:02 +00:00
width: calc(100% - 260px);
margin-top: 20px;
2015-03-07 09:44:50 +00:00
}
2015-03-07 14:13:47 +00:00
.content .left, .content .right {
2015-03-07 17:22:32 +00:00
float: left;
2015-03-07 09:44:50 +00:00
width: 50%;
}
2015-03-10 08:24:19 +00:00
.info-block {
width: 100%;
height: 100px;
margin-bottom: 20px;
}
.info-block .img {
float: left;
width: 100px;
height: 100px;
background-position: center;
background-size: 100% auto;
margin-right: 20px;
border-radius: 3px;
}
.info-block h1 {
font-size: 32px;
line-height: 32px;
margin: 0;
2015-03-10 08:24:19 +00:00
font-weight: 400;
}
.info-block p {
max-width: 100%;
margin-right: 20px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}