Skip to content
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

Черных Артём #64

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added cats/Thumbs.db
Binary file not shown.
Binary file added cats/cat1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added cats/cat10.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added cats/cat11.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added cats/cat12.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added cats/cat13.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added cats/cat14.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added cats/cat2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added cats/cat3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added cats/cat4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added cats/cat5.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added cats/cat6.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added cats/cat7.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added cats/cat8.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added cats/cat9.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added cats/mini_size/Gav.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added cats/mini_size/Thumbs.db
Binary file not shown.
Binary file added cats/mini_size/cat1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added cats/mini_size/cat10.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added cats/mini_size/cat11.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added cats/mini_size/cat12.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added cats/mini_size/cat13.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added cats/mini_size/cat14.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added cats/mini_size/cat2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added cats/mini_size/cat3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added cats/mini_size/cat4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added cats/mini_size/cat5.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added cats/mini_size/cat6.jpg
Binary file added cats/mini_size/cat7.jpg
Binary file added cats/mini_size/cat8.jpg
Binary file added cats/mini_size/cat9.jpg
155 changes: 155 additions & 0 deletions index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,155 @@
body
{
padding: 0;
}

.label-button
{
cursor: pointer;
}

.note
{
width: 250px;
height: 410px;
display: inline-block;
vertical-align: top;
text-overflow: ellipsis;
padding: 5px;
margin: 1px;
position: relative;
}

.note:hover
{
background-color: #fa0;
}

.grid:checked ~ .note:hover
{
transform: scale(1.05);
}

.cat
{
min-width: 250px;
height: 200px;
position: relative;
}

.cat img:hover
{
opacity: 1;
}

.cat img
{
position: absolute;
bottom: 0;
opacity: .8;
}

.note section
{
overflow: hidden;
text-overflow: ellipsis;
}

.note a
{
font-size: 2.2em;
text-overflow: ellipsis;
}

.note a:hover
{
color: red;
}

.note small
{
margin: 2px;
}

.note small span
{
text-decoration: underline;
cursor: pointer;
border: 2px solid inherit;
}

.price
{
color: #b00;
font: 700 1.5em sans-serif;

}

.price::after
{
content: attr(id);
font-size: .75em;
color: black;
text-decoration: line-through;

}

.price:hover
{
text-shadow: 1px 1px 1px #000;
cursor: pointer;
}

.info,
.description
{
vertical-align: top;
}

.info small span:hover
{
border: 2px solid black;
}

.description
{
padding: 0;
margin: 0;
}

.description-head
{
display: block;
font: 700 1.05em serif;
}

.list:checked ~ .note
{
display: block;
min-width: 100%;
height: 100%;
vertical-align: top;
position: relative;
}

.list:checked ~ .note .cat
{
display: inline-block;
}

.list:checked ~ .note .cat img
{
top: 0;
}

.list:checked ~ .note .info,
.list:checked ~ .note .description
{
width: 35%;
}

.list:checked ~ .note section
{
display: inline-block;
padding-left: 30px;
}
Loading