-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
91 lines (78 loc) · 1.39 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
/* Define colors */
:root {
--twitter-blue: #1DA1F2;
--twitter-blue-light: #E8F5FE;
--twitter-gray: #657786;
--twitter-white: #FFFFFF;
}
/* Global styles */
body {
margin: 0;
padding: 0;
font-family: 'Roboto', sans-serif;
}
/* Header styles */
header {
background-color: var(--twitter-blue);
color: var(--twitter-white);
padding: 10px;
}
nav ul {
list-style: none;
margin: 0;
padding: 0;
}
nav li {
display: inline-block;
margin-right: 20px;
}
nav li:last-child {
margin-right: 0;
}
nav a {
color: var(--twitter-white);
text-decoration: none;
}
/* Card styles */
.card-container {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
}
.card {
background-color: var(--twitter-white);
border-radius: 8px;
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
padding: 40px;
text-align: center;
width: 400px;
}
.card h2 {
color: var(--twitter-gray);
font-size: 24px;
margin-bottom: 20px;
}
.card p {
color: var(--twitter-gray);
font-size: 16px;
margin-bottom: 40px;
}
.buttons {
display: flex;
justify-content: center;
}
.button {
background-color: var(--twitter-blue);
border: none;
border-radius: 50px;
color: var(--twitter-white);
font-size: 18px;
margin-right: 20px;
padding: 10px 20px;
text-decoration: none;
transition: all 0.3s ease;
}
.button:hover {
background-color: var(--twitter-blue-light);
}