From b1ec0c434e9b38381da32c833367a520709ab233 Mon Sep 17 00:00:00 2001 From: Daku Date: Sat, 21 Mar 2015 00:18:09 +0000 Subject: [PATCH] move tag category css to it's own file --- ext/tag_categories/style.css | 33 +++++++++++++++++++++++++++++++++ themes/default/style.css | 34 +--------------------------------- 2 files changed, 34 insertions(+), 33 deletions(-) create mode 100644 ext/tag_categories/style.css diff --git a/ext/tag_categories/style.css b/ext/tag_categories/style.css new file mode 100644 index 00000000..322076e4 --- /dev/null +++ b/ext/tag_categories/style.css @@ -0,0 +1,33 @@ +.tagcategoryblock { + margin:0.6rem 1rem 0.6rem 0; + padding:0.5rem 0.6rem 0.7rem; + width:18rem; + border:1px solid #AAAAAA; + border-radius:0.25rem; + display:inline-block; +} +.tagcategoryblock table { + width:100%; + border-spacing:0; +} +.tagcategoryblock input, .tagcategoryblock span { + width:100%; + height:100%; +} +.tagcategoryblock td:first-child { + padding:0.3rem 0.7rem 0.4rem 0; + text-align:right; + width:40%; +} +.tagcategoryblock td:last-child { + width:60%; +} +.tagcategoryblock td:last-child span { + padding:0.24rem 0.7rem 0.5rem 0; + display:block; +} +.tagcategoryblock button { + width:100%; + margin-top:0.4rem; + padding:0.2rem 0.6rem; +} diff --git a/themes/default/style.css b/themes/default/style.css index c59d1d57..816e47a6 100644 --- a/themes/default/style.css +++ b/themes/default/style.css @@ -156,36 +156,4 @@ ARTICLE TABLE { -webkit-box-shadow: 2px 2px 6px rgba(0,0,0,0.6); /* webkit haven't committed yet */ -moz-box-shadow: 2px 2px 6px rgba(0,0,0,0.6); /* mozilla haven't committed yet */ } -.tagcategoryblock { -margin:0.6rem 1rem 0.6rem 0; -padding:0.5rem 0.6rem 0.7rem; -width:18rem; -border:1px solid #AAAAAA; -border-radius:0.25rem; -display:inline-block; -} -.tagcategoryblock table { -width:100%; -border-spacing:0; -} -.tagcategoryblock input, .tagcategoryblock span { -width:100%; -height:100%; -} -.tagcategoryblock td:first-child { -padding:0.3rem 0.7rem 0.4rem 0; -text-align:right; -width:40%; -} -.tagcategoryblock td:last-child { -width:60%; -} -.tagcategoryblock td:last-child span { -padding:0.24rem 0.7rem 0.5rem 0; -display:block; -} -.tagcategoryblock button { -width:100%; -margin-top:0.4rem; -padding:0.2rem 0.6rem; -} +