-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathstyles.css
More file actions
56 lines (47 loc) · 868 Bytes
/
styles.css
File metadata and controls
56 lines (47 loc) · 868 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
* {
box-sizing: border-box;
}
body {
font-family: "Myriad Pro", sans-serif;
}
.container {
width: 50%;
max-width: 60em;
margin: 0 auto;
padding: 1em;
overflow: hidden;
}
.widget_image {
max-width: 100%;
margin: 0 auto;
display: block;
}
.widget_text {
background: #ffeeee;
border: #aa2323 0.25em solid;
padding: 1em;
}
.widget_btn a {
letter-spacing: 0.1em;
text-decoration: none;
text-align: center;
text-transform: uppercase;
color: #fff;
background: #aa2323;
padding: 0.5em 1em;
display: block;
}
.container:media(min-width:30em) .widget_content {
display: -webkit-flex;
display: flex;
-webkit-flex-direction: row;
flex-direction: row;
-webkit-align-items: flex-end;
align-items: flex-end;
}
.container:media(min-width:30em) .widget_text {
border-bottom: none;
}
.container:media(min-width:30em) .widget_image {
width: 40%;
}