Skip to content

Commit

Permalink
first-build
Browse files Browse the repository at this point in the history
  • Loading branch information
liuboaibc committed Apr 29, 2020
1 parent f44140f commit 9754323
Show file tree
Hide file tree
Showing 122 changed files with 3,369 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Project dependencies
.cache
node_modules

# Build directory
/public
.DS_Store
.idea
/resources
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
# website
kubesphere website

## tip

hugo extend version
6 changes: 6 additions & 0 deletions archetypes/default.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---

Binary file added assets/fonts/Roboto/Roboto-Bold.ttf
Binary file not shown.
Binary file added assets/fonts/Roboto/Roboto-Bold.woff
Binary file not shown.
Binary file added assets/fonts/Roboto/Roboto-Bold.woff2
Binary file not shown.
Binary file added assets/fonts/Roboto/Roboto-BoldItalic.ttf
Binary file not shown.
Binary file added assets/fonts/Roboto/Roboto-BoldItalic.woff
Binary file not shown.
Binary file added assets/fonts/Roboto/Roboto-BoldItalic.woff2
Binary file not shown.
Binary file added assets/fonts/Roboto/Roboto-Italic.ttf
Binary file not shown.
Binary file added assets/fonts/Roboto/Roboto-Italic.woff
Binary file not shown.
Binary file added assets/fonts/Roboto/Roboto-Italic.woff2
Binary file not shown.
Binary file added assets/fonts/Roboto/Roboto-Medium.ttf
Binary file not shown.
Binary file added assets/fonts/Roboto/Roboto-Medium.woff
Binary file not shown.
Binary file added assets/fonts/Roboto/Roboto-Medium.woff2
Binary file not shown.
Binary file added assets/fonts/Roboto/Roboto-MediumItalic.ttf
Binary file not shown.
Binary file added assets/fonts/Roboto/Roboto-MediumItalic.woff
Binary file not shown.
Binary file added assets/fonts/Roboto/Roboto-MediumItalic.woff2
Binary file not shown.
Binary file added assets/fonts/Roboto/Roboto-Regular.ttf
Binary file not shown.
Binary file added assets/fonts/Roboto/Roboto-Regular.woff
Binary file not shown.
Binary file added assets/fonts/Roboto/Roboto-Regular.woff2
Binary file not shown.
103 changes: 103 additions & 0 deletions assets/fonts/Roboto/stylesheet.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
/* BEGIN Regular */
@font-face {
font-family: Roboto;
src: url("./Roboto-Regular.woff2") format("woff2"),
url("./Roboto-Regular.woff") format("woff"),
url('./Roboto-Regular.ttf') format('truetype');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: Roboto;
src: url("./Roboto-Regular.woff2") format("woff2"),
url("./Roboto-Regular.woff") format("woff"),
url('./Roboto-Regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}

/* END Regular */

/* BEGIN Italic */
@font-face {
font-family: Roboto;
src: url("./Roboto-Italic.woff2") format("woff2"),
url("./Roboto-Italic.woff") format("woff"),
url('./Roboto-Italic.ttf') format('truetype');
font-weight: 400;
font-style: italic;
}
@font-face {
font-family: Roboto;
src: url("./Roboto-Italic.woff2") format("woff2"),
url("./Roboto-Italic.woff") format("woff"),
url('./Roboto-Italic.ttf') format('truetype');
font-weight: normal;
font-style: italic;
}

/* END Italic */

/* BEGIN Medium */
@font-face {
font-family: Roboto;
src: url("./Roboto-Medium.woff2") format("woff2"),
url("./Roboto-Medium.woff") format("woff"),
url('./Roboto-Medium.ttf') format('truetype');
font-weight: 500;
font-style: normal;
}

/* END Medium */

/* BEGIN Medium Italic */
@font-face {
font-family: Roboto;
src: url("./Roboto-MediumItalic.woff2") format("woff2"),
url("./Roboto-MediumItalic.woff") format("woff"),
url('./Roboto-MediumItalic.ttf') format('truetype');
font-weight: 500;
font-style: italic;
}

/* END Medium Italic */

/* BEGIN Bold */
@font-face {
font-family: Roboto;
src: url("./Roboto-Bold.woff2") format("woff2"),
url("./Roboto-Bold.woff") format("woff"),
url('./Roboto-Bold.ttf') format('truetype');
font-weight: 700;
font-style: normal;
}
@font-face {
font-family: Roboto;
src: url("./Roboto-Bold.woff2") format("woff2"),
url("./Roboto-Bold.woff") format("woff"),
url('./Roboto-Bold.ttf') format('truetype');
font-weight: bold;
font-style: normal;
}

/* END Bold */

/* BEGIN Bold Italic */
@font-face {
font-family: Roboto;
src: url("./Roboto-BoldItalic.woff2") format("woff2"),
url("./Roboto-BoldItalic.woff") format("woff"),
url('./Roboto-BoldItalic.ttf') format('truetype');
font-weight: 700;
font-style: italic;
}
@font-face {
font-family: Roboto;
src: url("./Roboto-BoldItalic.woff2") format("woff2"),
url("./Roboto-BoldItalic.woff") format("woff"),
url('./Roboto-BoldItalic.ttf') format('truetype');
font-weight: bold;
font-style: italic;
}

/* END Bold Italic */
86 changes: 86 additions & 0 deletions assets/scss/doc.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
@import "variables";
@import "markdown";

body {
background: #eff4f9;
}

.left-div {
position: fixed;
top: 0px;
left: 0px;
width: 280px;
height: 100vh;
background-color: rgb(36, 46, 66);
box-shadow: rgba(101, 125, 149, 0.2) 4px 0px 8px 0px;
overflow-y: auto;
color: rgb(255, 255, 255);
z-index: 2;
transition: left 0.2s ease-in-out;
a {
color: #ffffff;
}
.nav-menu {
ul {
display: none;
padding-left: 20px;
}

.ul-active {
display: block;
}

li {
margin: 5px 0;
}

p {
cursor: pointer;
margin: 5px 0;
svg {
width: 16px;
height: 16px;
margin-top: 1px;
margin-right: 8px;
vertical-align: top;
transform: rotate(-90deg);
transition: all 0.2s ease;
}
.arrow-open {
transform: rotate(0deg);
}
}

.active a {
color: rgb(85, 188, 138);
}
}
}

.middle-div {
position: relative;
margin-left: 280px;

.header-div {
.logo {
height: 32px;
}
}

.content-div {
padding: 20px;
margin-right: 260px;
}

.menu-div {
position: fixed;
top: 0px;
right: 0px;
width: 240px;
padding: 10px;
height: 100vh;
overflow-y: auto;
font-size: 12px;
box-shadow: rgb(213, 222, 231) -1px 0px 0px 0px;
}
}
49 changes: 49 additions & 0 deletions assets/scss/docs.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
.logo {
height: 32px;
}

.header-div {
max-width: 1160px;
margin: 0px auto;
text-align: center;

.list-div {
text-align: left;
margin-top: 80px;

ul {
li {
margin-bottom: 10px;

h3 {
position: relative;
margin-bottom: 0px;
font-size: 16px;
font-weight: 600;
line-height: 1.75;
color: rgb(48, 62, 90);
}

p {
font-size: 12px;
line-height: 2;
letter-spacing: 0.4px;
color: rgb(101, 125, 149);
margin-bottom: 4px;

a {
display: inline-block;
padding-right: 20px;
margin: 4px 20px 4px 0px;
border-right: 1px solid rgb(213, 222, 231);
}

a:last-of-type {
padding-right: 0px;
border-right: none;
}
}
}
}
}
}
10 changes: 10 additions & 0 deletions assets/scss/else.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
html {
background-color: #f5f8f9;
}

.bg-1 {
position: absolute;
top: 0;
right: 0;
z-index: -1;
}
52 changes: 52 additions & 0 deletions assets/scss/footer.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
.footer {
width: 100%;
padding: 118px 0;

& > .footer-main {
width: 1160px;
margin: 0 auto;

& > .up-main {
& > div {
display: inline-block;
vertical-align: top;
}
.left-div {
width: 360px;

.foot-logo {
height: 32px;
}
}
.right-div {
width: 720px;
margin-left: 60px;

& > ul {
li {
display: inline-block;
margin-right: 60px;
vertical-align: top;
}
li:last-child {
margin-right: 0;
}
}

.h3 {
font-weight: 600;
line-height: 1.5;
color: #171c34;
margin-bottom: 10px;
}

a {
display: block;
line-height: 2;
color: #919aa3;
font-family: $font-family-id;
}
}
}
}
}
Loading

0 comments on commit 9754323

Please sign in to comment.