new colours
This commit is contained in:
parent
98becc2af2
commit
92e9ec266f
27
css/main.css
27
css/main.css
@ -1,10 +1,20 @@
|
|||||||
|
|
||||||
|
:root {
|
||||||
|
--main-bg-color: #eadeda;
|
||||||
|
--panel-bg-color: #820263;
|
||||||
|
--panel-link-color: #8d1971;
|
||||||
|
--panel-sub-color: #98307f;
|
||||||
|
--content-text-color: #25283d;
|
||||||
|
--content-accent-color: #d90368;
|
||||||
|
--content-bg-color: #ebebed;
|
||||||
|
}
|
||||||
|
|
||||||
canvas {
|
canvas {
|
||||||
display:block;
|
display:block;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
margin:0;
|
margin:0;
|
||||||
padding:0;
|
padding:0;
|
||||||
background-color: rgba(130, 130, 238, 0.299);
|
background-color: var(--main-bg-color);
|
||||||
z-index: -1;
|
z-index: -1;
|
||||||
top:0;
|
top:0;
|
||||||
}
|
}
|
||||||
@ -28,7 +38,7 @@ body{
|
|||||||
padding:0;
|
padding:0;
|
||||||
height:100%;
|
height:100%;
|
||||||
|
|
||||||
background-color: rgba(130, 130, 238, 0.299);
|
background-color: var(--main-bg-color);
|
||||||
|
|
||||||
-webkit-animation: fadein 1s; /* Safari, Chrome and Opera > 12.1 */
|
-webkit-animation: fadein 1s; /* Safari, Chrome and Opera > 12.1 */
|
||||||
-moz-animation: fadein 1s; /* Firefox < 16 */
|
-moz-animation: fadein 1s; /* Firefox < 16 */
|
||||||
@ -55,7 +65,7 @@ article {
|
|||||||
.about{
|
.about{
|
||||||
width:30vw;
|
width:30vw;
|
||||||
height:100vh;
|
height:100vh;
|
||||||
background-color:#3f32ca;
|
background-color:var(--panel-bg-color);
|
||||||
font-family: 'Germania One', cursive;
|
font-family: 'Germania One', cursive;
|
||||||
color:white;
|
color:white;
|
||||||
|
|
||||||
@ -98,17 +108,18 @@ article {
|
|||||||
.content-box{
|
.content-box{
|
||||||
max-width:50vw;
|
max-width:50vw;
|
||||||
margin:auto;
|
margin:auto;
|
||||||
background-color: rgb(233, 233, 255);
|
background-color: var(--content-bg-color);
|
||||||
|
color: var(--content-text-color);
|
||||||
padding:10px;
|
padding:10px;
|
||||||
border-radius:10px;
|
border-radius:10px;
|
||||||
text-align:center;
|
text-align:center;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-color: #3f32ca;
|
border-color: var(--content-accent-color);
|
||||||
border-width: 5px;
|
border-width: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
dashed{
|
dashed{
|
||||||
color: #3f32ca;
|
color: var(--content-accent-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
.content-box-wrapper{
|
.content-box-wrapper{
|
||||||
@ -160,13 +171,13 @@ h1{
|
|||||||
|
|
||||||
.subtitle{
|
.subtitle{
|
||||||
font-size: calc(1vw * 2);
|
font-size: calc(1vw * 2);
|
||||||
color:#6b63ca;
|
color:var(--panel-sub-color);
|
||||||
margin:0;
|
margin:0;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:hover, a:visited, a:link, a:active, a:any-link{
|
a:hover, a:visited, a:link, a:active, a:any-link{
|
||||||
text-decoration: none !important;
|
text-decoration: none !important;
|
||||||
color:#5348ca;
|
color:var(--panel-link-color);
|
||||||
margin:40;
|
margin:40;
|
||||||
margin-right:0;
|
margin-right:0;
|
||||||
}
|
}
|
||||||
|
@ -14,6 +14,7 @@ async function slideup(){
|
|||||||
await sleep(1000);
|
await sleep(1000);
|
||||||
}
|
}
|
||||||
blank.style = "display:none!important;overflow: hidden; position:fixed; ";
|
blank.style = "display:none!important;overflow: hidden; position:fixed; ";
|
||||||
|
window.location = "#"
|
||||||
|
|
||||||
console.log("slide");
|
console.log("slide");
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ document.addEventListener('DOMContentLoaded', function () {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"color": {
|
"color": {
|
||||||
"value": "#0000ac"
|
"value": "#d90368"
|
||||||
},
|
},
|
||||||
"shape": {
|
"shape": {
|
||||||
"type": "circle",
|
"type": "circle",
|
||||||
@ -50,7 +50,7 @@ document.addEventListener('DOMContentLoaded', function () {
|
|||||||
"line_linked": {
|
"line_linked": {
|
||||||
"enable": true,
|
"enable": true,
|
||||||
"distance": 150,
|
"distance": 150,
|
||||||
"color": "#235eca",
|
"color": "#d90368",
|
||||||
"opacity": 0.4,
|
"opacity": 0.4,
|
||||||
"width": 1
|
"width": 1
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user