Old high school files. Lessson notes/codes/projects etc.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

163 lines
2.2 KiB

* {
color: #feeaea;
box-sizing: border-box;
}
html {
background: linear-gradient(#822, #800);
}
3 years ago
body {
margin: 0;
3 years ago
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
hr {
width: 95vw;
color: #000;
}
nav ul {
display: flex;
flex-direction: row;
list-style-type: none;
}
nav ul li {
margin: .2rem;
padding: .1rem;
}
nav ul li a {
font-size: 1.2rem;
}
.error {
color: #fa1111;
}
3 years ago
.persons-container {
display: flex;
flex-wrap: wrap;
}
3 years ago
.person {
3 years ago
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-template-rows: 1fr 1fr;
grid-template-areas:
"in in av"
"in in av"
3 years ago
;
width: 400px;
margin: 1rem;
background-color: #0004;
border-radius: 20px;;
}
.person ul {
padding: 0;
3 years ago
}
.avatar, .avatar2 {
width: 82px;
height: 82px;
object-fit: scale-down;
border: solid 2px #222;
border-radius: 64px;
background: linear-gradient(-45deg, #abc, #000);
3 years ago
grid-area: av;
margin: auto 1rem;
}
.avatar2 {
width: 64px;
height: 64px;
border-radius: 32px;
}
.user {
position: absolute;
right: 0.5rem;
top: 0.5rem;
display: flex;
flex-direction: row-reverse;
}
.logininfo {
margin: auto;
font-size: 1.2rem;
3 years ago
}
.info {
grid-area: in;
margin-left: 1rem;
3 years ago
}
.person ul {
list-style-type: none;
}
.person label {
font-weight: bold;
3 years ago
}
form {
display: flex;
flex-direction: column;
gap: 1rem;
margin: 2rem 5rem;
}
input {
appearance: none;
padding: .2rem;
border-radius: .1rem;
border: 2px solid #000;
background: #000a;
color: #fff;
font-size: 1.4rem;
}
a {
color: #88f;
transition-duration: opacity 100ms;
}
a:hover {opacity: .8;}
.button, select, button, input[type=submit], input[type=button] {
background: linear-gradient(45deg, #000, #222);
border-radius: .1rem;
padding: .2rem .4rem;
text-decoration: none;
color: #fff;
cursor: pointer;
transition: opacity 100ms;
}
.button:hover, select:hover, button:hover, input[type=submit]:hover, input[type=button]:hover {
opacity: .8;
}
.calc-wrapper {
padding: 2rem;
display: grid;
grid-template-columns: 1fr;
grid-template-areas: 2fr 1fr;
grid-template-areas: "ca hi";
}
.calculator {grid-area: ca;}
.calculator form {
display: flex;
flex-direction: row;
}
.calculator input {
font-size: 0.8rem;
}
.history {grid-area: hi;}