-
Notifications
You must be signed in to change notification settings - Fork 1
/
screen.css
147 lines (122 loc) · 2.04 KB
/
screen.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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
body {
background-color: #d5caec;
color: #333;
font-family: 'Merriweather Sans', sans-serif;
margin: 0;
}
h1 {
font-family: 'Oleo Script Swash Caps', cursive;
}
h2, h3 {
font-weight: 800;
}
header {
padding: 1em;
display: flex;
align-items: center;
}
header h1 {
margin: 0 1em 0 0;
}
header nav ul {
display: flex;
list-style: none;
padding-left: 0;
}
header nav ul li {
margin-right: 1em;
}
header nav ul li a:link,
header nav ul li a:visited {
color: white;
text-decoration: none;
font-size: 2em;
}
header nav ul li a:focus,
header nav ul li a:hover {
color: pink;
text-decoration: underline;
}
header nav ul li a:active {
color: #ffe600;
}
.articles {
padding: 1em;
}
aside {
padding: 1em;
}
@media (min-width: 480px) {
main {
display: flex;
flex-direction: row;
}
aside {
width: 300px;
}
aside figure {
margin: 1em 0;
}
aside figure img {
border: thin solid #666;
}
aside form.search input {
width: calc(100% - 1em);
font-family: 'Merriweather Sans', sans-serif;
font-size: 1em;
padding: 0.5em;
border: thin solid #666;
border-radius: 2px;
}
aside form.sign-in {
margin: 0.5em 0;
display: flex;
}
aside form.sign-in input {
display: block;
width: 110px;
padding: 0.25em;
margin-right: 0.5em;
border: thin solid #666;
border-radius: 2px;
}
aside form.sign-in button {
display: block;
padding: 0.25em;
background-color: #8b43db;
color: white;
width: 72px;
border: thick solid #5d2e91;
border-radius: 2px;
}
.articles {
}
}
footer {
padding: 1em;
display: flex;
flex-direction: column;
align-items: center;
}
footer nav {
display: flex;
padding: 2em;
border: thin solid #666;
border-radius: 2px;
background-color: #b0a5c7;
color: white;
}
footer nav section {
padding: 0 1em;
}
footer nav section:not(:first-child) {
border-left: thin solid #666;
}
footer nav ul {
list-style: none;
padding-left: 0;
}
footer nav h3,
footer nav ul {
margin: 0;
}