-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from Salwa99/styling
Bookstore: styling
- Loading branch information
Showing
12 changed files
with
348 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,255 @@ | ||
.App { | ||
text-align: center; | ||
* { | ||
box-sizing: border-box; | ||
margin: 0; | ||
padding: 0; | ||
font-family: sans-serif; | ||
} | ||
|
||
body { | ||
background-color: rgb(236, 236, 236); | ||
padding: 5%; | ||
} | ||
|
||
.main { | ||
padding: 3%; | ||
background: rgb(255, 255, 255); | ||
} | ||
|
||
.navbar { | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-between; | ||
padding: 1% 3%; | ||
padding-bottom: 5%; | ||
width: 100%; | ||
height: 100%; | ||
border-bottom: 1px solid rgb(211, 205, 205); | ||
cursor: pointer; | ||
background: rgb(255, 255, 255); | ||
} | ||
|
||
.navbar .logo-links, | ||
ul { | ||
display: flex; | ||
gap: 25px; | ||
align-items: center; | ||
} | ||
|
||
a { | ||
color: #313030; | ||
text-decoration: none; | ||
cursor: pointer; | ||
} | ||
|
||
.avatar { | ||
width: 50px; | ||
height: 50px; | ||
border-radius: 50%; | ||
border: 2px solid grey; | ||
} | ||
|
||
.navbar .logo-links ul { | ||
list-style: none; | ||
} | ||
|
||
.logo { | ||
color: rgb(47, 136, 238); | ||
font-size: 2.5rem; | ||
font-weight: bolder; | ||
} | ||
|
||
.App-logo { | ||
height: 40vmin; | ||
pointer-events: none; | ||
.main-container { | ||
display: flex; | ||
justify-content: space-between; | ||
margin: 2% 5%; | ||
padding: 3%; | ||
border: 2px solid rgb(218, 212, 212); | ||
border-radius: 10px; | ||
} | ||
|
||
@media (prefers-reduced-motion: no-preference) { | ||
.App-logo { | ||
animation: App-logo-spin infinite 20s linear; | ||
} | ||
.info { | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
width: 100%; | ||
padding-right: 9%; | ||
} | ||
|
||
.App-header { | ||
background-color: #282c34; | ||
min-height: 100vh; | ||
.info1 { | ||
display: flex; | ||
flex-direction: column; | ||
gap: 20px; | ||
} | ||
|
||
.category { | ||
font-size: 0.8rem; | ||
font-weight: bolder; | ||
color: rgb(133, 128, 128); | ||
} | ||
|
||
.title { | ||
font-size: 1.8rem; | ||
} | ||
|
||
button { | ||
cursor: pointer; | ||
} | ||
|
||
.author, | ||
.buttons button { | ||
font-size: 0.9rem; | ||
color: rgb(94, 197, 245); | ||
} | ||
|
||
.buttons button { | ||
background: #fff; | ||
padding: 0 10px; | ||
border: none; | ||
border-left: 1px solid rgb(134, 139, 141); | ||
} | ||
|
||
.construction-container button { | ||
width: 200px; | ||
font-size: 1.5rem; | ||
font-weight: bolder; | ||
padding: 1%; | ||
color: rgb(37, 144, 214); | ||
background: rgb(255, 255, 255); | ||
border: 3px solid rgb(37, 144, 214); | ||
border-radius: 12px; | ||
} | ||
|
||
.buttons button:first-child { | ||
border-left: none; | ||
padding-left: 0; | ||
} | ||
|
||
.main-circle { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
} | ||
|
||
.main-circle h3, | ||
p { | ||
font-size: 1.5rem; | ||
font-weight: 300; | ||
} | ||
|
||
.box { | ||
width: 100%; | ||
height: 100%; | ||
display: flex; | ||
justify-content: center; | ||
font-size: calc(10px + 2vmin); | ||
align-items: center; | ||
} | ||
|
||
.circle svg { | ||
position: relative; | ||
width: 110px !important; | ||
height: 80px; | ||
} | ||
|
||
.circle svg circle { | ||
transform: translate(5px, 5px); | ||
} | ||
|
||
.info2 { | ||
display: flex; | ||
flex-direction: column; | ||
gap: 15px; | ||
border-left: 2px solid #ccc; | ||
padding-left: 5%; | ||
} | ||
|
||
.current { | ||
color: rgb(136, 137, 138); | ||
font-size: 0.8rem; | ||
} | ||
|
||
.chapter { | ||
color: rgb(49, 50, 51); | ||
} | ||
|
||
.update { | ||
border: none; | ||
width: 200px; | ||
padding: 5%; | ||
color: white; | ||
font-size: 0.9rem; | ||
background: rgb(28, 172, 230); | ||
} | ||
|
||
.App-link { | ||
color: #61dafb; | ||
.main-container2 { | ||
margin: 5%; | ||
} | ||
|
||
@keyframes App-logo-spin { | ||
from { | ||
transform: rotate(0deg); | ||
} | ||
.add-new { | ||
margin: 15px 0; | ||
font-size: 1.4rem; | ||
border-top: 2px solid rgb(218, 221, 223); | ||
padding-top: 20px; | ||
color: rgb(156, 155, 155); | ||
} | ||
|
||
form { | ||
display: flex; | ||
align-items: center; | ||
gap: 10px; | ||
} | ||
|
||
form input[type=text], | ||
select, | ||
.addBtn { | ||
height: 50px; | ||
width: 450px; | ||
text-align: center; | ||
font-size: 1rem; | ||
border: 1px solid #ccc; | ||
color: rgb(39, 37, 37); | ||
-webkit-transition: 0.5s; | ||
transition: 0.5s; | ||
outline: none; | ||
} | ||
|
||
form input[type=text]:focus { | ||
border: 1px solid rgb(31, 174, 199); | ||
} | ||
|
||
.addBtn { | ||
width: 30%; | ||
background: rgb(59, 155, 219); | ||
color: rgb(255, 255, 255); | ||
font-weight: bolder; | ||
border: none; | ||
} | ||
|
||
.construction-container { | ||
background: rgb(255, 255, 255); | ||
padding: 3%; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
gap: 30px; | ||
} | ||
|
||
.construction-container button:hover { | ||
background: rgb(37, 144, 214); | ||
color: rgb(255, 250, 250); | ||
} | ||
|
||
.construction-container img { | ||
width: 50%; | ||
height: 30%; | ||
} | ||
|
||
to { | ||
transform: rotate(360deg); | ||
} | ||
.construction-container p { | ||
font-size: 2rem; | ||
font-weight: bolder; | ||
color: rgb(255, 255, 255); | ||
text-shadow: | ||
-2px 1px 0 rgb(37, 144, 214), | ||
1px 1px 0 rgb(37, 144, 214), | ||
1px -1px 0 rgb(37, 144, 214), | ||
-2px -1px 0 rgb(37, 144, 214); | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.