diff --git a/public/artwork/tmp/boxs.html b/public/artwork/tmp/boxs.html
index 9495613..247b8fd 100644
--- a/public/artwork/tmp/boxs.html
+++ b/public/artwork/tmp/boxs.html
@@ -97,6 +97,28 @@
+
+
+
+
diff --git a/public/designs/blocks/default/style.css b/public/designs/blocks/default/style.css
deleted file mode 100644
index 2ca09a9..0000000
--- a/public/designs/blocks/default/style.css
+++ /dev/null
@@ -1,87 +0,0 @@
-/* Default Plain Theme for Blocks */
-
-div.block
-{
- background: #FFFFFF;
- border: 3px solid #000000;
- margin-bottom: 10px;
-}
-
-div.block ul
-{
- margin-left: 15px;
-}
-
-div.block h3
-{
- color: #FFFFFF;
- background: #545454;
- font-family: Sans-serif;
- font-size: 13px;
- font-weight: normal;
- border-bottom: 1px solid black;
- height: 27px;
- margin: 0px;
- line-height: 27px;
- padding-left: 10px;
-}
-
-div.block span {
-display: none;
-}
-
-div.block a:hover span {
-display: inline;
-position: absolute;
-color: #dfdfdf;
-background: #000000;
-font-family: Sans-serif;
-font-size: 13px;
-font-weight: normal;
-margin: 10px;
-padding-left: 5px;
-padding-right: 5px;
-}
-
-div.block a {
-display: block;
-width: 10px;
-height: 10px;
-margin-top: 10px;
-margin-right: 5px;
-float: right;
-}
-
-div.block a.hide {
-border-bottom: 2px solid #dfdfdf;
-}
-
-div.block a:hover.hide {
-border-bottom: 2px solid #000000;
-}
-
-div.block a.remove {
-background: #dfdfdf;
-}
-
-div.block a:hover.remove {
-background: #000000;
-}
-
-div.block_content
-{
- padding: 5px;
-}
-
-
-div#links {
-background: blue;
-}
-
-div#comment {
-background: green;
-}
-
-div#about {
-background: yellow;
-}
diff --git a/public/designs/templates/default/stylesheets/blocks.css b/public/designs/templates/default/stylesheets/blocks.css
new file mode 100644
index 0000000..3a78ecb
--- /dev/null
+++ b/public/designs/templates/default/stylesheets/blocks.css
@@ -0,0 +1,76 @@
+/* Default Plain Theme for Blocks */
+
+div.block
+{
+ background: #FFFFFF;
+ border: 3px solid #000000;
+ margin-bottom: 10px;
+}
+
+div.block ul
+{
+ margin-left: 15px;
+}
+
+div.block h3
+{
+ color: #FFFFFF;
+ background: #545454;
+ font-family: Sans-serif;
+ font-size: 13px;
+ font-weight: normal;
+ border-bottom: 1px solid black;
+ height: 27px;
+ margin: 0px;
+ line-height: 27px;
+ padding-left: 10px;
+}
+
+div.block span {
+display: none;
+}
+
+div.block a:hover span {
+display: inline;
+position: absolute;
+color: #dfdfdf;
+background: #000000;
+font-family: Sans-serif;
+font-size: 13px;
+font-weight: normal;
+margin: 10px;
+padding-left: 5px;
+padding-right: 5px;
+}
+
+div.block a {
+display: block;
+width: 10px;
+height: 10px;
+margin-top: 10px;
+margin-right: 5px;
+float: right;
+}
+
+div.block a.button_block_hide {
+border-bottom: 2px solid #dfdfdf;
+}
+
+div.block a:hover.button_block_hide {
+border-bottom: 2px solid #000000;
+}
+
+div.block a.button_block_remove {
+background: #dfdfdf;
+}
+
+div.block a:hover.button_block_remove {
+background: #000000;
+}
+
+div.block_content
+{
+ padding: 5px;
+}
+
+
diff --git a/public/designs/templates/default/stylesheets/style.css b/public/designs/templates/default/stylesheets/style.css
index 3b8feb5..71a77af 100644
--- a/public/designs/templates/default/stylesheets/style.css
+++ b/public/designs/templates/default/stylesheets/style.css
@@ -1,3 +1,5 @@
+@import "blocks.css";
+
body, td, tr, li {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
@@ -44,6 +46,7 @@ blockquote p {
}
#footer {
+ clear: both;
text-align: center;
border-top: 1px solid black;
}
@@ -56,81 +59,40 @@ blockquote p {
padding: 0.5em;
}
-#box_1, #box_2, #box_3 {
- margin: 10px;
- padding: 0px;
- background: white;
+#boxes {
+position: relative;
+border: 1px solid red;
+}
+
+#boxes ul, #boxes li {
+list-style: none;
+margin: 0;
+padding: 0;
}
/* Box 1 is the main area */
#box_1 {
- margin-left: 220px;
margin-right: 220px;
+ margin-left: 220px;
+ border: 1px solid yellow;
}
/* Box 2 on the left side */
#box_2 {
+ float: left;
+ border: 1px solid blue;
width: 200px;
- position: absolute;
- left: 0px;
- top: 57px;
padding: 0px;
}
/* Box 3 on the right side */
#box_3 {
+ border: 1px solid green;
width: 200px;
- position: absolute;
- right: 0px;
- top: 57px;
+ float: right;
padding: 0px;
}
-/* blocks */
-div.block {
- border: 1px solid gray;
- margin-bottom: 1em;
- padding: 0.5em;
-}
-
-/* design_editor stuff */
-#design_editor #box_2,
-#design_editor #box_3 {
- top: 88px;
-}
-
-#design_editor #box_1 div,
-#design_editor #box_2 div,
-#design_editor #box_3 div {
- border: 1px solid black;
- list-style: none;
- margin: 0px;
- padding: 2px;
- margin-top: 3px;
-}
-
-#design_editor #design_editor_selectors {
- text-align: center;
- border: 1px solid black;
-}
-
-#design_editor .hover {
- border: 1px dashed black;
- background: #ffd;
-}
-
-#design_editor ul.block_list {
- padding: 2px;
- margin: 2px;
-}
-
-#design_editor li.block {
- padding: 2px;
- margin: 2px;
- list-style: none;
- border: 1px solid gray;
-}
-
table {
border-collapse: collapse;
}
--
libgit2 0.21.2