Skip to content
This repository was archived by the owner on Jun 11, 2019. It is now read-only.

Commit 4469f38

Browse files
committed
Change text position
1 parent 5940a34 commit 4469f38

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

_sass/pages/_cv.scss

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,24 @@ body#cv {
66
}
77
#page-header {
88
.title {
9-
width: 1000px;
10-
@media screen and (max-width: 1000px) {
11-
width: 100%;
12-
height: 250px;
9+
width: 80%;
10+
@media screen and (max-width: 970px) {
11+
width: 95%;
12+
height: 350px;
1313
}
1414
text-align: left;
1515
}
1616
h1 {
17-
font-size: 250px;
18-
line-height: 250px;
17+
font-size: 200px;
18+
line-height: 200px;
1919
@media screen and (max-width: 768px) {
20-
font-size: 140px;
21-
line-height: 140px;
22-
}
23-
@media all and (max-width: 480px) {
2420
font-size: 100px;
2521
line-height: 100px;
2622
}
23+
@media all and (max-width: 480px) {
24+
font-size: 60px;
25+
line-height: 60px;
26+
}
2727
}
2828
}
2929
#some {

cv/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
</div>
1212

1313
<header id="page-header">
14-
<div class="title" style="height:50px">
14+
<div class="title" style="height:350px">
1515
<h1>Mikael Korpela</h1>
1616
</div>
1717
{% include go_down.html %}

0 commit comments

Comments
 (0)