Initial Commit

This commit is contained in:
Koech Allan K
2019-10-22 04:15:16 +03:00
commit 879fb84fb1
7 changed files with 195 additions and 0 deletions

1
icons/be.svg Normal file
View File

@@ -0,0 +1 @@
<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="behance-square" class="svg-inline--fa fa-behance-square fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M186.5 293c0 19.3-14 25.4-31.2 25.4h-45.1v-52.9h46c18.6.1 30.3 7.8 30.3 27.5zm-7.7-82.3c0-17.7-13.7-21.9-28.9-21.9h-39.6v44.8H153c15.1 0 25.8-6.6 25.8-22.9zm132.3 23.2c-18.3 0-30.5 11.4-31.7 29.7h62.2c-1.7-18.5-11.3-29.7-30.5-29.7zM448 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zM271.7 185h77.8v-18.9h-77.8V185zm-43 110.3c0-24.1-11.4-44.9-35-51.6 17.2-8.2 26.2-17.7 26.2-37 0-38.2-28.5-47.5-61.4-47.5H68v192h93.1c34.9-.2 67.6-16.9 67.6-55.9zM380 280.5c0-41.1-24.1-75.4-67.6-75.4-42.4 0-71.1 31.8-71.1 73.6 0 43.3 27.3 73 71.1 73 33.2 0 54.7-14.9 65.1-46.8h-33.7c-3.7 11.9-18.6 18.1-30.2 18.1-22.4 0-34.1-13.1-34.1-35.3h100.2c.1-2.3.3-4.8.3-7.2z"></path></svg>

After

Width:  |  Height:  |  Size: 951 B

1
icons/in.svg Normal file
View File

@@ -0,0 +1 @@
<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="invision" class="svg-inline--fa fa-invision fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M407.4 32H40.6C18.2 32 0 50.2 0 72.6v366.8C0 461.8 18.2 480 40.6 480h366.8c22.4 0 40.6-18.2 40.6-40.6V72.6c0-22.4-18.2-40.6-40.6-40.6zM176.1 145.6c.4 23.4-22.4 27.3-26.6 27.4-14.9 0-27.1-12-27.1-27 .1-35.2 53.1-35.5 53.7-.4zM332.8 377c-65.6 0-34.1-74-25-106.6 14.1-46.4-45.2-59-59.9.7l-25.8 103.3H177l8.1-32.5c-31.5 51.8-94.6 44.4-94.6-4.3.1-14.3.9-14 23-104.1H81.7l9.7-35.6h76.4c-33.6 133.7-32.6 126.9-32.9 138.2 0 20.9 40.9 13.5 57.4-23.2l19.8-79.4h-32.3l9.7-35.6h68.8l-8.9 40.5c40.5-75.5 127.9-47.8 101.8 38-14.2 51.1-14.6 50.7-14.9 58.8 0 15.5 17.5 22.6 31.8-16.9L386 325c-10.5 36.7-29.4 52-53.2 52z"></path></svg>

After

Width:  |  Height:  |  Size: 839 B

1
icons/logo.svg Normal file
View File

@@ -0,0 +1 @@
<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="tenge" class="svg-inline--fa fa-tenge fa-w-12" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="currentColor" d="M372 160H12c-6.6 0-12 5.4-12 12v56c0 6.6 5.4 12 12 12h140v228c0 6.6 5.4 12 12 12h56c6.6 0 12-5.4 12-12V240h140c6.6 0 12-5.4 12-12v-56c0-6.6-5.4-12-12-12zm0-128H12C5.4 32 0 37.4 0 44v56c0 6.6 5.4 12 12 12h360c6.6 0 12-5.4 12-12V44c0-6.6-5.4-12-12-12z"></path></svg>

After

Width:  |  Height:  |  Size: 479 B

1
icons/twitter.svg Normal file
View File

@@ -0,0 +1 @@
<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="twitter-square" class="svg-inline--fa fa-twitter-square fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-48.9 158.8c.2 2.8.2 5.7.2 8.5 0 86.7-66 186.6-186.6 186.6-37.2 0-71.7-10.8-100.7-29.4 5.3.6 10.4.8 15.8.8 30.7 0 58.9-10.4 81.4-28-28.8-.6-53-19.5-61.3-45.5 10.1 1.5 19.2 1.5 29.6-1.2-30-6.1-52.5-32.5-52.5-64.4v-.8c8.7 4.9 18.9 7.9 29.6 8.3a65.447 65.447 0 0 1-29.2-54.6c0-12.2 3.2-23.4 8.9-33.1 32.3 39.8 80.8 65.8 135.2 68.6-9.3-44.5 24-80.6 64-80.6 18.9 0 35.9 7.9 47.9 20.7 14.8-2.8 29-8.3 41.6-15.8-4.9 15.2-15.2 28-28.8 36.1 13.2-1.4 26-5.1 37.8-10.2-8.9 13.1-20.1 24.7-32.9 34z"></path></svg>

After

Width:  |  Height:  |  Size: 839 B

49
index.html Normal file
View File

@@ -0,0 +1,49 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="styles.css">
<title>My Blogsite</title>
</head>
<body>
<header>
<div class="logo hd">
<img src="icons/logo.svg" alt="logo">
<h2>Transit Media</h2>
</div>
<div class="nav-bar hd">
<ul>
<li><a href="#">HOME</a></li>
<li><a href="#">SERVICES</a></li>
<li><a href="#">WORKS</a></li>
<li><a href="#">ABOUT US</a></li>
<li><a href="#">BLOG</a></li>
<li><a href="#">CONTACTS</a></li>
</ul>
</div>
<div class="social hd">
<div class="be box">
<img src="icons/be.svg" alt="be">
</div>
<div class="in box">
<img src="icons/in.svg" alt="in">
</div>
<div class="twitter box">
<img src="icons/twitter.svg" alt="twitter">
</div>
</div>
</header>
<div class="main-body">
<h2>CREATIVE DESIGN</h2>
<p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Consectetur ad quis maiores ut magni quam porro id, debitis quaerat optio.</p>
<div class="btns">
<ul>
<li><a id="active" href="#">LEARN MORE</a></li>
<li><a href="#">PURCHASE IT</a></li>
</ul>
</div>
</div>
</body>
</html>

5
main.py Normal file
View File

@@ -0,0 +1,5 @@
import webview
if __name__ == "__main__":
window = webview.create_window("My Web Blog","index.html", width=1000, height=600)
webview.start()

137
styles.css Normal file
View File

@@ -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;
}