style: all files now match prettier conf

This commit is contained in:
Ravinou 2023-09-10 15:58:08 +02:00
parent 8198c5462b
commit ddc5229136
No known key found for this signature in database
GPG key ID: EEEE670C40F6A4D7
6 changed files with 230 additions and 198 deletions

View file

@ -3,7 +3,9 @@
display: flex;
justify-content: space-between;
align-items: center;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
box-shadow:
0 1px 3px rgba(0, 0, 0, 0.12),
0 1px 2px rgba(0, 0, 0, 0.24);
width: auto;
max-height: 65px;
margin: 20px 0px 0px 0px;
@ -29,7 +31,9 @@
flex-direction: column;
justify-content: space-between;
align-items: center;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
box-shadow:
0 1px 3px rgba(0, 0, 0, 0.12),
0 1px 2px rgba(0, 0, 0, 0.24);
width: auto;
max-height: 200px;
margin: 20px 0px 0px 0px;
@ -183,7 +187,9 @@
margin: 0px 0 0 20px;
opacity: 1;
transition: 0.5s opacity;
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
box-shadow:
0 3px 6px rgba(0, 0, 0, 0.16),
0 3px 6px rgba(0, 0, 0, 0.23);
overflow: auto;
}

View file

@ -1,23 +1,21 @@
//Lib
import classes from "./Header.module.css";
import classes from './Header.module.css';
//Components
import Nav from "./Nav/Nav";
import Nav from './Nav/Nav';
function Header() {
return (
<header className={classes.Header}>
<div className={[classes.flex, 'container'].join(' ')}>
<div className={classes.logo}>
BorgWarehouse
</div>
<div className={classes.logo}>BorgWarehouse</div>
<nav>
<Nav />
</nav>
</div>
</header>
)
);
}
export default Header;

View file

@ -1,7 +1,9 @@
.Header {
width: 100%;
background: #111827;
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
box-shadow:
0 3px 6px rgba(0, 0, 0, 0.16),
0 3px 6px rgba(0, 0, 0, 0.23);
height: 50px;
color: white;
display: flex;

View file

@ -51,7 +51,9 @@
opacity: 0;
transform: scale(1);
pointer-events: none;
transition: opacity 0.3s 0.1s, transform 0.2s 0.1s;
transition:
opacity 0.3s 0.1s,
transform 0.2s 0.1s;
}
/* Span */
@ -75,7 +77,9 @@
height: 14px;
background-color: rgba(var(--pure-material-onsurface-rgb, 0, 0, 0), 0.38);
vertical-align: top;
transition: background-color 0.2s, opacity 0.2s;
transition:
background-color 0.2s,
opacity 0.2s;
}
/* Thumb */
@ -88,9 +92,13 @@
width: 20px;
height: 20px;
background-color: rgb(var(--pure-material-onprimary-rgb, 255, 255, 255));
box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2),
0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
transition: background-color 0.2s, transform 0.2s;
box-shadow:
0 3px 1px -2px rgba(0, 0, 0, 0.2),
0 2px 2px 0 rgba(0, 0, 0, 0.14),
0 1px 5px 0 rgba(0, 0, 0, 0.12);
transition:
background-color 0.2s,
transform 0.2s;
}
/* Checked */
@ -112,7 +120,9 @@
.pureMaterialSwitch > input:active {
opacity: 1;
transform: scale(0);
transition: transform 0s, opacity 0s;
transition:
transform 0s,
opacity 0s;
}
.pureMaterialSwitch > input:active + span::before {

View file

@ -1,6 +1,8 @@
.container {
margin: 40px 20px 20px 5px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
box-shadow:
0 1px 3px rgba(0, 0, 0, 0.12),
0 1px 2px rgba(0, 0, 0, 0.24);
border-radius: 5px;
text-align: left;
padding: 30px 70px;
@ -54,8 +56,15 @@ h1 .icon {
.code {
background-color: #111827;
color: #f8f8f2;
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
liberation mono, courier new, monospace;
font-family:
ui-monospace,
SFMono-Regular,
Menlo,
Monaco,
Consolas,
liberation mono,
courier new,
monospace;
padding: 5px 15px;
border-radius: 5px;
display: inline-block;
@ -91,8 +100,15 @@ h1 .icon {
.verifyOrange li .sshPublicKey {
background-color: #282a36;
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
liberation mono, courier new, monospace;
font-family:
ui-monospace,
SFMono-Regular,
Menlo,
Monaco,
Consolas,
liberation mono,
courier new,
monospace;
border-radius: 5px;
padding: 5px;
}