summaryrefslogtreecommitdiffstats
path: root/static/css
diff options
context:
space:
mode:
Diffstat (limited to 'static/css')
-rw-r--r--static/css/buttons.css32
-rw-r--r--static/css/headline_buttons.css23
2 files changed, 55 insertions, 0 deletions
diff --git a/static/css/buttons.css b/static/css/buttons.css
new file mode 100644
index 0000000..e073b0f
--- /dev/null
+++ b/static/css/buttons.css
@@ -0,0 +1,32 @@
+.buttonicon-headline {
+ width: 16px;
+ height: 16px;
+ background-image: url('../../static/img/etherpad_lite_headline_icons.png');
+ background-repeat: no-repeat;
+ display: inline-block;
+ vertical-align: middle;
+}
+
+.buttonicon-headline-h1 {
+ background-position: 0px 1px;
+}
+
+.buttonicon-headline-h2 {
+ background-position: 0px -15px;
+}
+
+.buttonicon-headline-h3 {
+ background-position: 0px -31px;
+}
+
+.buttonicon-headline-h4 {
+ background-position: 0px -47px;
+}
+
+.buttonicon-headline-h5 {
+ background-position: 0px -63px;
+}
+
+.buttonicon-headline-h6 {
+ background-position: 0px -79px;
+}
diff --git a/static/css/headline_buttons.css b/static/css/headline_buttons.css
new file mode 100644
index 0000000..100b879
--- /dev/null
+++ b/static/css/headline_buttons.css
@@ -0,0 +1,23 @@
+h1 span, h2 span, h3 span, h4 span, h5 span, h6 span {
+ line-height: 1.5em;
+}
+
+h1 {
+ font-size: 2em;
+}
+
+h2 {
+ font-size: 1.5em;
+}
+
+h3 {
+ font-size: 1.17em;
+}
+
+h5 {
+ font-size: .83em;
+}
+
+h6 {
+ font-size: .75em;
+}