-
Notifications
You must be signed in to change notification settings - Fork 54
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
Шмонина Ирина #44
Open
IrinaShmonina
wants to merge
2
commits into
urfu-2016:master
Choose a base branch
from
IrinaShmonina:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Шмонина Ирина #44
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
@@ -0,0 +1,123 @@ | ||
body | ||
{ | ||
background: #cf9; | ||
} | ||
|
||
header | ||
{ | ||
text-align: center; | ||
font-size: 1.6em; | ||
font-family: 'Lobster', cursive; | ||
} | ||
|
||
h3 | ||
{ | ||
text-align: center; | ||
font-size: 1.2em; | ||
font-family: 'Poiret One', cursive; | ||
} | ||
|
||
h2 | ||
{ | ||
text-align: center; | ||
font-size: 1.2em; | ||
font-family: 'Lobster', cursive; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
img | ||
{ | ||
display: inline-block; | ||
margin: 1%; | ||
-webkit-box-shadow: inset 0 0 4px rgba(0, 0, 0, 1), inset 0 2px | ||
1px rgba(255, 255, 255, .5), inset 0 -9px | ||
2px rgba(0, 0, 0, .6), inset 0 -12px 2px | ||
rgba(255, 255, 255, .3); | ||
-moz-box-shadow: inset 0 0 4px rgba(0, 0, 0, 1), inset 0 2px | ||
1px rgba(255, 255, 255, .5), inset 0 -9px | ||
2px rgba(0, 0, 0, .6), inset 0 -12px 2px | ||
rgba(255, 255, 255, .3); | ||
box-shadow: inset 0 0 4px rgba(0, 0, 0, 1), inset 0 2px | ||
1px rgba(255, 255, 255, .5), inset 0 -9px | ||
2px rgba(0, 0, 0, .6), inset 0 -12px 2px | ||
rgba(255, 255, 255, .3); | ||
-webkit-border-radius: 20px; | ||
-moz-border-radius: 20px; | ||
border-radius: 20px; | ||
} | ||
|
||
div | ||
{ | ||
width: 22.5%; | ||
vertical-align: top; | ||
display: inline-block; | ||
margin: 1%; | ||
} | ||
|
||
.section2, | ||
.section3, | ||
p | ||
{ | ||
display: none; | ||
} | ||
|
||
.page-2:checked ~ .section2 | ||
{ | ||
display: block; | ||
} | ||
|
||
.page-2:checked ~ .section1, | ||
.page-2:checked ~ .section3 | ||
{ | ||
display: none; | ||
} | ||
|
||
.page-3:checked ~ .section3 | ||
{ | ||
display: block; | ||
} | ||
|
||
.page-3:checked ~ .section1, | ||
.page-3:checked ~ .section2 | ||
{ | ||
display: none; | ||
} | ||
|
||
div:hover p | ||
{ | ||
display: block; | ||
} | ||
|
||
section:target ~ .exit | ||
{ | ||
display: block; | ||
} | ||
|
||
|
||
img[tabindex='0'] | ||
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. Какой-то странный селектор по tabindex. Почему именно по нему? И для чего тут вообще нужен tabindex? |
||
{ | ||
cursor: zoom-in; | ||
} | ||
|
||
img[tabindex='0']:focus | ||
{ | ||
position: fixed; | ||
z-index: 10; | ||
top: 0; | ||
left: 0; | ||
bottom: 0; | ||
right: 0; | ||
width: auto; | ||
height: auto; | ||
max-width: 99%; | ||
max-height: 99%; | ||
margin: auto; | ||
box-shadow: 0 0 20px, 0 0 0 1000px rgba(128,128,128,.8); | ||
} | ||
|
||
img[tabindex='0']:focus, | ||
{ | ||
pointer-events: none; | ||
cursor: zoom-out; | ||
} |
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 |
---|---|---|
|
@@ -2,7 +2,168 @@ | |
<html lang="ru"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>slide show</title> | ||
<link rel="stylesheet" href="index.css"> | ||
<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet"> | ||
<link href="https://fonts.googleapis.com/css?family=Poiret+One" rel="stylesheet"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
</head> | ||
<body> | ||
<header> | ||
<h1> | ||
Бабушкин огородик! | ||
</h1> | ||
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. Можно в одну строку написать |
||
</header> | ||
<section class="slider"> | ||
<h3>Добро пожаловать на выстовку от Бабушки Агафьи.</h3> | ||
<input type="radio" name="gallery-page" id="page-1" class="page-1 hidden" checked> | ||
<input type="radio" name="gallery-page" id="page-2" class="page-2 hidden"> | ||
<input type="radio" name="gallery-page" id="page-3" class="page-3 hidden"> | ||
<br> | ||
<section class="section1"> | ||
<h2>Цветы</h2> | ||
<div> | ||
<img src="http://img.7dach.ru/uploads/images/03/17/10/2014/03/29/2ceb286161.jpg" | ||
width="300" height="250" alt="арка в цветах" tabindex="0"> | ||
<p>Кам­не­лом­ка цве­ток (Saxifraga) – мно­го­лет­нее | ||
тра­вя­ни­стое рас­те­ние, про­из­рас­та­ю­ | ||
щее в уме­рен­ном и хо­лод | ||
­ном кли­ма­те Се­вер­но­го по­лу­ша­рия. Весь | ||
уча­сток усы­пан эти­ми | ||
за­ме­ча­тель­ны­ми цве­та­ми. По­смот­ри­ | ||
те как кра­си­во они укра­ | ||
ша­ют ар­ку.</p> | ||
</div> | ||
<div> | ||
<img src="http://www.phytology.ru/images/stories/5822cb0994a7.jpg" width="300" | ||
height="250" alt="цветы около дома" tabindex="0"> | ||
<p>Не­при­хот­ли­вый и очень кра­соч­ный цве­ток га­ | ||
ца­ния, ро­ди­ной ко­то­ро­го яв­ля­ет­ся да­ | ||
ле­кий и жар­кий аф­ри­ | ||
кан­ский кон­ти­нент, за­во­е­вал лю­бовь цве­то­ | ||
во­дов и са­до­во­ | ||
дов всей стра­ны и ча­сто встре­ча­ет­ся на клум­бах и в улич | ||
­ных ва­зо­нах.</p> | ||
</div> | ||
<div> | ||
<img src="http://elitefon.ru/images/201211/elitefon.ru_5643.jpg" width="300" height="250" | ||
alt="розы" tabindex="0"> | ||
<p>По­жа­луй, ни об од­ном рас­те­нии не су­ще­ству­ | ||
ет столь­ко ми­фов и ле­генд, как о ро­зе – этот цве­ток по­ | ||
явил­ся на зем­ле мно­ | ||
го мил­ли­о­нов лет на­зад и до сих пор поль­зу­ет­ся | ||
по­вы­шен­ной по­пу­ | ||
ляр­но­стью у цве­то­во­дов всех стран ми­ра.</p> | ||
</div> | ||
<div> | ||
<img src="http://st03.kakprosto.ru//images/article/2012/3/14/1_52550920105e6525509201063b.jpg" | ||
width="300" height="250" alt="тюльпаны" tabindex="0"> | ||
<p>Цвет­ки тюль­па­нов жиз­не­ра­дост­ные рас­те­ | ||
ния, по­это­му они ши­ро­ко рас­кры­ва­ют­ся солн­ | ||
цу и пря­чут­ся но­чью и | ||
в пас­мур­ную по­го­ду. Так гла­сит и ле­ген­да, по­ | ||
вест­ву­ю­щая о бу­ | ||
то­не жёл­то­го тюль­па­на, в ко­то­ром бы­ло за­ | ||
ло­же­но сча­стье, до | ||
ко­то­ро­го ни­кто не мог до­брать­ся.</p> | ||
</div> | ||
</section> | ||
<section class="section2"> | ||
<h2>Ягоды</h2> | ||
<div> | ||
<img src="http://ogorodsadovod.com/sites/default/files/u79/2015/01/raspberry.jpg" | ||
width="300" height="250" alt="малина" tabindex="0"> | ||
<p>Пло­ды ма­ли­ны об­ла­да­ют по­то­гон­ным свой­ | ||
ством. Са­ли­ци­ло­вая кис­ло­та, со­дер­жа­ща­ | ||
я­ся в пло­дах, ока­ | ||
зы­ва­ет ан­ти­сеп­ти­че­ское, жа­ро­по­ни­ | ||
жа­ю­щее, по­то­ | ||
гон­ное и про­ти­во­вос­па­ли­тель­ное дей­ствие. | ||
Для ли­стьев и цвет­ков | ||
ма­ли­ны, кро­ме то­го ха­рак­тер­ны кро­во­оста­ | ||
нав­ли­ва­ю­щие и | ||
ан­ти­ток­си­че­ские свой­ства.</p> | ||
</div> | ||
<div> | ||
<img src="http://supercook.ru/images-490-plody/490-38-s-01.jpg" width="300" height="250" | ||
alt="СЛИВА" tabindex="0"> | ||
<p>Сли­ва, ко­то­рая у ме­ня рас­тет, на­зы­ва­ет­ся | ||
«рен­клод кол­хоз­ный». Я са­ма дол­гое вре­мя не зна­ла, | ||
что «рен­клод» — это обо­ | ||
зна­че­ние груп­пы сор­тов до­маш­ней сли­вы. У них круг­ | ||
лые пло­ды, неж­ная, | ||
соч­ная мя­коть и хо­ро­шо от­де­ | ||
ля­е­мая ко­сточ­ка.</p> | ||
</div> | ||
<div> | ||
<img src="http://yagodavtomske.ru/attachments/Image/oblepikha_3_600.jpg?template=generic" | ||
width="300" height="250" alt="облепиха" tabindex="0"> | ||
<p>Цен­ность мас­ла из ягод об­ле­пи­хи из­вест­на с | ||
дав­них пор, оно при­ме­ня­ет­ся в це­леб­ных це­ | ||
лях Яго­ды об­ле­пи­хи | ||
очень бо­га­ты мас­лом. Его це­леб­ная си­ла из­вест | ||
­на с дав­них вре­мен.</p> | ||
</div> | ||
<div> | ||
<img src="http://ogorodsadovod.com/sites/default/files/u55/2012/05/0_490fb_2d857229_xl.jpg" | ||
width="300" height="250" alt="клубника" tabindex="0"> | ||
<p>Сорт клуб­ни­ки Маль­ви­на ро­дом из Гер­ма­нии. | ||
Куст рос­лый, с тем­но-зе­ле­ной лист­вой. Яго­ды «ту­гие» | ||
, яр­ко-крас­ные, | ||
слад­кие, со­зре­ва­ют в ав­гу­сте-ок­тяб­ре. | ||
Сорт устой­чив к «клуб­нич­ным» | ||
бо­лез­ням.</p> | ||
</div> | ||
</section> | ||
<section class="section3"> | ||
<h2>Овощи</h2> | ||
<div> | ||
<img src="http://www.saharniy-diabet.com/userfiles/morkov.jpg" width="300" | ||
height="250" alt="морковь" tabindex="0"> | ||
<p>Этот овощ мож­но сме­ло на­звать не­при­хот­ли­вым | ||
рас­те­ни­ем. А со­бран­ный уро­жай мо­жет, при долж­ | ||
ном хра­не­нии, про­ | ||
ле­жать до са­мой вес­ны. В хо­ро­ших усло­ви­ях он со | ||
­хра­нит и свой при­вле­ | ||
ка­тель­ный внеш­ний вид и все пи­та­тель­ные и по­лез­ | ||
ные ве­ще­ства.</p> | ||
</div> | ||
<div> | ||
<img src="http://ogorodsadovod.com/sites/default/files/u79/2015/11/beet3.jpg" | ||
width="300" height="250" alt="свекла" tabindex="0"> | ||
<p>Свек­ла нор­ма­ли­зу­ет ра­бо­ту сер­деч­но-со­ | ||
су­ди­стой си­сте­мы, она яв­ля­ет­ся от­лич­ным про | ||
­фи­лак­ти­че­ским и ле­чеб­ | ||
ным сред­ством при ате­ро­скле­ро­зе и ги­пер­то­нии, | ||
спо­соб­ству­ет сни­ | ||
же­нию ар­те­ри­аль­но­го дав­ле­ния, сти­му­ли | ||
­ру­ет об­ра­зо­ | ||
ва­ние крас­ных кро­вя­ных те­лец и умень­ша­ет со­дер | ||
­жа­ние хо­ле­сте­ | ||
ри­на в кро­ви..</p> | ||
</div> | ||
<div> | ||
<img src="http://www.supersadovnik.ru/binfiles/images/00000031/00056948.jpg" | ||
width="300" height="250" alt="кабачок" tabindex="0"> | ||
<p>Ка­бач­ки по­лез­ны бла­го­да­ря боль­шо­му | ||
со­дер­жа­нию клет­ | ||
чат­ки, ви­та­ми­нов и цен­ных ве­ществ.</p> | ||
</div> | ||
<div> | ||
<img src="http://parnikiteplicy.ru/wp-content/uploads/2013/10/ogurcy.jpg" width="300" | ||
height="250" alt="огурцы" tabindex="0"> | ||
<p>Огур­цы об­ла­да­ют от­лич­ны­ми очи­ща­ю­ | ||
щи­ми свой­ства­ми. | ||
Ре­гу­ляр­ное упо­треб­ле­ние их в пи­щу чи­стит поч | ||
­ки, вы­во­дит лиш­ | ||
нюю во­ду из ор­га­низ­ма, спо­соб­ству­ет устра­не | ||
­нию оте­ков, пре­ду­ | ||
пре­жда­ет по­яв­ле­ние за­по­ров, об­лег­ча­ | ||
ет пе­ре­ва­ри­ва | ||
­ние тя­же­лой пи­щи и спо­соб­но убе­речь от пе­ре | ||
­еда­ния.</p> | ||
</div> | ||
</section> | ||
</section> | ||
</body> | ||
</html> |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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: none
иdisplay: block
. Лучше будет их все объединить