Created karbs instruction page

This commit is contained in:
Kristofers Solo
2022-08-06 19:12:17 +03:00
parent e9ef11bc46
commit 6c00a089fc
16 changed files with 233 additions and 36 deletions

View File

@@ -1,5 +1,25 @@
p {
color: #f0f6fc;
font-size: 20px;
text-align: center;
margin-top: 10px;
}
a {
text-decoration: none;
font-weight: bold;
color: #58a6ff;
}
a:hover {
text-decoration: underline;
}
.center {
margin: 0;
position: absolute;
top: 50%;
left: 50%;
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}

61
static/css/karbs.css Normal file
View File

@@ -0,0 +1,61 @@
main {
border-color: #30363d;
border-style: solid;
border-width: 1px;
max-width: 700px;
color: #f0f6fc;
padding: 50px;
margin: 100px auto 100px auto;
}
hr {
color: #30363d;
}
h1 {
text-align: center;
}
h2 {
margin: 40px 0 0 0;
}
p {
font-size: 18px;
margin: 10px 0;
}
a {
text-decoration: none;
font-weight: bold;
color: #58a6ff;
}
a:hover {
text-decoration: underline;
}
code {
font-family: Consolas, 'courier new';
color: #f0f6fc;
background-color: #393f48;
border-radius: 8px;
padding: 3px;
}
pre code {
background-color: #161b22;
display: block;
padding: 20px;
}
aside {
color: #8b949e;
font-size: 12px;
margin: 10px 0;
font-style: italic;
}
.list {
margin: 10px 40px;
}

View File

@@ -88,7 +88,7 @@ video {
html,
body {
font-family: 'Roboto', sans-serif;
background: #f2f2f2;
background: #0d1117;
}
main {
@@ -98,43 +98,32 @@ main {
/* HEADER */
header ul {
width: 100%;
list-style-type: none;
overflow: hidden;
background-color: #333333;
background-color: #161b22;
position: sticky;
position: -webkit-sticky;
top: 0;
}
header li {
text-align: center;
z-index: 100;
font-weight: bold;
width: 100%;
}
.material-icons {
position: relative;
top: 4px;
font-size: 25px;
}
li {
font-size: 18px;
font-size: 24px;
float: left;
display: inline-block;
width: calc(100% / 2);
}
li a {
header li a {
display: inline-block;
color: #cccccc;
color: #f0f6fc;
padding: 14px 16px;
text-decoration: none;
transition: transform 0.7s ease;
}
li a:hover {
header li a:hover {
text-decoration: none;
color: #fff;
transform: scale(1.05);
color: #b9bbbd;
}
/* FOOTER */
@@ -153,14 +142,14 @@ footer {
bottom: 0;
width: 100%;
height: auto;
background-color: #333333;
color: #666666;
background-color: #161b22;
color: #f0f6fc;
flex-wrap: wrap;
display: flex;
justify-content: space-around;
padding: 8px 0;
}
footer p {
font-size: 16px;
margin: 10px 0;
}