aboutsummaryrefslogtreecommitdiffstats
path: root/view/css
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-03-03 12:07:58 +0100
committerMario Vavti <mario@mariovavti.com>2016-03-03 12:07:58 +0100
commit59e04aed1b7ea68b51b8672768dffd21f5a4bd4d (patch)
tree6974e059e7d26321277f7674608aab769f888ef6 /view/css
parentd3f2d2a2dbba70403d197221500aeae80d541557 (diff)
downloadvolse-hubzilla-59e04aed1b7ea68b51b8672768dffd21f5a4bd4d.tar.gz
volse-hubzilla-59e04aed1b7ea68b51b8672768dffd21f5a4bd4d.tar.bz2
volse-hubzilla-59e04aed1b7ea68b51b8672768dffd21f5a4bd4d.zip
move cover-photo to template, add the ability to define a title and subtitle (defaults to channel name and addres), move js from redbasic.js to template.
Diffstat (limited to 'view/css')
-rw-r--r--view/css/widgets.css27
1 files changed, 27 insertions, 0 deletions
diff --git a/view/css/widgets.css b/view/css/widgets.css
index a1801ac77..db90afad9 100644
--- a/view/css/widgets.css
+++ b/view/css/widgets.css
@@ -122,3 +122,30 @@ li:hover .group-edit-icon {
#event-upload-choose {
width: 100%;
}
+
+/* cover photo */
+
+#cover-photo {
+ position: relative;
+ width: 100%;
+ height: auto;
+}
+
+#cover-photo-caption {
+ position: absolute;
+ bottom: 0px;
+ left: 0px;
+ width: 100%;
+ padding: 15px;
+ color: #fff;
+ font-weight: bold;
+ text-shadow: 1px 1px 3px rgba(0,0,0,.7);
+}
+
+.cover-photo-title {
+ font-size: 30px;
+}
+
+.cover-photo-subtitle {
+ font-size: 20px;
+}