commit 879fb84fb166ad06940f9993d28e407716bfe317 Author: Koech Allan K Date: Tue Oct 22 04:15:16 2019 +0300 Initial Commit diff --git a/icons/be.svg b/icons/be.svg new file mode 100644 index 0000000..a8d223e --- /dev/null +++ b/icons/be.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icons/in.svg b/icons/in.svg new file mode 100644 index 0000000..db092f9 --- /dev/null +++ b/icons/in.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icons/logo.svg b/icons/logo.svg new file mode 100644 index 0000000..345cff4 --- /dev/null +++ b/icons/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icons/twitter.svg b/icons/twitter.svg new file mode 100644 index 0000000..55fd44d --- /dev/null +++ b/icons/twitter.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..3ecc16a --- /dev/null +++ b/index.html @@ -0,0 +1,49 @@ + + + + + + + + My Blogsite + + +
+ + + +
+
+

CREATIVE DESIGN

+

Lorem ipsum dolor sit amet consectetur, adipisicing elit. Consectetur ad quis maiores ut magni quam porro id, debitis quaerat optio.

+ +
+ + \ No newline at end of file diff --git a/main.py b/main.py new file mode 100644 index 0000000..2fdf69d --- /dev/null +++ b/main.py @@ -0,0 +1,5 @@ +import webview + +if __name__ == "__main__": + window = webview.create_window("My Web Blog","index.html", width=1000, height=600) + webview.start() diff --git a/styles.css b/styles.css new file mode 100644 index 0000000..ead79bb --- /dev/null +++ b/styles.css @@ -0,0 +1,137 @@ +*{ + margin: 0px; + padding: 0px; + font-family: monospace; +} + +body{ + background: #2A4660; + box-sizing: border-box; +} + +header{ + background: rgba(104, 74, 154, 0.6); + display: flex; + align-items: center; + justify-content: center; +} + +header .hd{ + display: inline-flex; + justify-content: center; +} + +.logo{ + + margin: 5px; + flex:20%; + display: inline-flex; + flex-direction: row; + justify-content: center; + +} + +.logo img{ + border: 2px solid rgb(104, 95, 95); + border-radius: 3px; + width: 40px; + height: 40px; + +} + +.logo h2{ + font-size: 18px; + color: white; + padding: 8px 3px; +} + +.nav-bar{ + display: block; + flex: 60%; +} + +.nav-bar ul{ + list-style: none; + padding: 10px; +} + +.nav-bar ul li{ + display: inline; + +} + +.nav-bar ul li a{ + color: white; + text-decoration: none; + padding: 10px 15px; + margin: 3px; + width: 150px; +} + +.nav-bar ul li a:hover{ + background-color: rgba(104, 74, 154, 0.9); + border-radius: 3px; +} + +.social{ + display: block; + flex: 20%; +} + +.social .box{ + display: inline-block; +} + +.social .box img{ + margin-left: 6px; + width: 32px; + height: 32px; +} + +.main-body{ + color: white; + display: flex; + align-items: center; + justify-content: center; + flex-direction: column; +} + +.main-body h2{ + font-size: 26px; + justify-self: auto; + margin-top: 100px; +} + +.main-body .btns{ + display: block; + align-self: auto; +} + +.main-body p{ + padding: 15px; + margin: 15px; + +} + +.main-body .btns ul{ + list-style: none; +} + +.main-body .btns ul li{ + display: inline-block; + color: white; +} + +.main-body .btns ul li a{ + text-decoration: none; + padding: 10px; + border: 2px solid white; + margin-top: 20px; + color: white; + border-radius: 3px; +} + +#active, .main-body .btns ul li a:hover{ + color: black; + background: white; +} \ No newline at end of file