Skip to content

Commit 51ac655

Browse files
committed
update
1 parent d757b1b commit 51ac655

2 files changed

Lines changed: 114 additions & 0 deletions

File tree

index.html

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<!DOCTYPE html>
2+
<html>
3+
4+
<head>
5+
<meta charset="UTF-8">
6+
<meta name="viewport" content="width=device-width, initial-scale=1">
7+
<link rel="stylesheet" href="style/style.css" type="text/css" media="all" />
8+
<title>Arduino beginners</title>
9+
</head>
10+
11+
<body>
12+
<h1>Arduino beginners</h1>
13+
<p>A place for beginners to learn <code>arduino</code>.</p>
14+
15+
<h2>All the projects</h2>
16+
<ol>
17+
<li><a href="https://github.com/StickyCoolDev/Arduino-beginners/blob/main/Project%201/project1.md#button-and-led">led and button</a></li>
18+
<li></li>
19+
</ol>
20+
21+
</body>
22+
23+
</html>

style/style.css

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
body {
2+
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* More modern sans-serif */
3+
line-height: 1.7; /* Slightly increased line height for better readability */
4+
margin: 30px; /* Increased margin for more whitespace */
5+
background-color: #f8f9fa; /* Lighter background for better contrast */
6+
color: #495057; /* Slightly softer text color */
7+
-webkit-font-smoothing: antialiased; /* Improve font rendering for webkit browsers */
8+
-moz-osx-font-smoothing: grayscale; /* Improve font rendering for Firefox on macOS */
9+
}
10+
11+
h1,
12+
h2,
13+
h3 {
14+
color: #343a40; /* Darker heading color */
15+
line-height: 1.3; /* Adjust heading line height */
16+
margin-top: 25px; /* Add top margin for better spacing */
17+
margin-bottom: 15px;
18+
}
19+
20+
h1 {
21+
font-size: 2.5em; /* Slightly larger main heading */
22+
border-bottom: 3px solid #007bff; /* More vibrant and thicker border */
23+
padding-bottom: 15px; /* Increased padding below the border */
24+
margin-bottom: 30px; /* Increased bottom margin */
25+
font-weight: bold; /* Make the main heading bold */
26+
}
27+
28+
h2 {
29+
font-size: 2em;
30+
}
31+
32+
h3 {
33+
font-size: 1.75em;
34+
}
35+
36+
p {
37+
margin-bottom: 20px; /* Increased paragraph spacing */
38+
}
39+
40+
code {
41+
background-color: #e9ecef; /* Lighter code background */
42+
color: #222; /* Darker code text */
43+
padding: 0.3em 0.6em; /* Adjust padding */
44+
border-radius: 5px; /* Slightly more rounded corners */
45+
font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace; /* More modern monospace font stack */
46+
font-size: 0.9em; /* Slightly smaller code font size */
47+
}
48+
49+
ol,
50+
ul {
51+
padding-left: 25px; /* Consistent list indentation */
52+
margin-bottom: 15px;
53+
}
54+
55+
ol {
56+
list-style-type: decimal;
57+
}
58+
59+
ul {
60+
list-style-type: disc;
61+
}
62+
63+
li {
64+
margin-bottom: 12px; /* Adjust list item spacing */
65+
}
66+
67+
a {
68+
color: #007bff; /* More vibrant link color */
69+
text-decoration: none;
70+
transition: color 0.3s ease-in-out; /* Smooth color transition on hover */
71+
}
72+
73+
a:hover {
74+
color: #0056b3; /* Darker link color on hover */
75+
text-decoration: underline;
76+
}
77+
78+
/* Add some subtle visual enhancements */
79+
hr {
80+
border: 0;
81+
border-top: 1px solid #dee2e6;
82+
margin: 2rem 0;
83+
}
84+
85+
blockquote {
86+
padding: 0.5rem 1rem;
87+
margin: 1.5rem 0;
88+
border-left: 0.25rem solid #6c757d;
89+
color: #6c757d;
90+
font-style: italic;
91+
}

0 commit comments

Comments
 (0)