forked from appacademy/practice-for-prepwork-css-stylings
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
96 lines (88 loc) · 1.4 KB
/
main.css
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
html {
box-sizing: border-box;
font-size: 16px;
}
body,
h1,
h2,
p {
margin: 0;
padding: 0;
}
body {
line-height: 1.5;
text-align: center;
font-family: "Courier New", Courier, monospace;
color: #081c15;
background: linear-gradient(to top, #ee9ca7, #ffdde1);
}
header {
margin-block: 20px;
}
.page {
/* border: 2px solid pink; */
max-width: 80vw;
margin: 0 auto;
margin-bottom: 2em;
padding: 2em;
border-radius: 20px;
background: linear-gradient(to bottom, #ee9ca7, #ffdde1);
}
.content {
padding: 0.5em;
}
.story-box {
/* border: 2px solid pink; */
padding: 1.5em;
background-color: #ffdde1;
/* opacity: 0.7; */
border-radius: 20px;
}
.story-title,
p {
margin-block: 15px;
}
h1 {
letter-spacing: 1px;
}
.logo {
background-size: cover;
background-image: url("https://appacademy.github.io/styleguide/assets/logo/logo-emblem-black-1000.png");
background-color: inherit;
height: 60px;
width: 60px;
margin: 0 auto;
}
/* Footer */
footer {
width: 90vw;
margin: 0 auto;
margin-block: 2em;
display: flex;
flex-direction: row;
justify-content: space-between;
}
@media (max-width: 600px) {
footer {
flex-direction: column;
text-align: center;
}
.sources {
margin-bottom: 0.25em;
}
}
.sources,
.signature {
color: #4361ee;
}
.accent {
color: #081c15;
}
a {
text-decoration: none;
color: #f72585;
}
a:hover,
a:focus {
color: #000;
}