-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
107 lines (101 loc) · 2.06 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
97
98
99
100
101
102
103
104
105
106
107
/* colors */
:root{
--black: #2a2829;
--white: #F0F0F0;
--accent: #66FF99;
}
/* typography */
html {
font-size: 100%;
}
body {
font-family: 'Roboto', sans-serif;
font-weight: 400;
line-height: 1.75;
}
h1, h2, h3, h4, h5 {
margin: 0.5rem 0px;
font-family: 'Roboto', sans-serif;
font-weight: 700;
line-height: 1.3;
}
h1 {font-size: 3rem;}
h2 {font-size: 1.5rem;}
h3 {font-size: 1.3rem;}
h4 {font-size: 1rem;}
p {margin-bottom: 1rem;margin-top: 0px;}
a{color:var(--white);}
.card a{color:var(--black);}
a:hover, a:focus {color: var(--accent);}
.footer-text, .tooltip-text {font-size: 0.75rem;}
/* structure */
body{
background-color: var(--black);
color: var(--white);
margin: 4% 18%;
}
main{
width:100%;
}
footer{
margin-top:5rem;
border-top: 2px solid var(--white);
padding-top:1rem;
}
footer p{
margin: 0px;
font-size: 0.8rem;
}
main div{
margin-bottom:3rem;
}
/* homepage tweaks */
#home h1{
margin-top:8rem;
}
/* mobile structure */
@media only screen and (max-width: 1200px) {
body{
margin:4% 12%;
}
}
@media only screen and (max-width: 1000px) {
body{
margin:4%;
}
}
@media only screen and (max-width: 600px) {
.cta-link{
width: calc(100% - 2.8rem) !important;
text-align: center !important;
}
}
/* call to action links */
.cta-link{
display: inline-block;
padding: 0.8rem 1.4rem;
border: 2px solid var(--black);
background: var(--white);
color: var(--black);
border-radius: 5px;
font-weight: 700;
font-size: 1rem;
width: fit-content;
margin-top: 0.5rem;
margin-right: 0.5rem;
text-decoration:none;
}
.cta-link:hover, .cta-link:focus{
border: 2px solid var(--white);
background: var(--black);
color: var(--accent);
text-decoration:none;
}
/* img */
img#partnership{
object-fit: cover;
width: 100%;
max-height: 20rem;
border: 2px solid var(--white);
margin: 2rem 0px;
}