summaryrefslogtreecommitdiff
path: root/public/css/style.css
diff options
context:
space:
mode:
authorRasmus Luha <rasmus.luha@gmail.com>2022-09-17 01:25:22 +0300
committerRasmus Luha <rasmus.luha@gmail.com>2022-09-17 01:25:22 +0300
commita95406fdbe26a378c7e7581293cecbabfba6ce8e (patch)
tree34299f5c9ce18a86f68758209dd56375f6c7f783 /public/css/style.css
init commit
Diffstat (limited to 'public/css/style.css')
-rw-r--r--public/css/style.css76
1 files changed, 76 insertions, 0 deletions
diff --git a/public/css/style.css b/public/css/style.css
new file mode 100644
index 0000000..5108be4
--- /dev/null
+++ b/public/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;
+}
+