Skip to content

Commit c06037c

Browse files
authored
Tribute Page
1 parent 0569d96 commit c06037c

File tree

1 file changed

+113
-0
lines changed

1 file changed

+113
-0
lines changed

Tribute Page/styles.css

Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
html {
2+
font-size: 10px;
3+
}
4+
5+
body {
6+
font-family: Buket fonts, Sans script, "Fat Sketches", "Roboto", "Helvetica Neue", prismatic , roman;
7+
font-size: 1.6rem;
8+
line-height: 1.5;
9+
text-align: center;
10+
color: #333;
11+
margin: 0;
12+
}
13+
14+
h1 {
15+
font-size: 4rem;
16+
margin-bottom: 0;
17+
animation-name: Mohandas Karamchand Gandhi;
18+
animation-duration: 5s;
19+
}
20+
h1:hover {
21+
font-size: 5rem;
22+
margin bottom: 3;
23+
24+
}
25+
@keyframes Mohandas Karamchand Gandhi {
26+
10% {
27+
color: green;
28+
}
29+
50% {
30+
color: purple;
31+
}
32+
100% {
33+
color: red;
34+
}
35+
}
36+
37+
@media (max-width: 460px) {
38+
h1 {
39+
font-size: 3.5rem;
40+
line-height: 1.2;
41+
}
42+
}
43+
44+
h2 {
45+
font-size: 3.25rem;
46+
}
47+
48+
a {
49+
color: #477ca7;
50+
}
51+
52+
a:visited {
53+
color: #74638f;
54+
}
55+
56+
#main {
57+
margin: 30px 8px;
58+
padding: 15px;
59+
border-radius: 5px;
60+
background: #eee;
61+
}
62+
63+
@media (max-width: 460px) {
64+
#main {
65+
margin: 0;
66+
}
67+
}
68+
69+
img {
70+
max-width: 100%;
71+
display: block;
72+
height: auto;
73+
margin: 0 auto;
74+
}
75+
76+
#img-div {
77+
background: white;
78+
padding: 10px;
79+
margin: 0;
80+
}
81+
82+
#img-caption {
83+
margin: 15px 0 5px 0;
84+
}
85+
86+
@media (max-width: 460px) {
87+
#img-caption {
88+
font-size: 1.4rem;
89+
}
90+
}
91+
92+
#headline {
93+
margin: 50px 0;
94+
text-align: center;
95+
}
96+
97+
ul {
98+
max-width: 550px;
99+
margin: 0 auto 50px auto;
100+
text-align: left;
101+
line-height: 1.6;
102+
}
103+
104+
li {
105+
margin: 16px 0;
106+
}
107+
108+
blockquote {
109+
font-style: italic;
110+
max-width: 545px;
111+
margin: 0 auto 50px auto;
112+
text-align: left;
113+
}

0 commit comments

Comments
 (0)