mirror of
https://github.com/FranP-code/my-library.git
synced 2025-10-13 00:02:52 +00:00
139 lines
2.8 KiB
CSS
139 lines
2.8 KiB
CSS
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
|
|
min-width: 300px;
|
|
}
|
|
|
|
header {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
header h1 {
|
|
background-color: #0099ff;
|
|
margin: 0;
|
|
padding-top: 3vh;
|
|
padding-bottom: 3vh;
|
|
color: #fff;
|
|
text-align: center;
|
|
user-select: none;
|
|
}
|
|
|
|
#root {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
#root #library {
|
|
min-height: 50vh;
|
|
width: 100%;
|
|
max-width: calc(250px * 4);
|
|
padding: 5vh 5vw;
|
|
display: flex;
|
|
justify-content: space-around;
|
|
flex-wrap: wrap;
|
|
}
|
|
#root #library .book {
|
|
background-color: #E3FDFD;
|
|
font-family: "Times New Roman", Times, serif;
|
|
width: 236px;
|
|
padding: 123px 0vw;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
margin-bottom: 5vh;
|
|
}
|
|
#root #library .book h3 {
|
|
margin: 0;
|
|
text-align: center;
|
|
}
|
|
#root #library .book h5 {
|
|
margin: 0;
|
|
text-align: center;
|
|
margin-bottom: 2vh;
|
|
}
|
|
#root #library .book h4 {
|
|
margin: 0;
|
|
text-align: center;
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
|
|
margin-bottom: 1vh;
|
|
}
|
|
#root #library .book button {
|
|
height: 3vh;
|
|
width: 80%;
|
|
max-width: 126px;
|
|
margin-top: 0.5vh;
|
|
user-select: none;
|
|
}
|
|
#root #library .book button.delete {
|
|
background-color: #F38181;
|
|
border: none;
|
|
border: 1px solid #ff7575;
|
|
border-radius: 2px;
|
|
}
|
|
#root #library .book button.not-readed {
|
|
background-color: #FCE38A;
|
|
border: none;
|
|
border: 1px solid #ffe587;
|
|
border-radius: 2px;
|
|
}
|
|
#root #library .book button.readed {
|
|
background-color: #95E1D3;
|
|
border: none;
|
|
border: 1px solid #77ffe6;
|
|
border-radius: 2px;
|
|
}
|
|
#root .add-new-book {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
#root .add-new-book h2 {
|
|
width: 70%;
|
|
padding-bottom: 1vh;
|
|
text-align: center;
|
|
border-bottom: 1px solid #393E46;
|
|
user-select: none;
|
|
}
|
|
#root .add-new-book form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
#root .add-new-book form input {
|
|
width: 40vw;
|
|
height: 4vh;
|
|
margin-bottom: 1vh;
|
|
box-sizing: content-box;
|
|
outline: none;
|
|
padding: 0;
|
|
color: #fff;
|
|
}
|
|
#root .add-new-book form input::placeholder {
|
|
color: #c9c9c9;
|
|
user-select: none;
|
|
}
|
|
#root .add-new-book form input[type=text] {
|
|
background-color: #222831;
|
|
border: none;
|
|
border: 1px solid #002153;
|
|
border-radius: 2px;
|
|
}
|
|
#root .add-new-book form input[type=number] {
|
|
background-color: #393E46;
|
|
border: none;
|
|
border: 1px solid #00317f;
|
|
border-radius: 2px;
|
|
}
|
|
#root .add-new-book form input[type=submit] {
|
|
background-color: #00ADB5;
|
|
border: none;
|
|
border: 1px solid #00adb5;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
footer {
|
|
padding: 5vh 0vw 2vh 2vw;
|
|
}
|
|
|
|
/*# sourceMappingURL=style.css.map */
|