diff options
author | Rasmus Luha <rasmus.luha@gmail.com> | 2022-09-17 01:25:22 +0300 |
---|---|---|
committer | Rasmus Luha <rasmus.luha@gmail.com> | 2022-09-17 01:25:22 +0300 |
commit | a95406fdbe26a378c7e7581293cecbabfba6ce8e (patch) | |
tree | 34299f5c9ce18a86f68758209dd56375f6c7f783 /static |
init commit
Diffstat (limited to 'static')
-rw-r--r-- | static/css/style.css | 76 | ||||
-rw-r--r-- | static/img/bg.jpg | bin | 0 -> 616316 bytes |
2 files changed, 76 insertions, 0 deletions
diff --git a/static/css/style.css b/static/css/style.css new file mode 100644 index 0000000..5108be4 --- /dev/null +++ b/static/css/style.css @@ -0,0 +1,76 @@ +body{ + max-width: 900px; + margin: auto; + background-color: #E1D9D1; +} +nav { + margin-top: 10px; + text-align: center; +} + +nav a { + padding: 15px; + font-size: 22px; + font-weight: bold; + text-decoration: none; + color: #71BC68; +} + +footer{ + text-align: center; +} + +/* Header */ +.main-image { + margin-top: 25px; + position: relative; + background: url(/img/bg.jpg) no-repeat center; + background-size: cover; + height: 250px; +} + +.img-container { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + text-align: center; + color: #fff; + font-weight: 700; + text-transform: uppercase; +} + +.img-container h1 { + margin: 0; + font-size: 66px; +} + +.img-container h1 span { + border: 6px solid white; + padding: 6px 14px; + display: inline-block; +} + +/* container styles*/ + +.container{ + text-align: center; +} + +.index-content{ + height: 500px; + display: flex; +} + +.right{ + height: 500px; + width: 60%; + background: blue; +} + +.left{ + height: 500px; + width: 40%; + background: green; +} + diff --git a/static/img/bg.jpg b/static/img/bg.jpg Binary files differnew file mode 100644 index 0000000..1353852 --- /dev/null +++ b/static/img/bg.jpg |