Pony.fm/resources/assets/styles/body.less

186 lines
3.2 KiB
Text
Vendored

/**
* Pony.fm - A community for pony fan music.
* Copyright (C) 2015 Peter Deltchev
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
@import 'variables';
@import 'base/bootstrap/bootstrap';
a {
color: #C2889C;
&:hover {
text-decoration: none;
}
}
.site-content{
.box-sizing(border-box);
padding: 10px;
h1 {
margin: 1px 1px 5px;
font-size: 15pt;
color: #C2889C;
line-height: normal;
overflow: hidden;
font-weight: normal;
}
}
.about-page {
h2 {
margin: 0px;
margin-bottom: 5px;
font-size: 13pt;
color: #C2889C;
line-height: normal;
overflow: hidden;
font-weight: normal;
}
}
.welcome {
padding: 5px;
margin-bottom: 10px;
background: lighten(@pfm-purple, 30%);
}
.revealable {
font-size: 10pt;
color: #222;
position: relative;
overflow: hidden;
padding: 0px;
margin: 0px;
h2 {
}
.reveal {
#gradient>.vertical(rgba(255,255,255,0), rgba(255,255,255,1));
.box-sizing(border-box);
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
z-index: 400;
border: 2px solid #fff;
cursor: pointer;
&:hover {
border: 2px solid @blue;
}
a {
.box-sizing(border-box);
display: block;
position: absolute;
bottom: 0px;
left: 0px;
width: 100%;
background: #eee;
padding: 3px;
z-index: 500;
text-decoration: none;
font-size: 10pt;
}
}
}
.details-columns {
.left {
margin-right: 310px;
margin-left: 5px;
}
.right {
float: right;
width: 290px;
height: 100%;
padding-right: 10px;
img.cover {
.img-polaroid();
padding: 2px;
}
.stats {
list-style: none;
padding: 0px;
margin: 0px;
font-size: 9pt;
color: #555;
li {
padding: 5px 0px;
margin: 0px;
border-bottom: 1px solid #ddd;
strong {
color: #111;
}
}
}
}
}
.comments {
form {
margin: 0px;
margin-bottom: 10px;
.form-row {
margin: 0px;
}
input[type=text] {
margin: 0px;
padding: 5px;
}
}
ul {
list-style: none;
margin: 0px;
padding: 0px;
li {
line-height: normal;
padding: 5px 0px;
margin: 0px;
overflow: hidden;
img {
.img-polaroid();
float: left;
padding: 1px;
height: 32px;
width: 32px;
}
.meta {
font-size: 8pt;
padding: 5px 0px;
}
.content {
margin-left: 42px;
}
}
}
}