mirror of
https://github.com/Rushilwiz/mooreyoga.git
synced 2025-04-09 22:30:16 -04:00
feat: started site beginning
This commit is contained in:
commit
2b2de10f21
BIN
design/background.png
Normal file
BIN
design/background.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.2 MiB |
BIN
design/foreground.png
Normal file
BIN
design/foreground.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 856 KiB |
BIN
design/text.png
Normal file
BIN
design/text.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 46 KiB |
0
site/app.js
Normal file
0
site/app.js
Normal file
1
site/css/.gitignore
vendored
Normal file
1
site/css/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
*.map
|
7
site/css/abstracts/_mixins.sass
Normal file
7
site/css/abstracts/_mixins.sass
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
@mixin desktop
|
||||||
|
@media (min-width: 786px)
|
||||||
|
@content
|
||||||
|
|
||||||
|
@mixin mobile
|
||||||
|
@media (max-width: 786px)
|
||||||
|
@content
|
5
site/css/abstracts/_reset.sass
Normal file
5
site/css/abstracts/_reset.sass
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
html, body
|
||||||
|
padding: 0
|
||||||
|
margin: 0
|
||||||
|
border: 0
|
||||||
|
box-sizing: border-box
|
0
site/css/abstracts/_variables.sass
Normal file
0
site/css/abstracts/_variables.sass
Normal file
26
site/css/components/_nav.sass
Normal file
26
site/css/components/_nav.sass
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
nav
|
||||||
|
position: fixed
|
||||||
|
display: flex
|
||||||
|
flex-direction: column
|
||||||
|
align-items: center
|
||||||
|
z-index: 999
|
||||||
|
margin-left: 45px
|
||||||
|
height: 100vh
|
||||||
|
width: 100px
|
||||||
|
|
||||||
|
.menu
|
||||||
|
margin: auto auto
|
||||||
|
height: 75%
|
||||||
|
width: 100%
|
||||||
|
display: flex
|
||||||
|
flex-direction: column
|
||||||
|
justify-content: space-between
|
||||||
|
align-items: center
|
||||||
|
|
||||||
|
.box
|
||||||
|
height: 100px
|
||||||
|
width: 100%
|
||||||
|
background-color: #fffdfdb4
|
||||||
|
border-radius: 25px
|
||||||
|
|
||||||
|
|
18
site/css/components/_scrollbar.sass
Normal file
18
site/css/components/_scrollbar.sass
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
*
|
||||||
|
scrollbar-width: auto
|
||||||
|
scrollbar-color: #ff887a #e6e6e6
|
||||||
|
|
||||||
|
|
||||||
|
/* Chrome, Edge, and Safari */
|
||||||
|
*::-webkit-scrollbar
|
||||||
|
width: 16px
|
||||||
|
|
||||||
|
|
||||||
|
*::-webkit-scrollbar-track
|
||||||
|
background: #e6e6e6
|
||||||
|
|
||||||
|
|
||||||
|
*::-webkit-scrollbar-thumb
|
||||||
|
background-color: #ff887a
|
||||||
|
border-radius: 10px
|
||||||
|
border: 3px solid #e6e6e6
|
104
site/css/main.css
Normal file
104
site/css/main.css
Normal file
|
@ -0,0 +1,104 @@
|
||||||
|
html, body {
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
border: 0;
|
||||||
|
-webkit-box-sizing: border-box;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
nav {
|
||||||
|
position: fixed;
|
||||||
|
display: -webkit-box;
|
||||||
|
display: -ms-flexbox;
|
||||||
|
display: flex;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
-webkit-box-direction: normal;
|
||||||
|
-ms-flex-direction: column;
|
||||||
|
flex-direction: column;
|
||||||
|
-webkit-box-align: center;
|
||||||
|
-ms-flex-align: center;
|
||||||
|
align-items: center;
|
||||||
|
z-index: 999;
|
||||||
|
margin-left: 45px;
|
||||||
|
height: 100vh;
|
||||||
|
width: 100px;
|
||||||
|
}
|
||||||
|
|
||||||
|
nav .menu {
|
||||||
|
margin: auto auto;
|
||||||
|
height: 75%;
|
||||||
|
width: 100%;
|
||||||
|
display: -webkit-box;
|
||||||
|
display: -ms-flexbox;
|
||||||
|
display: flex;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
-webkit-box-direction: normal;
|
||||||
|
-ms-flex-direction: column;
|
||||||
|
flex-direction: column;
|
||||||
|
-webkit-box-pack: justify;
|
||||||
|
-ms-flex-pack: justify;
|
||||||
|
justify-content: space-between;
|
||||||
|
-webkit-box-align: center;
|
||||||
|
-ms-flex-align: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
nav .menu .box {
|
||||||
|
height: 100px;
|
||||||
|
width: 100%;
|
||||||
|
background-color: #fffdfdb4;
|
||||||
|
border-radius: 25px;
|
||||||
|
}
|
||||||
|
|
||||||
|
* {
|
||||||
|
scrollbar-width: auto;
|
||||||
|
scrollbar-color: #ff887a #e6e6e6;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Chrome, Edge, and Safari */
|
||||||
|
*::-webkit-scrollbar {
|
||||||
|
width: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
*::-webkit-scrollbar-track {
|
||||||
|
background: #e6e6e6;
|
||||||
|
}
|
||||||
|
|
||||||
|
*::-webkit-scrollbar-thumb {
|
||||||
|
background-color: #ff887a;
|
||||||
|
border-radius: 10px;
|
||||||
|
border: 3px solid #e6e6e6;
|
||||||
|
}
|
||||||
|
|
||||||
|
section {
|
||||||
|
height: 100vh;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero {
|
||||||
|
background: #242828;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero div {
|
||||||
|
position: absolute;
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero .background {
|
||||||
|
background: #242828 url("/css/res/img/background.png") bottom no-repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero .foreground {
|
||||||
|
background: url("/css/res/img/foreground.png") bottom no-repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero .text {
|
||||||
|
position: fixed;
|
||||||
|
background: url("/css/res/img/text.png") center no-repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
.intro {
|
||||||
|
background: yellow;
|
||||||
|
}
|
||||||
|
/*# sourceMappingURL=main.css.map */
|
8
site/css/main.sass
Normal file
8
site/css/main.sass
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
@import 'abstracts/mixins'
|
||||||
|
@import 'abstracts/variables'
|
||||||
|
@import 'abstracts/reset'
|
||||||
|
|
||||||
|
@import 'components/nav'
|
||||||
|
@import 'components/scrollbar'
|
||||||
|
|
||||||
|
@import 'pages/home'
|
26
site/css/pages/_home.sass
Normal file
26
site/css/pages/_home.sass
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
section
|
||||||
|
height: 100vh
|
||||||
|
|
||||||
|
.hero
|
||||||
|
background: #242828
|
||||||
|
width: 100%
|
||||||
|
// position:
|
||||||
|
|
||||||
|
div
|
||||||
|
position: absolute
|
||||||
|
height: 100%
|
||||||
|
width: 100%
|
||||||
|
|
||||||
|
.background
|
||||||
|
background: #242828 url('/css/res/img/background.png') bottom no-repeat
|
||||||
|
|
||||||
|
.foreground
|
||||||
|
background: url('/css/res/img/foreground.png') bottom no-repeat
|
||||||
|
|
||||||
|
.text
|
||||||
|
position: fixed
|
||||||
|
background: url('/css/res/img/text.png') center no-repeat
|
||||||
|
|
||||||
|
|
||||||
|
.intro
|
||||||
|
background: yellow
|
BIN
site/css/res/fonts/scriptina.ttf
Normal file
BIN
site/css/res/fonts/scriptina.ttf
Normal file
Binary file not shown.
BIN
site/css/res/img/background.png
Normal file
BIN
site/css/res/img/background.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.2 MiB |
BIN
site/css/res/img/foreground.png
Normal file
BIN
site/css/res/img/foreground.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1004 KiB |
BIN
site/css/res/img/text.png
Normal file
BIN
site/css/res/img/text.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 52 KiB |
34
site/index.html
Normal file
34
site/index.html
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Moore Yoga</title>
|
||||||
|
<link rel="stylesheet" href="css/main.css">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<nav>
|
||||||
|
<div class="menu">
|
||||||
|
<div class="box"></div>
|
||||||
|
<div class="box"></div>
|
||||||
|
<div class="box"></div>
|
||||||
|
<div class="box"></div>
|
||||||
|
<div class="box"></div>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<section class="hero">
|
||||||
|
<div class="background"></div>
|
||||||
|
<div class="text">Moore Yoga</div>
|
||||||
|
<div class="foreground"></div>
|
||||||
|
</section>
|
||||||
|
<!-- <section class="intro">
|
||||||
|
<h1>hi! I'm denise</h1>
|
||||||
|
</section>
|
||||||
|
<footer>
|
||||||
|
<p>© 2022 Moore Yoga</p>
|
||||||
|
</footer> -->
|
||||||
|
<script src="app.js"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Reference in New Issue
Block a user