-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
151 lines (127 loc) · 2.27 KB
/
style.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
148
149
150
151
/* Styles change all the time, why not improve on the design.
You're welcome to introduce changes to the design (color, layout ...),
as well as fix a bug you might have noticed and extend on responsiveness.
*/
*,
*::after,
*::before {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
font-size: 3rem;
color: #fcfcfa;
background-color: #232f5f;
font-family: Arial, Helvetica, sans-serif;
}
main {
display: flex;
height: 100vh;
text-align: center;
align-items: center;
flex-direction: column;
justify-content: center;
}
.main-title {
margin: 0;
}
.main-description {
opacity: 80%;
padding: 1rem;
font-size: 1.5rem;
text-align: center;
}
.author {
font-size: 1.1rem;
}
.author a {
color: black;
text-decoration: none;
}
.main-button {
color: black;
margin-top: 2%;
font-size: 1.2rem;
padding: 1rem 2rem;
text-decoration: none;
background-color: #fcfcfa;
}
.contact-links {
display: flex;
}
.contact-links li {
list-style-type: none;
}
.contact-links li a {
opacity: 70%;
padding: 0.7rem;
text-decoration: none;
color: #fcfcfa;
}
.contact-links li a:hover,
.contributor-container a:hover {
opacity: 100%;
color: white;
}
footer {
display: flex;
font-size: 1.3rem;
text-transform: capitalize;
justify-content: space-between;
position: absolute;
align-items: center;
bottom: 2rem;
width: 100%;
padding-left: 4rem;
padding-right: 4rem;
}
.contributor-container {
padding: 0.7rem;
padding-bottom: 1.3rem;
}
.contributor-container a {
opacity: 70%;
margin-left: 10px;
color: #fcfcfa;
text-decoration: none;
}
.contributor-container a:hover {
text-decoration: underline;
text-underline-offset: 10px;
}
@media screen and (max-width: 600px) {
body {
font-size: 1.5rem;
}
.main-title {
padding: 2rem;
}
.main-description {
padding-bottom: 2rem;
}
.contact {
padding: 0;
right: 0rem;
width: 100%;
align-items: center;
}
.contact-links {
margin: auto;
text-align: center;
justify-content: center;
}
.contact-links li {
padding: 0;
}
.contact-links li a {
padding: 0.8rem;
}
footer {
display: block;
}
.contributor-container {
width: 100%;
font-size: 1rem;
}
}