Skip to content

Commit 5aefe8b

Browse files
committed
Support moblie
1 parent 42a3513 commit 5aefe8b

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

index.html

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
<link rel="manifest" href="/site.webmanifest">
1515
<meta name="msapplication-TileColor" content="#da532c">
1616
<meta name="theme-color" content="#ffffff">
17+
<meta name="viewport" content="width=device-width, initial-scale=1">
1718
</head>
1819
<body id="body" class="main-page">
1920
<div class="feature-a">

style.css

+10-6
Original file line numberDiff line numberDiff line change
@@ -42,22 +42,23 @@ table td {
4242
}
4343

4444
.feature-a {
45-
position: relative;
45+
position: unset;
4646
width: 100%;
4747
height: 100%;
4848
overflow: hidden;
4949
margin: 0 auto;
5050
top: 0;
51+
flex-direction: column;
52+
display: flex;
53+
justify-content: center;
5154
}
5255

5356
.feature-a-header {
5457
border-bottom: .3vw solid;
5558
text-align: center;
5659
width: 76.47%;
5760
position: relative;
58-
top: 50%;
59-
left: 50%;
60-
margin: -13% 0 0 -38.235%;
61+
margin: 0 auto;
6162
color: white;
6263
}
6364

@@ -94,11 +95,10 @@ table td {
9495
}
9596

9697
.feature-a-text {
97-
margin:0 auto;
98+
margin: 0 auto;
9899
position: relative;
99100
text-align: center;
100101
color: white;
101-
top: 50%;
102102
width: 90%;
103103
font-family: 'Open Sans', sans-serif;
104104
}
@@ -213,4 +213,8 @@ a:hover {
213213
.highlight pre {
214214
overflow: auto;
215215
}
216+
217+
table, .ld {
218+
font-size: 1em;
219+
}
216220
}

0 commit comments

Comments
 (0)