-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Кужелев Евгений #29
base: master
Are you sure you want to change the base?
Кужелев Евгений #29
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,117 @@ | ||
html, | ||
body, | ||
div, | ||
img, | ||
a, | ||
p | ||
{ | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
body | ||
{ | ||
padding: 20px; | ||
} | ||
|
||
.display-type | ||
{ | ||
height: 40px; | ||
width: 100%; | ||
} | ||
|
||
input | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. не обязательно для всех input'ов страницы должно быть |
||
{ | ||
display: none; | ||
} | ||
|
||
.display-type label img | ||
{ | ||
margin: 0 20px; | ||
float: right; | ||
display: inline-block; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ты уж реши, тебе float'ами ровнять в строку надо или inline-block'ами?) Совмещать не вижу смысла |
||
width: 2%; | ||
} | ||
|
||
.kisa | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. не называй транслитом |
||
{ | ||
font-size: .7rem; | ||
vertical-align: top; | ||
margin: 15px; | ||
padding: 15px; | ||
border: 5px ridge #d3e2ed; | ||
} | ||
|
||
input[id='tile']:checked ~ .kisa | ||
{ | ||
width: 250px; | ||
display: inline-block; | ||
} | ||
|
||
.kisa:hover | ||
{ | ||
box-shadow: 0 0 10px | ||
#a9a2ed, 0 0 25px #80ed90; | ||
} | ||
|
||
input[id='tile']:checked ~ .kisa > :nth-child(n) | ||
{ | ||
text-align: left; | ||
margin: auto; | ||
width: 95%; | ||
} | ||
|
||
input[id='list']:checked ~ .kisa > :nth-child(n) | ||
{ | ||
display: inline-block; | ||
width: 31%; | ||
vertical-align: top; | ||
} | ||
|
||
.kisa > img:hover | ||
{ | ||
box-shadow: 0 0 3px | ||
#a9a2ed, 0 0 10px #80ed90; | ||
} | ||
|
||
.name:hover | ||
{ | ||
text-shadow: 0 0 7px #d6dced; | ||
} | ||
|
||
.breed:hover | ||
{ | ||
text-decoration: underline; | ||
} | ||
|
||
.name | ||
{ | ||
font-size: 1.1rem; | ||
white-space: nowrap; | ||
display: block; | ||
overflow: hidden; | ||
text-overflow: ellipsis; | ||
} | ||
|
||
.breed | ||
{ | ||
font-size: .9rem; | ||
} | ||
|
||
.kisa .kindness img | ||
{ | ||
width: 10%; | ||
display: inline-block; | ||
} | ||
|
||
.price | ||
{ | ||
font-size: 1.2rem; | ||
color: red; | ||
} | ||
|
||
.oldprice | ||
{ | ||
color: #edcf1d; | ||
text-decoration: line-through; | ||
} |
Large diffs are not rendered by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
display-type-select