-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
69 lines (63 loc) · 999 Bytes
/
style.css
File metadata and controls
69 lines (63 loc) · 999 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/*CSS reset for browser margins and paddings*/
*{
padding:0;
margin:0;
}
body{
display: flex;
}
.container-1{
width: 20%;
display: flex;
order: 1;
align-items: stretch;
flex-wrap: wrap;
border-right: 1px solid #ccc;
}
.container-2{
width: 80%;
display: flex;
order: 2;
flex-flow: column;
justify-content: center;
height: 100vh;
}
.box-2{
width: 100%;
height: 50%;
border-bottom: 1px dotted #ccc;
background-color: orange;
}
.box-3{
width: 100%;
height:50%;
background-color: #222;
color:#fff;
}
article{
padding:10%;
}
article h1{
font-weight: 400;
font-size: 2.2rem;
font-family: 'Quicksand', cursive;
letter-spacing: 2px;
}
article p{
font-weight: : 700;
font-size: 1.2rem;
font-family:'Quicksand', sans-serif;
letter-spacing: 1px;
}
@media (max-width: 600px){
body{
flex-direction: column;
height: 100vh;
}
.container-1, .container-2{
width: 100%;
}
.article{
padding:5px;
}
}