Created
November 24, 2018 15:16
-
-
Save dexiouz/d6d933b1038fc75ebf853d0b4b49b7c8 to your computer and use it in GitHub Desktop.
day74_index.css
This file contains hidden or 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
body{ | |
font-family: Tahoma; | |
color: #444; | |
letter-spacing: 1px; | |
} | |
h1, h2{ | |
font-weight: normal; | |
} | |
#wrapper{ | |
width: 90%; | |
max-width: 960px; | |
margin: 20px auto; | |
border-radius: 6px; | |
box-shadow: 0px 1px 6px rgba(0,0,0,0.2); | |
box-sizing: border-box; | |
padding: 0 0 20px; | |
overflow: hidden; | |
border: 1px solid lightgray; | |
} | |
#page-banner{ | |
background: #eee ; | |
padding: 10px 0; | |
} | |
#page-banner h1, #page-banner p{ | |
width: 100%; | |
text-align: center; | |
margin: 10px 0; | |
} | |
#page-banner input{ | |
width: 90%; | |
max-width: 300px; | |
margin: 20px auto; | |
display: block; | |
padding: 8px; | |
border: 1px solid #ddd; | |
border-radius: 4px; | |
font-size: 16px; | |
color: rgb(68, 68, 68); | |
} | |
#book-list, #add-book, #tabbed-content{ | |
margin: 30px; | |
} | |
#book-list ul, #tabbed-content ul{ | |
list-style-type: none; | |
padding: 0; | |
} | |
#book-list li{ | |
padding: 20px; | |
border-left: 5px solid #ddd; | |
margin: 20px 10px; | |
} | |
#book-list li:hover{ | |
border-color: #9361bf; | |
} | |
.delete{ | |
float: right; | |
background: #c71b2c; | |
padding: 6px; | |
border-radius: 4px; | |
cursor: pointer; | |
color: white; | |
} | |
.delete:hover{ | |
background: rgb(199, 192, 192); | |
color: #c71b2c; | |
border: 1px solid #c71b2c; | |
} | |
#add-book{ | |
width: 400px; | |
margin: 0 auto; | |
} | |
#add-book input{ | |
display: block; | |
margin: 20px 0; | |
padding: 10px; | |
border: 1px solid #ccc; | |
font-size: 16px; | |
border-radius: 4px 0 0 4px; | |
box-sizing: border-box; | |
width: 300px; | |
float: left; | |
} | |
#add-book button{ | |
border: 1px solid #9361bf; | |
background: rgb(199, 192, 192); | |
padding: 10px 20px; | |
font-size: 16px; | |
display: inline-block; | |
margin: 0; | |
border-radius: 0 4px 4px 0; | |
cursor: pointer; | |
width: 100px; | |
float: left; | |
margin: 20px 0; | |
border-left: 0; | |
color: white; | |
} | |
#add-book:after{ | |
content: ''; | |
display: block; | |
clear: both; | |
} | |
#add-book #hide { | |
width: 30px | |
} | |
#add-book label { | |
line-height: 52px | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment