diff --git a/index.css b/index.css index e69de29..b74d723 100644 --- a/index.css +++ b/index.css @@ -0,0 +1,119 @@ +main +{ + width: 1050px; + position: relative; + overflow: hidden; + display: block; + margin: 0 auto; +} + +a +{ + text-decoration: none; + font-size: 34px; + color: #111; +} + +.vegetables-gallery +{ + width: 3400px; + transition: all 2s ease-in-out; + -webkit-transition: all 2s ease-in-out; + -moz-transition: all 2s ease-in-out; + -o-transition: all 2s ease-in-out; +} + +.page1, +.page2, +.page3 +{ + display: inline-block; + margin: 0 auto; + font: 14px Arial; +} + +.vegetable +{ + margin: 5px; + width: 250px; + display: inline-block; + vertical-align: top; +} + +.vegetable img +{ + width: 100%; +} + +.vegetable .vegetable-name, +.vegetable .description, +.modal +{ + display: none; +} + +.modal +{ + position: fixed; + background: rgba(25, 184, 11, .2); + z-index: 5; + width: 100%; + height: 100%; + display: none; + top: 0; + left: 0; +} + +.modal .hidden-image +{ + margin: 0 auto; + margin-top: 10%; + max-width: 30%; + max-height: 30%; +} + +.modal:target +{ + display: block; +} + +.vegetable:hover +{ + box-shadow: 0 0 1px; +} + +.vegetable:hover .vegetable-name, +.vegetable:hover .description +{ + margin: 10px; + display: inline-block; +} + +.slide1:checked ~ .vegetables-gallery +{ + margin-left: 0; +} + +.slide2:checked ~ .vegetables-gallery +{ + margin-left: -1055px; +} + +.slide3:checked ~ .vegetables-gallery +{ + margin-left: -2110px; +} + +.close +{ + position: absolute; + font-size: 28px; + top: 30px; + right: 30px; + z-index: 15; +} + +.close:hover +{ + cursor: pointer; +} diff --git a/index.html b/index.html index d810ba7..1ecc542 100644 --- a/index.html +++ b/index.html @@ -2,7 +2,289 @@ + + Бабулькин урожай +
+ + + + +
+ + + +
+
diff --git a/vegetables/aubergine.jpg b/vegetables/aubergine.jpg new file mode 100644 index 0000000..dfaeccd Binary files /dev/null and b/vegetables/aubergine.jpg differ diff --git a/vegetables/buriak.jpg b/vegetables/buriak.jpg new file mode 100644 index 0000000..c78580e Binary files /dev/null and b/vegetables/buriak.jpg differ diff --git a/vegetables/carrot.jpg b/vegetables/carrot.jpg new file mode 100644 index 0000000..7f8a110 Binary files /dev/null and b/vegetables/carrot.jpg differ diff --git a/vegetables/garlic.jpg b/vegetables/garlic.jpg new file mode 100644 index 0000000..2319927 Binary files /dev/null and b/vegetables/garlic.jpg differ diff --git a/vegetables/maize.jpg b/vegetables/maize.jpg new file mode 100644 index 0000000..0b6c4db Binary files /dev/null and b/vegetables/maize.jpg differ diff --git a/vegetables/momordica.jpg b/vegetables/momordica.jpg new file mode 100644 index 0000000..e3a77f3 Binary files /dev/null and b/vegetables/momordica.jpg differ diff --git a/vegetables/onion.jpg b/vegetables/onion.jpg new file mode 100644 index 0000000..0e637e7 Binary files /dev/null and b/vegetables/onion.jpg differ diff --git a/vegetables/pattypan.jpg b/vegetables/pattypan.jpg new file mode 100644 index 0000000..d087bb4 Binary files /dev/null and b/vegetables/pattypan.jpg differ diff --git a/vegetables/pepper.jpg b/vegetables/pepper.jpg new file mode 100644 index 0000000..0f9e4d1 Binary files /dev/null and b/vegetables/pepper.jpg differ diff --git a/vegetables/radish.jpg b/vegetables/radish.jpg new file mode 100644 index 0000000..ecfc45d Binary files /dev/null and b/vegetables/radish.jpg differ diff --git a/vegetables/scotch.jpg b/vegetables/scotch.jpg new file mode 100644 index 0000000..e231067 Binary files /dev/null and b/vegetables/scotch.jpg differ diff --git a/vegetables/tomato.jpg b/vegetables/tomato.jpg new file mode 100644 index 0000000..49bec42 Binary files /dev/null and b/vegetables/tomato.jpg differ