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

Смирнов Алексей #36

Open
wants to merge 8 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 font/lilliput_steps.eot
Binary file not shown.
389 changes: 389 additions & 0 deletions font/lilliput_steps.svg
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 font/lilliput_steps.ttf
Binary file not shown.
Binary file added font/lilliput_steps.woff
Binary file not shown.
Binary file added image/apple.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 image/d.sun.png
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 image/uber-elevate.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 image/uber.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
213 changes: 213 additions & 0 deletions index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,213 @@
@import url(https://fonts.googleapis.com/css?family=Coiny);
@import url(https://fonts.googleapis.com/css?family=Gloria+Hallelujah);
@import url(https://fonts.googleapis.com/css?family=Bungee+Shade);

@font-face
{
font-family: 'LilliputSteps-Regular';
src: url('font/lilliput_steps.eot?')
format('eot'), url('font/lilliput_steps.woff')
format('woff'), url('font/lilliput_steps.ttf')
format('truetype'), url('font/lilliput_steps.svg#LilliputSteps-Regular')
format('svg');
}

.headline
{
font-family: Coiny, serif;
text-align: center;
width: 90%;
float: left;

}

main
{
display: block;
border: 4px double black;
color: #000;
background: #fff;
font-family: Arial, sans-serif;
}

body
{
font-family: Arial, sans-serif;
text-align: left;
}

p
{
line-height: 1.5;
letter-spacing: normal;
word-spacing: normal;
text-indent: 5%;
}

hr
{
color: rgba(0,0,0, .5);
}

.first-title,
.second-title
{
font-family: Monotype Corsiva, cursive;
text-align: center;
font-size: 18px;
}

.author
{
font-family: Gloria Hallelujah, cursive;
text-align: right;
font-size: 10px;
}

p:first-child::first-letter
{
font-family: Bungee Shade, cursive;
font-size: 50px;
color: #f00;
}

.first-post
{
width: 440px;
float: left;
border-right: 1px solid #000;
padding: 25px;
}

.second-post
{
margin-left: 490px;
padding: 25px;
border-left: 1px solid #000;
}

.post-1
{
column-count: 2;
-moz-column-count: 2;
-webkit-column-count: 2;
column-rule: 1px solid rgba(0,0,0, .5);
-moz-column-rule: 1px solid rgba(0,0,0, .5);
-webkit-column-rule: 1px solid rgba(0,0,0, .5);
hyphens: auto;
break-inside: avoid-page;
}

.post-2
{
column-count: 3;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

безвендорное правило должно идти после

-moz-column-count: 3;
-webkit-column-count: 3;
column-rule: 1px solid rgba(0,0,0, .5);
-moz-column-rule: 1px solid rgba(0,0,0, .5);
-webkit-column-rule: 1px solid rgba(0,0,0, .5);
hyphens: auto;
}

span.sv-font-1
{
font-family: Arial, sans-serif;
}

span.sv-font-2
{
font-family: Monotype Corsiva, cursive;
}

span.sv-colors-1
{
border: 1px solid rgba(0,0,0, .5);
color: #000;
background: #fff;
}

span.sv-colors-2
{
border: 1px solid #000;
color: #fff;
background: #000;
}

span.sv-size-1
{
font-size: x-small;
}

span.sv-size-2
{
font-size: medium;
}

span.sv-size-3
{
font-size: x-large;
}

.sv-size-1:checked ~ main
{
font-size: x-small;
}

.sv-size-3:checked ~ main
{
font-size: x-large;
}

.sv-colors-2:checked ~ main
{
background: #000;
color: #fff;
}

.sv-font-2:checked ~ main
{
font-family: Monotype Corsiva, cursive;
}

.apple-img
{
width: 210px;
padding: 5px;
}

.zoom-img
{
width: 500px;
padding-top: 10px;
padding-bottom: 10px;
}

.uber-img
{
width: 240px;
padding: 5px;
}

.vertical
{
font-family: LilliputSteps-Regular, cursive;
margin-left: 40%;
width: 1ch;
text-align: center;
word-wrap: break-word;
float: left;
}

.weather
{
font-family: LilliputSteps-Regular, cursive;
margin-left: 90%;
text-align: center;
height: 140px;
}

div

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

привязываться к тегам обычно плохая практика, а к диву особенно нехорошо

{
column-span: all;
text-align: center;
}
183 changes: 177 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,179 @@
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="utf-8">
</head>
<body>
</body>
<html lang="en">
<head>
<title>TECH</title>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="index.css">
</head>
<body>
<input type="radio" name="font-size" class="sv-size-1"><span class="sv-size-1">A</span>
<input type="radio" name="font-size" class="sv-size-2" checked><span class="sv-size-2">A</span>
<input type="radio" name="font-size" class="sv-size-3"><span class="sv-size-3">A</span><br>
<input type="radio" name="font-color" class="sv-colors-1" checked><span class="sv-colors-1">A</span>
<input type="radio" name="font-color" class="sv-colors-2"><span class="sv-colors-2">A</span><br>
<input type="radio" name="font-family" class="sv-font-1" checked><span class="sv-font-1">A</span>
<input type="radio" name="font-family" class="sv-font-2"><span class="sv-font-2">A</span>
<hr>
<header>
<h1 class="headline">USA TODAY</h1>
<aside class="weather"><span class="vertical">Weather</span>
<img src="image/d.sun.png" alt="sun">+12</aside>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

не хватает еще title

</header>
<main>
<section class="first-post">
<header class="first-title">
<h2>
Britain hit hard by Apple Mac price hikes
</h2>
</header>
<hr>
<p class="author">
By Jane Onyanga-Omara, USA TODAY
</p>
<hr>
<article class="post-1">
<p>
LON&shy;DON — Bri&shy;tain’s im&shy;pend&shy;ing exit from the European Uni&shy;on
is lead&shy;ing to high&shy;er prices for Apple Mac com&shy;puters here.
</p>
<p>
The tech gi&shy;ant un&shy;veiled a new line of Mac&shy;Books on Thursday
and used the op&shy;por&shy;tun&shy;ity to an&shy;nounce price hikes for its
oth&shy;er, older Apple Mac com&shy;puters.
</p>
<p>
Apple Mac buy&shy;ers in the U.K. must hand over 20% more — or
up to $610 — start&shy;ing Fri&shy;day. It fol&shy;lows a drop in the
pound's value against the dol&shy;lar fol&shy;low&shy;ing the coun&shy;try’s
vote to exit the European Uni&shy;on.
</p>
<p>
<q>Apple has to re&shy;cal&shy;ib&shy;rate prices after sig&shy;ni&shy;
fic&shy;ant cur&shy;rency fluc&shy;tu&shy;ations, and since the E.U.
ref&shy;er&shy;en&shy;dum, U.K. prices are' out of sync with the dol&shy;lar,</q>
said Patrick O'Bri&shy;en, an ana&shy;lyst at the Ver&shy;dict Re&shy;tail
con&shy;sultancy, ac&shy;cord&shy;ing to the BBC.
</p>
<p>
He ad&shy;ded: <q>While price in&shy;creases won't look good to the con&shy;sumer,
it's dif&shy;fi&shy;cult to blame Apple.</q>
<img class="apple-img" src="image/apple.jpg" alt="Apple Mac">
</p>
<p>
The price of one Mac Pro desktop rose from $3,048 (&#163;2,499) to
$3,658 (&#163;2,999). A 13-inch Mac&shy;Book Air jumped from $1,035 (&#163;849)
to $1,157 (&#163;949.)
</p>
<p>
A 12-inch Mac&shy;Book was hiked from $1,279 (&#163;1,049) to $1524 (&#163;1,249.)
</p>
<p>
The pound has fallen 18% against the dol&shy;lar since the vote for
Brexit at a ref&shy;er&shy;en&shy;dum in June.
</p>
<p>
Earli&shy;er this week, Mi&shy;crosoft an&shy;nounced its cloud products would
cost busi&shy;ness cus&shy;tom&shy;ers here up to 22% more.
</p>
</article>
</section>
<section class="second-post">
<header class="second-title">
<h2>
Uber looks to flying cars as next big shift
</h2>
</header>
<hr>
<p class="author">
By Eli Blumenthal, USA TODAY
</p>
<hr>
<article class="post-2">
<p>
NEW YORK — While most of the auto in&shy;dustry is fo&shy;cused on get&shy;ting
self-driv&shy;ing cars rolling, Uber already has its eyes set to the skies.
Lit&shy;er&shy;ally.
</p>
<p>
In a white pa&shy;per pub&shy;lished this week, the com&shy;pany de&shy;tailed
plans for Uber El&shy;ev&shy;ate, its new di&shy;vi&shy;sion for of&shy;fer&shy;ing
rides through fly&shy;ing cars.
</p>
<p>
The com&shy;pany hopes to have the pro&shy;gram up and run&shy;ning with&shy;in
a dec&shy;ade.
</p>
<div>
<img class="zoom-img" src="image/uber-elevate.jpg" alt="uber-elevate-route">
</div>
<p>

In ad&shy;di&shy;tion to be&shy;ing in&shy;cred&shy;ibly cool, Uber stresses the
many be&shy;ne&shy;fits of this meth&shy;od of trans&shy;port&shy;a&shy;tion in
this new mode of trans&shy;port&shy;a&shy;tion, time sav&shy;ing be&shy;ing
the biggest.
</p>
<p>
<q>Ima&shy;gine trav&shy;el&shy;ing from San Fran&shy;cisco’s Mar&shy;ina
(dis&shy;trict) to work in down&shy;town San Jose — a drive that would
nor&shy;mally oc&shy;cupy the bet&shy;ter part of two hours — in only 15 minutes,
</q> writes Jeff Hold&shy;en, Uber's chief product of&shy;ficer, and Nikhil
Goel, the com&shy;pany's product man&shy;ager for Uber El&shy;ev&shy;ate and
ad&shy;vanced pro&shy;grams, in the white pa&shy;per.
</p>
<p>
<q>What if you could save nearly four hours round-trip between S&#227;o
Paulo’s city cen&shy;ter and the sub&shy;urbs in Camp&shy;i&shy;nas? Or ima&shy;gine
re&shy;du&shy;cing your 90-plus minute stop-and-go com&shy;mute from Gur&shy;gaon to
your of&shy;fice in cent&shy;ral New Del&shy;hi to a mere six minutes,</q>
they wrote.
<img class="uber-img" src="image/uber.jpg" alt="Uber flying cars">
</p>
<p>
Plus with more people in the air, the com&shy;pany an&shy;ti&shy;cip&shy;ates it
loosen&shy;ing the bur&shy;den on the roads, par&shy;tic&shy;u&shy;larly in
heav&shy;ily-con&shy;ges&shy;ted areas.
</p>
<p>
The com&shy;pany ac&shy;know&shy;ledges that there are chal&shy;lenges for
get&shy;ting this project off the ground. As op&shy;posed to us&shy;ing
heli&shy;copters, which are ex&shy;pens&shy;ive and noisy, the com&shy;pany
will in&shy;stead be re&shy;ly&shy;ing on VTOLs, or &quot;a net&shy;work of small,
elec&shy;tric air&shy;craft that take off and land ver&shy;tic&shy;ally.&quot;
</p>
<p>
The VTOLs are cheap&shy;er and quieter, and their elec&shy;tron&shy;ic basis also
mean they will bet&shy;ter for the en&shy;vir&shy;on&shy;ment than the gas-powered
heli&shy;copters. Bat&shy;tery tech&shy;no&shy;logy still needs to im&shy;prove,
and as these are fly&shy;ing vehicles, the com&shy;pany notes there will need to be
some air traffic con&shy;trol mech&shy;an&shy;ism in place. These vehicles also will
need prop&shy;erly trained pi&shy;lots at the con&shy;trol, at least un&shy;til they
too be&shy;come self-driv&shy;ing.
</p>
<p>
Plus there's the eco&shy;nom&shy;ics. This type of fly&shy;ing air&shy;craft, which
is already be&shy;ing de&shy;veloped by a vari&shy;ety of com&shy;pan&shy;ies
in&shy;clud&shy;ing Joby Avi&shy;ation, Zee.Aero and Air&shy;bus, will be pricey
ini&shy;tially, though Uber an&shy;ti&shy;cip&shy;ates that with scale it will
drop. For the con&shy;sumer, it sees prices start&shy;ing out high but drop&shy;ping
over time thanks to its Uber Pool sys&shy;tem.
</p>
<p>
A 45-mile pool VTOL, for ex&shy;ample, would re&shy;place a 60-mile car ride
for po&shy;ten&shy;tially as low as $21. And the trek would only be 15 minutes.
</p>
<p>
The com&shy;pany is plan&shy;ning an El&shy;ev&shy;ate Sum&shy;mit for early next
year to fur&shy;ther set the wheels in mo&shy;tion.
</p>
<p>
As for tim&shy;ing, the com&shy;pany hopes to have vehicles ready with&shy;in the
next five years, with fleets de&shy;ploy&shy;ing over the fol&shy;low&shy;ing five
years after that. In the in&shy;ter&shy;im, well, there's al&shy;ways those more
tra&shy;di&shy;tion&shy;al self-driv&shy;ing Uber cars.
</p>
</article>
</section>
</main>
</body>
</html>