-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
165 lines (141 loc) · 2.71 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
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
/* General Reset */
body, h1, h2, h3, p, ul, nav, footer {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Global Styles */
body {
font-family: 'Roboto', sans-serif;
line-height: 1.6;
color: #333;
background-color: #f9f9f9;
padding: 0 1rem;
}
/* Header Navigation */
header {
background: #007acc;
padding: 1rem 2rem;
display: flex;
justify-content: space-between;
align-items: center;
}
header nav a {
color: white;
text-decoration: none;
margin: 0 1rem;
font-weight: bold;
}
header nav a:hover {
text-decoration: underline;
}
/* Hero Section */
#hero {
text-align: center;
padding: 4rem 1rem;
background: linear-gradient(to right, #007acc, #005f99);
color: white;
}
#hero h1 {
font-size: 2.5rem;
margin-bottom: 1rem;
}
#hero p {
font-size: 1.25rem;
margin-bottom: 2rem;
}
#hero .cta {
display: inline-block;
margin: 0.5rem;
padding: 0.75rem 1.5rem;
background: white;
color: #007acc;
border: 2px solid white;
text-decoration: none;
font-weight: bold;
border-radius: 4px;
transition: all 0.3s ease;
}
#hero .cta:hover {
background: #005f99;
color: white;
border-color: #005f99;
}
/* Features Section */
#features {
padding: 3rem 1rem;
background: #f1f1f1;
text-align: center;
}
#features h2 {
font-size: 2rem;
margin-bottom: 1rem;
}
#features ul {
list-style: none;
padding: 0;
}
#features li {
font-size: 1.25rem;
margin: 0.5rem 0;
}
/* Documentation Section */
#docs {
padding: 3rem 1rem;
text-align: center;
}
#docs h2 {
font-size: 2rem;
margin-bottom: 1rem;
}
#docs .link {
display: inline-block;
margin: 0.5rem;
padding: 0.75rem 1.5rem;
background: #007acc;
color: white;
text-decoration: none;
font-weight: bold;
border-radius: 4px;
transition: background 0.3s ease;
}
#docs .link:hover {
background: #005f99;
}
/* Read the Docs Link Styling */
#docs .read-the-docs {
margin-top: 1rem;
display: inline-block;
padding: 0.75rem 2rem;
background: #28a745; /* Green button to stand out */
color: white;
text-decoration: none;
font-weight: bold;
border-radius: 4px;
transition: background 0.3s ease;
}
#docs .read-the-docs:hover {
background: #218838; /* Darker green for hover */
}
/* Footer */
footer {
padding: 1rem;
text-align: center;
background: #333;
color: white;
font-size: 0.875rem;
margin-top: 2rem;
}
/* Responsive Design */
@media (max-width: 768px) {
#hero h1 {
font-size: 2rem;
}
#hero p {
font-size: 1rem;
}
header nav a {
margin: 0 0.5rem;
font-size: 0.875rem;
}
}