forked from akshu20791/php-project
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
121 lines (102 loc) · 1.78 KB
/
styles.css
File metadata and controls
121 lines (102 loc) · 1.78 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
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
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: 'Arial', sans-serif;
}
body {
color: #333;
line-height: 1.6;
}
.container {
width: 80%;
margin: auto;
overflow: hidden;
}
.header {
position: relative;
background: url('https://source.unsplash.com/random/1920x1080') no-repeat center center/cover;
height: 100vh;
color: #fff;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
}
.navbar {
position: absolute;
top: 0;
left: 0;
width: 100%;
padding: 20px 0;
background: rgba(0, 0, 0, 0.5);
}
.navbar .container {
display: flex;
justify-content: space-between;
align-items: center;
}
.navbar .logo {
font-size: 24px;
color: #fff;
text-decoration: none;
}
.navbar .nav {
list-style: none;
display: flex;
}
.navbar .nav li {
margin-left: 20px;
}
.navbar .nav a {
color: #fff;
text-decoration: none;
padding: 5px 10px;
transition: background 0.3s, color 0.3s;
}
.navbar .nav a:hover {
background: #4CAF50;
color: #fff;
border-radius: 5px;
}
.hero {
max-width: 600px;
margin: 0 auto;
text-align: center;
}
.hero h1 {
font-size: 48px;
margin-bottom: 20px;
}
.hero p {
font-size: 24px;
margin-bottom: 20px;
}
.hero .btn {
padding: 10px 20px;
background: #4CAF50;
color: #fff;
text-decoration: none;
border-radius: 5px;
transition: background 0.3s, color 0.3s;
}
.hero .btn:hover {
background: #45a049;
}
.section {
padding: 60px 0;
text-align: center;
}
.section h2 {
margin-bottom: 20px;
font-size: 36px;
}
.section p {
font-size: 18px;
}
.footer {
background: #333;
color: #fff;
text-align: center;
padding: 20px 0;
}