This repository has been archived on 2024-06-26. You can view files and clone it, but cannot push or open issues or pull requests.
sakura/resources/assets/less/yuuno/bem/content.less

60 lines
1.2 KiB
Text
Raw Normal View History

2016-11-08 19:56:37 +00:00
.content {
margin: 10px auto;
padding: 2px 3px;
2016-11-09 18:32:23 +00:00
max-width: 1024px;
2016-11-08 19:56:37 +00:00
border: 1px solid #9475B2;
box-shadow: 0 0 3px #9475B2;
border-radius: 3px;
background: #D3BFFF;
2016-11-09 18:32:23 +00:00
&__header {
margin: -1px -2px;
padding: 4px 5px 5px;
font-weight: 700;
font-size: 20px;
color: #306;
background: linear-gradient(90deg, rgba(148, 117, 178, .7), rgba(148, 117, 178, 0)) #C2AFFE;
border-radius: 2px;
word-wrap: break-word;
text-align: left;
&--alt {
margin: -1px -2px -1px;
padding: 4px 5px 5px;
background: linear-gradient(270deg, rgba(148, 117, 178, .7), rgba(148, 117, 178, 0)) #C2AFFE;
text-align: right;
}
}
&--auth {
text-align: center;
width: auto;
max-width: 400px;
}
&--left {
2016-11-08 19:56:37 +00:00
float: left;
width: 688px;
}
2016-11-09 18:32:23 +00:00
&--right {
2016-11-08 19:56:37 +00:00
float: right;
width: 334px;
}
2016-11-09 18:32:23 +00:00
@media (max-width: 1064px) {
&--left,
&--right {
width: 100%;
}
&--left {
border-top: 1px solid #9475B2;
}
}
2016-11-08 19:56:37 +00:00
&--alt {
background: #C2AEEE;
}
}