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

214 lines
3.4 KiB
Text
Raw Normal View History

/**
* 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/>.
*/
2015-09-12 13:19:18 +02:00
@import 'variables';
@import 'base/bootstrap/bootstrap';
a {
color: #C2889C;
&:hover {
2015-10-25 03:35:37 +01:00
text-decoration: none;
2015-09-12 13:19:18 +02:00
}
}
2016-08-04 04:42:46 +02:00
.loading {
md-menu-content {
display: none;
}
}
2015-09-12 13:19:18 +02:00
.site-content{
.box-sizing(border-box);
padding: 10px;
2016-01-06 13:50:44 +01:00
h1, h2 {
2015-10-25 03:35:37 +01:00
margin: 1px 1px 5px;
font-size: 15pt;
color: #C2889C;
line-height: normal;
overflow: hidden;
font-weight: normal;
2015-09-12 13:19:18 +02:00
}
2016-01-06 13:50:44 +01:00
h2 {
font-size: 14pt;
}
2015-09-12 13:19:18 +02:00
}
.static-page {
max-width: 800px;
margin: 0 auto;
p {
margin-bottom: 1.25em;
}
ul, ol {
li {
margin: 0.75em;
}
}
h1, h2 {
font-weight: bold;
}
2015-09-12 13:19:18 +02:00
h2 {
2015-10-25 03:35:37 +01:00
margin: 0px;
margin-top: 1.5em;
margin-bottom: 0.5em;
2015-10-25 03:35:37 +01:00
font-size: 13pt;
color: #C2889C;
line-height: normal;
overflow: hidden;
2015-09-12 13:19:18 +02:00
}
}
.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 {
2015-10-25 03:35:37 +01:00
#gradient>.vertical(rgba(255,255,255,0), rgba(255,255,255,1));
.box-sizing(border-box);
position: absolute;
top: 0px;
left: -1px;
2015-10-25 03:35:37 +01:00
width: 100%;
height: 100%;
z-index: 400;
border: 2px solid #fff;
cursor: pointer;
&:hover {
border: 2px solid @brand-primary;
2015-10-25 03:35:37 +01:00
}
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;
}
2015-09-12 13:19:18 +02:00
}
}
.details-columns {
.left {
2015-10-25 03:35:37 +01:00
margin-right: 310px;
margin-left: 5px;
2015-09-12 13:19:18 +02:00
}
.right {
2015-10-25 03:35:37 +01:00
float: right;
width: 290px;
height: 100%;
padding-right: 10px;
img.cover {
.img-thumbnail();
2015-10-25 03:35:37 +01:00
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;
}
}
}
2015-09-12 13:19:18 +02:00
}
}
.comments {
form {
2015-10-25 03:35:37 +01:00
margin: 0px;
margin-bottom: 10px;
2015-09-12 13:19:18 +02:00
2015-10-25 03:35:37 +01:00
.form-row {
margin: 0px;
}
2015-09-12 13:19:18 +02:00
2015-10-25 03:35:37 +01:00
input[type=text] {
margin: 0px;
padding: 5px;
}
2015-09-12 13:19:18 +02:00
}
ul {
2015-10-25 03:35:37 +01:00
list-style: none;
margin: 0px;
padding: 0px;
li {
line-height: normal;
padding: 5px 0px;
margin: 0px;
overflow: hidden;
img {
.img-thumbnail();
2015-10-25 03:35:37 +01:00
float: left;
padding: 1px;
height: 32px;
width: 32px;
}
.meta {
font-size: 8pt;
padding: 5px 0px;
}
.content {
margin-left: 42px;
}
}
2015-09-12 13:19:18 +02:00
}
2015-10-25 03:35:37 +01:00
}