diff --git a/public/example/index.html b/public/example/index.html index 92748d6..2c5b393 100644 --- a/public/example/index.html +++ b/public/example/index.html @@ -13,12 +13,30 @@ Clients Contact -
- -

Collapsed Sidebar

-

Content...

+
+
+
+

header

+
+
+ +

Collapsed Sidebar

+
+
+

main

+
+
+

right

+
+ +
+
+ + \ No newline at end of file diff --git a/static/Styles/example.css b/static/Styles/example.css index b4c5134..1b5e40d 100644 --- a/static/Styles/example.css +++ b/static/Styles/example.css @@ -65,4 +65,35 @@ .sidebar a { font-size: 18px; } +} + + +/* grid layout for the content */ +.grid-container { + display: grid; + grid-template-areas: 'left header header' + 'left main right' + 'footer footer footer'; + grid-template-columns: [left] 80px [line2] calc(100% - 160px) [line3] 80px [right]; + grid-template-rows: [top] 80px [line2] calc(100% - 160px) [line3] 80px [bottom]; +} + +.left { + grid-area: left; +} + +.right { + grid-area: right; +} + +.header { + grid-area: header; +} + +.main { + grid-area: main; +} + +.footer { + grid-area: footer; } \ No newline at end of file