Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 27dfbd7

Browse files
committed
Title size adjustments
1 parent 47aae9c commit 27dfbd7

File tree

2 files changed

+35
-3
lines changed

2 files changed

+35
-3
lines changed

‎_layouts/error.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{% include top.html %}
22

33
<body class="wrap">
4-
<header>
4+
<headerclass="error">
55
<div class="grid">
66
<div class="unit whole align-center">
77
<h1>
8-
<a href="{{ '/' | relative_url }}" class="logo"style="font-size: 1.8em">
8+
<a href="{{ '/' | relative_url }}" class="logo">
99
<img src="{{ site.logo | relative_url }}?_={{ site.time | date: '%s%N' }}" width="{{ site.logo_width | times:115 | divided_by:site.logo_height }}" height="115" alt="{{ site.name }} Logo">
1010
<span style="color: #aaa">Sublime</span><span style="color: #fff">CodeIntel</span>
1111
</a>

‎_sass/_style.scss

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,16 @@ header {
6868
margin-top: -7px;
6969
vertical-align: middle;
7070
}
71+
span {
72+
// font-size: 80%;
73+
}
74+
}
75+
&.error {
76+
.logo {
77+
span {
78+
// font-size: 80%;
79+
}
80+
}
7181
}
7282

7383
.search .svg-icons { display: none }
@@ -192,11 +202,23 @@ h6:hover .header-link {
192202
@media (max-width: 580px) {
193203
header {
194204
.flexbox { height: auto }
195-
.logo img { margin-top: 0 }
205+
.logo {
206+
img { margin-top: 0 }
207+
span { font-size: 50% }
208+
}
209+
&.error {
210+
.logo {
211+
span { font-size: 50% }
212+
}
213+
}
196214
}
197215
}
198216
@media (max-width: 699px) {
199217
.searchbox { display: none }
218+
header {
219+
.logo span { font-size: 60% }
220+
&.error .logo span { font-size: 60% }
221+
}
200222
}
201223
@media (max-width: 768px) {
202224
.main-nav ul { text-align: right }
@@ -206,10 +228,20 @@ h6:hover .header-link {
206228
.show-on-mobiles { display: inline; }
207229
.hide-on-mobiles { display: none; }
208230
}
231+
header {
232+
.logo span { font-size: 70% }
233+
&.error .logo span { font-size: 70% }
234+
}
209235
}
210236
@media (max-width: 890px) {
211237
.meta { display: none; }
212238
}
239+
@media (max-width: 1200px) {
240+
header {
241+
.logo span { font-size: 80% }
242+
&.error .logo span { font-size: 80% }
243+
}
244+
}
213245

214246
/* Footer */
215247

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /