aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author藍挺瑋 <lantw44@gmail.com>2012-12-17 23:12:46 +0800
committerlantw44 <lantw44@gmail.com>2012-12-17 23:12:46 +0800
commit374fead8edb269d6b0c04c270f467801ae0efc4b (patch)
tree6b78bbfd02ade456e9420ebd1c4b8c1236ccda5a
parente12848d1b24223ff2453a63560f3982b4297efe8 (diff)
downloadinccalendar-374fead8edb269d6b0c04c270f467801ae0efc4b.tar.gz
inccalendar-374fead8edb269d6b0c04c270f467801ae0efc4b.tar.zst
inccalendar-374fead8edb269d6b0c04c270f467801ae0efc4b.zip
將 jinhtml/month.html 中的 CSS 移至 css/month.css
-rw-r--r--css/month.css58
-rw-r--r--jinhtml/month.html61
2 files changed, 59 insertions, 60 deletions
diff --git a/css/month.css b/css/month.css
new file mode 100644
index 0000000..1ee8450
--- /dev/null
+++ b/css/month.css
@@ -0,0 +1,58 @@
+div#timeselect{
+ margin-top: 20px;
+ margin-bottom: 20px;
+ font-size: x-large;
+ text-align: center;
+}
+div#timeselect input{
+ vertical-align: text-top;
+}
+table#cal{
+ min-width: 800px;
+ width: 100%;
+}
+tbody#calbody td{
+ border-width: 1px;
+ border-style: solid;
+ vertical-align: top;
+ height: 100px;
+ width: 14.285%;
+ color: black;
+}
+#timeselect_year, #timeselect_month{
+ font-family: serif;
+}
+#timeedit_month, #timeedit_year, #timeedit_apply, #timeedit_cancel{
+ display: none;
+}
+#timeedit_month, #timeedit_year{
+ width: 50px;
+}
+#caledit_left, #caledit_right{
+ float: left;
+ width: 42%;
+ margin: 3%;
+ min-width: 350px;
+}
+#caledit_select{
+ width: 100%;
+ min-width: 350px;
+}
+#caledit_static_year, #caledit_static_month, #caledit_static_date,
+#caledit_static_hour, #caledit_static_minute
+{
+ display: inline-block;
+ width: 40px;
+}
+#caledit_dyn_year, #caledit_dyn_month, #caledit_dyn_date,
+#caledit_dyn_hour, #caledit_dyn_minute
+{
+ width: 40px;
+}
+#caledit_dyn_content{
+ width: 100%;
+ resize: vertical;
+}
+[name=caledit_write] {
+ display: none;
+}
diff --git a/jinhtml/month.html b/jinhtml/month.html
index 401a9a2..0fe0afa 100644
--- a/jinhtml/month.html
+++ b/jinhtml/month.html
@@ -1,65 +1,6 @@
{% extends "jinhtml/skel.html" %}
{% block headcss %}
- <style type="text/css">
- div#timeselect{
- margin-top: 20px;
- margin-bottom: 20px;
- font-size: x-large;
- text-align: center;
- }
- div#timeselect input{
- vertical-align: text-top;
- }
- table#cal{
- min-width: 800px;
- width: 100%;
- }
- tbody#calbody td{
- border-width: 1px;
- border-style: solid;
- vertical-align: top;
- height: 100px;
- width: 14.285%;
- color: black;
- }
- #timeselect_year, #timeselect_month{
- font-family: serif;
- }
- #timeedit_month, #timeedit_year, #timeedit_apply, #timeedit_cancel{
- display: none;
- }
- #timeedit_month, #timeedit_year{
- width: 50px;
- }
- #caledit_left, #caledit_right{
- float: left;
- width: 42%;
- margin: 3%;
- min-width: 350px;
- }
- #caledit_select{
- width: 100%;
- min-width: 350px;
- }
- #caledit_static_year, #caledit_static_month, #caledit_static_date,
- #caledit_static_hour, #caledit_static_minute
- {
- display: inline-block;
- width: 40px;
- }
- #caledit_dyn_year, #caledit_dyn_month, #caledit_dyn_date,
- #caledit_dyn_hour, #caledit_dyn_minute
- {
- width: 40px;
- }
- #caledit_dyn_content{
- width: 100%;
- resize: vertical;
- }
- [name=caledit_write] {
- display: none;
- }
- </style>
+ <link rel="stylesheet" href="css/month.css" type="text/css">
{% endblock %}
{% block onload %}