-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
executable file
·98 lines (78 loc) · 1.3 KB
/
styles.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
body {
font-size: 14px;
text-align: center;
}
main {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
}
.card {
border: solid 1px;
box-shadow: 10px 10px;
height: 50%;
width: 70%;
padding: 5%;
margin: 25vh 10vw;
text-align: center;
}
h1 {
font-family: 'Dancing Script', cursive;
font-weight: bold;
font-size: 6em;
}
h3 {
font-family: 'Roboto', sans-serif;
margin-top: 3%;
}
nav {
position: absolute;
top: 60%;
left: 20%;
}
nav ul li {
display: inline;
margin-right: 5px;
}
a {
color: darkgray;
font-size: 2em;
font-family: 'Roboto', sans-serif;
}
a:hover {
color: purple;
text-decoration: none;
}
a:visited {
color: black;
text-decoration: none;
}
/* Responsive breakpoints */
@media (max-width: 575.98px) {
nav {
margin-top: 30%;
}
}
@media (min-width: 576px) and (max-width: 767.98px) {
nav {
margin-top: 30%;
}
}
@media (min-width: 768px) and (max-width: 991.98px) {
nav {
margin-top: 30%;
}
}
@media (min-width: 992px) and (max-width: 1199.98px) {
nav {
margin-top: 20%;
padding-right: 2%;
}
}
@media (min-width: 1200px) {
nav {
margin-top: 10%;
padding-right: 2%;
}
}