diff --git a/Public/styles/site.css b/Public/styles/site.css index 49cbd81..9382700 100644 --- a/Public/styles/site.css +++ b/Public/styles/site.css @@ -1,6 +1,13 @@ +* { + padding: 0; + margin: 0; + box-sizing: border-box; +} body { background-color: #1E1E2E; color: white; + padding: 20px; + margin: 10px; } p { @@ -42,27 +49,72 @@ label { li { font-size: 20px; + padding: 10px; + margin: 10px; +} + +ul { + padding: 10px 20px; +} + +.description { + padding-top: 20px; +} + +.container { + display: flex; } .pros { - border 2px solid green; - border-radius: 10px; - background-color: MediumSeaGreen; - margin: 10px; - opacity: 0.7; + flex 1 300px; + width: 50%; + min-height: 200px; + padding: 5px; } .cons { + flex 1 300px; + min-height: 200px; + width: 50%; + padding: 5px; +} + +.counter-container { + position: relative; + /* border 5px solid MediumSeaGreen; */ + /* border-radius: 5px 5px 0px 0px; */ +} + +.counter { + position: absolute; + top: 2px; + right: 10px; +} + +.counter-label { + position: relative; + top: 2px; + left: 10px; +} + +.pros-list { + position: relative; + border 2px solid green; + border-radius: 10px; + background-color: MediumSeaGreen; +} + +.cons-list { + position: relative; border 2px solid green; border-radius: 10px; background-color: Tomato; - margin: 10px; - opacity: 0.7; } + .listHeader { - margin: auto; - padding: 20px; + /* margin: auto; */ + padding: 10px; } .center { diff --git a/Resources/Views/loggedIn.leaf b/Resources/Views/loggedIn.leaf index 97b1e78..5b5da20 100644 --- a/Resources/Views/loggedIn.leaf +++ b/Resources/Views/loggedIn.leaf @@ -1,43 +1,50 @@ #extend("main"): #export("body"):
-

Welcome #capitalized(name)

+

Welcome #capitalized(name)

+

- Please add your pro's and cons during the talk to the list below. + Please add your pro's and cons during the talk to the list below.

You can add as many pros and cons as you would like.

-
- -
-
- -
- -
-
- -
-
-
-

Pros - Count: #count(pros)

-
-
-

Cons - Count: #count(cons)

- +
+ +
+ +
+
+ +
+
+
+
+
+

Pros

+

Count: #count(pros)

+
+
    + #for(item in pros): +
  • #(item.description)
  • + #endfor +
+
+
+
+

Cons

+

Count: #count(cons)

+
+
    + #for(item in cons): +
  • #(item.description)
  • + #endfor +
+
#endexport #endextend diff --git a/Resources/Views/main.leaf b/Resources/Views/main.leaf index 01a0a67..7a22210 100644 --- a/Resources/Views/main.leaf +++ b/Resources/Views/main.leaf @@ -6,7 +6,6 @@ -

Chiller Pro vs. Cons

#import("body")