init
This commit is contained in:
commit
f5d9aece1e
13 changed files with 313 additions and 0 deletions
15
_includes/layout.vto
Normal file
15
_includes/layout.vto
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>My first page</title>
|
||||
<link rel="stylesheet" href="/styles.css" />
|
||||
<link rel="stylesheet" href="/style.css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="appbar">
|
||||
<a href="/">Home</a>
|
||||
</div>
|
||||
{{ content }}
|
||||
</body>
|
||||
</html>
|
||||
32
_includes/sass/layout.scss
Normal file
32
_includes/sass/layout.scss
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
html {
|
||||
min-width: 100%;
|
||||
min-height: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background: #1980a8;
|
||||
background: linear-gradient(164deg,rgba(25, 128, 168, 1) 0%, rgba(87, 199, 133, 1) 50%, rgba(203, 207, 153, 1) 100%);
|
||||
|
||||
#appbar {
|
||||
height: 6em;
|
||||
background: #196089;
|
||||
border-bottom: 1px solid #444;
|
||||
box-shadow: 0 0 2px 0 #000;
|
||||
line-height: 6em;
|
||||
padding: 0 1em;
|
||||
|
||||
& > a {
|
||||
color: #fff;
|
||||
font-size: 3em;
|
||||
text-align: center;
|
||||
weight: bold;
|
||||
}
|
||||
}
|
||||
}
|
||||
a {
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue