code++
This commit is contained in:
247
style.css
247
style.css
@@ -1,128 +1,121 @@
|
||||
/* Header */
|
||||
|
||||
.header {
|
||||
|
||||
background-color: #d6ab00;
|
||||
|
||||
padding: 1rem;
|
||||
|
||||
display: flex;
|
||||
|
||||
justify-content: space-between;
|
||||
|
||||
align-items: center;
|
||||
|
||||
/* position: fixed; */
|
||||
|
||||
top: 0;
|
||||
|
||||
left: 0;
|
||||
|
||||
right: 0;
|
||||
|
||||
z-index: 999;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
.nav {
|
||||
|
||||
list-style-type: none;
|
||||
|
||||
margin: 0;
|
||||
|
||||
padding: 0;
|
||||
|
||||
overflow: hidden;
|
||||
|
||||
background-color: transparent;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
.nav li {
|
||||
|
||||
float: left;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
.nav a {
|
||||
|
||||
color: white;
|
||||
|
||||
text-align: center;
|
||||
|
||||
padding: 14px 16px;
|
||||
|
||||
text-decoration: none;
|
||||
|
||||
transition: all 0.3s ease 0s;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
.nav a:hover {
|
||||
|
||||
color: black;
|
||||
|
||||
font-weight: bold;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Title */
|
||||
|
||||
h1 {
|
||||
|
||||
text-align: center;
|
||||
|
||||
font-size: xx-large;
|
||||
|
||||
font-family: Arial, sans-serif;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Main Text */
|
||||
|
||||
.container {
|
||||
|
||||
max-width: 80%;
|
||||
|
||||
margin: auto;
|
||||
|
||||
padding: 2rem;
|
||||
|
||||
line-height: 1.5;
|
||||
|
||||
font-size: medium;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Footer */
|
||||
|
||||
footer {
|
||||
|
||||
background-color: #3e3e3e;
|
||||
|
||||
color: white;
|
||||
|
||||
text-align: center;
|
||||
|
||||
padding: 1rem;
|
||||
|
||||
position: absolute;
|
||||
|
||||
bottom: 0;
|
||||
|
||||
width: 100%;
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
body {
|
||||
--cl-base: #363062;
|
||||
--cl-text-main: #FCFAF9;
|
||||
--cl-text-code: #CEA0AE;
|
||||
--cl-text-code-bg: #181818;
|
||||
--cl-accent: #F99417;
|
||||
--cl-selector: #48E5C2;
|
||||
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
||||
|
||||
background-color: var(--cl-base);
|
||||
}
|
||||
|
||||
/* Header */
|
||||
.header {
|
||||
background-color: var(--cl-accent);
|
||||
color: var(--cl-text-main);
|
||||
|
||||
padding: 1rem;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 999;
|
||||
}
|
||||
|
||||
.nav {
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.nav li {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.nav a {
|
||||
color: var(--cl-text-main);
|
||||
text-align: center;
|
||||
|
||||
padding: 14px 16px;
|
||||
text-decoration: none;
|
||||
transition: all 0.3s ease 0s;
|
||||
}
|
||||
|
||||
|
||||
.nav a:hover {
|
||||
color: var(--cl-selector);
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
|
||||
/* Title */
|
||||
h1 {
|
||||
text-align: center;
|
||||
font-size: 4em;
|
||||
color: var(--cl-text-main);
|
||||
/* background-color: var(--cl-selector); */
|
||||
|
||||
margin-top: 1em;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
h2 {
|
||||
text-align: center;
|
||||
font-size: 2em;
|
||||
color: var(--cl-text-main);
|
||||
/* background-color: var(--cl-selector); */
|
||||
|
||||
margin-top: 1em;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
|
||||
/* Main Text */
|
||||
.container {
|
||||
max-width: 60%;
|
||||
margin: auto;
|
||||
margin-top: 0;
|
||||
margin-bottom: 2em;
|
||||
padding: 2rem;
|
||||
|
||||
line-height: 1.5;
|
||||
color: var(--cl-text-main);
|
||||
font-size: 2em;
|
||||
word-wrap: break-word;
|
||||
|
||||
/* background-color: var(--cl-selector); */
|
||||
}
|
||||
|
||||
|
||||
code {
|
||||
color: var(--cl-text-code);
|
||||
background-color: var(--cl-text-code-bg);
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
|
||||
/* Footer */
|
||||
footer {
|
||||
display: block;
|
||||
background-color: var(--cl-accent);
|
||||
color: var(--cl-text-main);
|
||||
text-align: center;
|
||||
margin: auto;
|
||||
padding-bottom: 0.2em;
|
||||
padding-top: 0;
|
||||
|
||||
/* position: absolute;
|
||||
right:0;
|
||||
bottom: 0; */
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user