Files
drags-and-nerds/v1-com-officielle/src/assets/style.css
T
vgaNAR6ta 7c6e33d624 tunnel: intiation de la com officielle
major_edits: mail dans liens + graff overlay + simple click dans panneau 
'à propos'
2026-04-04 02:04:40 +02:00

343 lines
6.3 KiB
CSS

/*=============Gamme colorée*/
:root[data-theme="dark"]{
--back-color: black;
--main-color: white;
--accent-color: #3CFF00;
--neon-color: #3CFF00;
}
:root[data-theme="light"]{
--back-color: white;
--main-color: black;
--accent-color: #C303FF;
--neon-color: black;
}
/*=============Typo*/
@font-face {
font-family: 'lineal';
src: url('./typo/Lineal-Heavy.ttf');
}
@font-face {
font-family: 'pressStart2P';
src: url('./typo/PressStart2P-Regular.ttf');
}
@font-face {
font-family: 'velvelyne';
src: url('./typo/Velvelyne-Light.ttf') format('truetype');
font-weight:lighter;
}
@font-face {
font-family: 'velvelyne';
src:url('./typo/Velvelyne-Bold.ttf') format('truetype');
font-weight: bold;
}
/*===================Animation*/
@keyframes blink {
0% { color: var(--accent-color);}
15% { color: var(--main-color);}
35% { color: var(--main-color);}
50% { color: var(--accent-color);}
65% { color: var(--main-color);}
85% { color: var(--main-color);}
100% { color: var(--accent-color);}
}
@keyframes blinkBack {
0% { background-color: var(--accent-color);}
15% { background-color: var(--main-color);}
35% { background-color: var(--main-color);}
50% { background-color: var(--accent-color);}
65% { background-color: var(--main-color);}
85% { background-color: var(--main-color);}
100% { background-color: var(--accent-color);}
}
@keyframes float {
0% { transform: translateY(0px); }
35% { transform: translateY(1px); }
50% { transform: translateY(-10px); }
65% { transform: translateY(1px); }
100% { transform: translateY(0px); }
}
/*=============Désact défault*/
input {
-webkit-appearance: none !important;
appearance: none !important;
}
a{
text-decoration: none;
color: inherit;
cursor: alias;
}
button{
cursor: cell;
}
a p{
cursor:inherit;
}
a button{
cursor: inherit;
}
p{
pointer-events: none;
cursor: inherit;
}
/*=====================Référencement*/
.referenceText{
position:absolute;
z-index: -33;
color: var(--back-color);
}
/*=============Body & background*/
html, body{
margin: 0;
padding: 0;
position: absolute;
background-color: var(--back-color);
width: 100%;
height:100%;
position: fixed;
inset: 0;
overflow-x: hidden;
display: block;
scrollbar-color: var(--main-color) transparent;
scrollbar-width: thin;
}
canvas {
display: block;
max-width: 100%;
position: fixed;
margin: 0 auto;
padding: 0;
/* margin-top: 0vh; */
text-align: center;
/* height: 100vh; */
}
.dg{
display: none !important;
height: 0;
overflow: hidden;
}
/*================= Mise en page:
=> Mobile First : par défaut, moins de 500px
=> Tablette et PC format haut : de 500 à 1000px
=> PC large : à partir de 1000px
*/
/*+++++++++++++++++ COPYBOX
================ PC HAUT/IPAD
@media(min-width:500px){}
================ PC LARGE
@media(min-width:1000px){}
*/
/*=============Vue root app */
#app{
position:absolute;
inset:0;
width:100%;
height: 100%;
overflow-y: scroll;
overflow-x: hidden;
cursor: crosshair;
}
/*=============Classes générales*/
/*==============Main UI*/
.uiStyle{
background-color: var(--back-color);
border-style: solid;
border-color: var(--main-color);
border-width: thin;
border-radius: 0;
position: relative;
z-index: 0;
}
.icon{
width: 16.1px;
height: auto;
fill: currentColor;
pointer-events: none;
}
.iconBtnStyle{
background-color: var(--back-color);
color: var(--main-color);
border-color: var(--main-color);
border-width: thin;
border-style: solid;
border-radius: 16.1px;
display: flex;
justify-content: space-around;
align-items: center;
}
.iconBtnStyle:hover{
background-color: var(--main-color);
color: var(--back-color);
border-color: var(--back-color);
}
.textBtnStyle{
background-color: var(--back-color);
color: var(--main-color);
font-size: 13.12px;
font-family: 'lineal';
border-color: var(--main-color);
border-width: thin;
border-style: solid;
border-radius: 16.1px;
display: flex;
justify-content: space-around;
align-items: center;
}
.textBtnStyle:hover{
background-color: var(--main-color);
color: var(--back-color);
border-color: var(--back-color);
}
/*================ PC LARGE*/
@media(min-width:1000px){
.textBtnStyle{
font-size: 16.1px;
}
}
/*==================Reaction Bar for indi pannels*/
.reactBar{
margin-left: 3.33%;
width: 77%;
display: flex;
flex-direction: row;
align-items: center;
justify-content: flex-start;
font-family: 'lineal';
font-weight: normal;
color: var(--main-color);
padding: 0;
}
.reactBar .reactStatStyle{
text-align: center;
width: 33px;
padding-right: 0;
}
.reactBar .icon{
height: 16.1px;
width: auto;
margin-top: 0;
}
.reactBar .iconBtnStyle{
height: 33px;
width: 33px;
border-radius: 33px;
}
.reactBar .textBtnStyle{
height: 33px;
width: 130px;
}
.reactedStyle{
color: var(--accent-color);
}
/*==============Window*/
.windowStyle{
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
background-color: var(--back-color);
border-style: solid;
border-width: thin;
border-radius: 21px;
border-color: var(--main-color);
overflow: hidden;
}
.zBase{
z-index: 33;
}
.zFocus{
z-index: 1312;
border-color: var(--accent-color);
border-width: thick;
}
.windowTitle{
width:100%;
height:50px;
background-color: var(--main-color);
border-radius: 0;
font-family: 'lineal';
font-size: 16.1px;
color: var(--back-color);
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
box-sizing: border-box;
padding-left: 10px;
padding-right: 10px;
cursor: move;
}
.windowTitleLower{
font-family: 'velvelyne';
font-weight: bold;
font-size: 13.12px;
}
.closeBtn{
color: var(--back-color);
background-color: var(--main-color);
border-style: solid;
border-width: thin;
border-radius: 16.1px;
border-color: var(--back-color);
width: 50px;
height: 33px;
align-items: center;
}
.closeBtn:hover{
color: var(--main-color);
background-color: var(--back-color);
}
.windowContent{
height:77%;
width:100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
}
/*==========================Moveable*/
.moveable-control-box {
display: none !important;
}