-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
84 lines (72 loc) · 1.29 KB
/
style.css
File metadata and controls
84 lines (72 loc) · 1.29 KB
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "Segoe UI", sans-serif;
line-height: 1.6;
background-color: #f9f9f9;
color: #333;
}
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 2rem;
background: #222;
color: white;
}
.logo {
font-size: 1.5rem;
font-weight: bold;
}
.nav-links {
list-style: none;
display: flex;
gap: 1.5rem;
}
.nav-links a {
color: white;
text-decoration: none;
}
.hero {
background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://source.unsplash.com/1600x900/?technology') no-repeat center center/cover;
height: 100vh;
color: white;
display: flex;
flex-direction: column;
justify-content: center;
text-align: center;
padding: 0 2rem;
}
.hero-content h1 {
font-size: 3rem;
margin-bottom: 1rem;
}
.cta-button {
margin-top: 1.5rem;
display: inline-block;
padding: 0.75rem 1.5rem;
background: #00bcd4;
color: white;
border-radius: 5px;
text-decoration: none;
transition: background 0.3s ease;
}
.cta-button:hover {
background: #0097a7;
}
.section {
padding: 4rem 2rem;
text-align: center;
}
.section.alt {
background-color: #eee;
}
.footer {
text-align: center;
padding: 2rem;
background: #222;
color: white;
}