Skip to content

Commit e0ebba0

Browse files
committed
adjustments to tablet view size
1 parent fd07f28 commit e0ebba0

2 files changed

Lines changed: 34 additions & 4 deletions

File tree

assets/sass/pages/_home.scss

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,15 @@
6868
font-size: 24px;
6969
border-radius: 10px;
7070
background-color: rgba(0, 0, 0, 0.7);
71+
72+
a {
73+
color: #fff;
74+
text-decoration: none;
75+
76+
&:visited {
77+
color: #fff;
78+
}
79+
}
7180
}
7281
}
7382

@@ -126,9 +135,20 @@
126135
#home-page {
127136
.two-column-content {
128137
.text {
138+
padding: 20px;
139+
129140
h1 {
130141
font-size: 2.5em;
131142
}
143+
144+
h2 {
145+
font-size: 1.5em;
146+
margin-top: 0;
147+
}
148+
149+
.tagline {
150+
font-size: 1.2em;
151+
}
132152
}
133153
}
134154
}
@@ -145,6 +165,16 @@
145165
margin: 0;
146166
padding: 0;
147167
}
168+
169+
h2 {
170+
font-size: 1.2em;
171+
}
172+
173+
.tagline {
174+
font-size: 1em;
175+
margin: 0;
176+
padding: 0;
177+
}
148178
}
149179
.image .image-title img {
150180
display: none;

index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ <h1>The easiest way to program microcontrollers</h1>
2424
/>
2525
<span class="image-title">
2626
<span>
27-
<p>{{ guide.title }} by {{ guide.author }}</p>
27+
<p><a href="{{ guide.guide_url }}">{{ guide.title }} by {{ guide.author }}</a></p>
2828
</span>
2929
<img alt="Made with CircuitPython Logo"
3030
src="{{ "assets/images/made_with_circuitpython.svg" |
@@ -103,7 +103,7 @@ <h3>Serial Console + REPL</h3>
103103
/>
104104
<span class="image-title">
105105
<span>
106-
<p>{{ guide.title }} by {{ guide.author }}</p>
106+
<p><a href="{{ guide.guide_url }}">{{ guide.title }} by {{ guide.author }}</a></p>
107107
</span>
108108
<img alt="Made with CircuitPython Logo"
109109
src="{{ "assets/images/made_with_circuitpython.svg" |
@@ -143,7 +143,7 @@ <h2>Supported by all of the best microcontrollers</h2>
143143
/>
144144
<span class="image-title">
145145
<span>
146-
<p>{{ guide.title }} by {{ guide.author }}</p>
146+
<p><a href="{{ guide.guide_url }}">{{ guide.title }} by {{ guide.author }}</a></p>
147147
</span>
148148
<img alt="Made with CircuitPython Logo"
149149
src="{{ "assets/images/made_with_circuitpython.svg" |
@@ -161,7 +161,7 @@ <h2>Supported by all of the best microcontrollers</h2>
161161
/>
162162
<span class="image-title">
163163
<span>
164-
<p>{{ guide.title }} by {{ guide.author }}</p>
164+
<p><a href="{{ guide.guide_url }}">{{ guide.title }} by {{ guide.author }}</a></p>
165165
</span>
166166
<img alt="Made with CircuitPython Logo"
167167
src="{{ "assets/images/made_with_circuitpython.svg" |

0 commit comments

Comments
 (0)