Skip to content

Commit cef801a

Browse files
committed
moved css from html to style.css
1 parent 90a7ef0 commit cef801a

File tree

2 files changed

+16
-18
lines changed

2 files changed

+16
-18
lines changed

css/style.css

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,6 @@ body {
2727
overflow: auto;
2828
position: relative;
2929
}
30-
.title.h1.c1 {
31-
color: rgb(30, 255, 0);
32-
}
33-
.title.h1.c2 {
34-
color: rgb(255, 50, 50);
35-
}
3630
body::before {
3731
content: '';
3832
position: absolute;
@@ -499,4 +493,20 @@ footer a.social-icon:hover::after {
499493
height: 100%;
500494
max-height: 1em;
501495
width: auto;
496+
display: inline-block;
497+
}
498+
.title.h1.c1 {
499+
color: rgb(30, 255, 0);
500+
margin: 0;
501+
padding: 0;
502+
}
503+
.title.h1.c2 {
504+
color: rgb(255, 50, 50);
505+
margin: 0;
506+
padding: 0;
507+
}
508+
@media screen and (max-width: 768px) {
509+
.hide-on-mobile {
510+
display: none;
511+
}
502512
}

index.html

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,6 @@ <h1>
2828
<span class="title h1 c2">Search</span>
2929
<img src="/images/search-inverted.png" class="title-image hide-on-mobile">
3030
</h1>
31-
32-
<style>
33-
.title-image {
34-
display: inline-block;
35-
}
36-
37-
@media screen and (max-width: 768px) {
38-
.hide-on-mobile {
39-
display: none;
40-
}
41-
}
42-
</style>
4331
<p id="description">Search Anything</p>
4432
<script src="/js/csl.js"></script>
4533

0 commit comments

Comments
 (0)