-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
155 lines (136 loc) · 2.46 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
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
/* Resetting some default styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Body styling */
body {
font-family: 'Arial', sans-serif;
background-color: #f8f9fa;
color: #343a40;
line-height: 1.6;
margin: 0;
padding: 0;
}
/* Container for page content */
.container {
max-width: 1000px;
margin: 0 auto;
padding: 20px;
}
/* Header styling */
header {
text-align: center;
padding: 20px;
background-color: #007bff;
color: #fff;
border-radius: 10px;
margin-bottom: 20px;
}
header h1 {
font-size: 2.5rem;
margin-bottom: 10px;
}
header p {
font-size: 1.2rem;
}
/* Section styling */
section {
background-color: #fff;
padding: 20px;
margin-bottom: 20px;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
section h2 {
font-size: 1.8rem;
color: #007bff;
border-bottom: 2px solid #007bff;
padding-bottom: 10px;
margin-bottom: 10px;
}
/* Code block styling */
pre {
background-color: #f5f5f5; /* Match example format */
color: #282828; /* Dark text for contrast */
padding: 20px;
border-radius: 5px;
overflow-x: auto;
font-size: 1rem;
line-height: 1.6;
margin-bottom: 20px;
border: 1px solid #ccc; /* Subtle border */
user-select: text;
}
/* Code block content */
pre code {
font-family: "Courier New", Courier, monospace;
color: #d63384; /* Custom color for code text */
background-color: transparent;
word-wrap: break-word;
}
/* Inline code styling */
code {
font-size: 1rem;
font-family: "Courier New", Courier, monospace;
background-color: #f5f5f5;
padding: 0.2em 0.4em;
border-radius: 3px;
color: #d63384;
}
/* List styling */
ul {
list-style-type: square;
margin-left: 20px;
margin-bottom: 20px;
}
ul li {
font-size: 1.1rem;
margin-bottom: 10px;
}
/* Footer styling */
footer {
text-align: center;
margin-top: 40px;
padding: 20px;
font-size: 1.1rem;
background-color: #f1f1f1;
border-radius: 10px;
color: #777;
}
/* Link styling */
a {
color: #007bff;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
/* Back to top button */
#back-to-top {
position: fixed;
bottom: 20px;
right: 20px;
display: none;
background-color: #007bff;
color: white;
padding: 10px 15px;
border-radius: 5px;
border: none;
}
#back-to-top:hover {
background-color: #0056b3;
}
/* Mobile responsiveness */
@media (max-width: 768px) {
header h1 {
font-size: 2rem;
}
section {
padding: 15px;
}
pre {
padding: 10px;
}
}