Add HSE design coursework and Wikimedium assignment
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ru">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Flexbox</title>
|
||||
<link rel="stylesheet" href="styles.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container row">
|
||||
<div class="left column">
|
||||
<div class="top row">
|
||||
<div class="left-column column">
|
||||
<div class="box tall"></div>
|
||||
<div class="box"></div>
|
||||
</div>
|
||||
|
||||
<div class="middle column">
|
||||
<div class="middle-top row">
|
||||
<div class="box"></div>
|
||||
<div class="box"></div>
|
||||
</div>
|
||||
<div class="box"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="bottom row">
|
||||
<div class="box wide"></div>
|
||||
<div class="box"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="right column">
|
||||
<div class="box tall"></div>
|
||||
<div class="box"></div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,56 @@
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
background-color: #222;
|
||||
}
|
||||
|
||||
.row, .column {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.column {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.container {
|
||||
width: 850px;
|
||||
height: 630px;
|
||||
margin: 40px auto 0;
|
||||
padding: 10px 20px;
|
||||
background-color: black;
|
||||
}
|
||||
|
||||
.left, .middle, .top {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.left-column, .right {
|
||||
width: 190px;
|
||||
}
|
||||
|
||||
.middle-top, .bottom {
|
||||
height: 170px;
|
||||
}
|
||||
|
||||
.box {
|
||||
flex: 1;
|
||||
background-color: white;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.tall {
|
||||
flex: none;
|
||||
height: 280px;
|
||||
}
|
||||
|
||||
.right .tall {
|
||||
height: 310px;
|
||||
}
|
||||
|
||||
.wide {
|
||||
flex: 2;
|
||||
}
|
||||
Reference in New Issue
Block a user