-
Notifications
You must be signed in to change notification settings - Fork 0
/
Tribute-page-CSS.css
131 lines (118 loc) · 1.96 KB
/
Tribute-page-CSS.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
/* import merriweather sans font */
@import url('https://fonts.googleapis.com/css2?family=Merriweather+Sans:wght@300&display=swap');
/* Configure main layout */
#main {
background: linear-gradient(70deg, #27C7B2, #E777EF);
}
/* Configure body layout */
#body {
display: grid;
grid-template-rows: 30% 60% 10%;
}
@media (min-width: 600px) {
#body {
display: grid;
grid-template-rows: 200px 800px 50px;
}
}
/* title design */
#title {
}
#title-1 {
font-size: 50px;
text-align: center;
margin-top: 90px;
}
#title-2 {
font-size: 23px;
text-align: center;
margin-top: -30px;
}
/* image + tribute info grid */
#row-2 {
display: grid;
grid-template-columns: 50% 50%;
place-items: center;
}
/* image column config */
#img-div {
text-align: center;
}
/* image */
#image {
display: block;
width: 400px;
max-width: 50vw;
border-radius: 10%;
max-width: 100%;
height: auto;
}
/* img-caption */
#img-caption {
font-family: helvetica;
font-size: 20px;
}
/* tribute-info */
#tribute-info {
display: grid;
text-align: left;
}
#tribute-font {
font-size: 14px;
font-family: Merriweather Sans;
margin-left: 50px;
margin-right: 50px;
}
/* more-about */
#more-about {
display: grid;
text-align: left;
}
#more-about-font {
text-align: center;
}
#about:hover {
color: #1DEFA2;
transition: 1s;
}
/* NAVBAR MOBILE */
#navbar {
background: #EFA21D;
width: 50%;
height: 50px;
border-radius: 20px;
text-align: center;
margin-top: 5px;
margin-left: 10px;
position: fixed;
}
/* NAVBAR DESKTOP */
@media (min-width: 720px) {
#navbar {
background: #EFA21D;
width: 30%;
height: 40px;
border-radius: 20px;
text-align: center;
margin-top: 5px;
margin-left: 20px;
position: fixed;
}
}
#nav-text {
font-size: 15px;
margin-top: 8px;
}
@media (min-width: 720px) {
#nav-text {
font-size: 20px;
margin-top: 8px;
}
}
.nav-link:hover {
color: #FFFFFF;
transition: 0.8s;
}
.nav-link:link {
text-decoration: none;
}