Skip to content

Commit bfb63cf

Browse files
committed
Convert px to rem
1 parent 999859c commit bfb63cf

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

static/styles.css

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ html {
44
}
55

66
body {
7-
padding-top: 120px;
8-
padding-bottom: 100px;
9-
margin-bottom: 60px;
7+
padding-top: 7.5rem;
8+
padding-bottom: 7rem;
9+
margin-bottom: 4rem;
1010
}
1111

1212
h1 {
@@ -18,12 +18,12 @@ h1 {
1818
}
1919

2020
.gitter-chat-embed {
21-
margin-top: 100px;
21+
margin-top: 4rem;
2222
}
2323

2424
.footer {
25-
padding-top: 10px;
26-
padding-bottom: 5px;
25+
padding-top: 1rem;
26+
padding-bottom: .5rem;
2727
position: fixed;
2828
bottom: 0;
2929
width: 100%;
@@ -35,14 +35,14 @@ h1 {
3535
.list-group {
3636
list-style: decimal inside;
3737
white-space: nowrap;
38-
padding: 0 10px;
38+
padding: 0 1rem;
3939
}
4040

4141
.list-group-item {
4242
display: list-item;
4343
vertical-align: middle;
4444
display: inline-block;
45-
padding: 5px;
45+
padding: .5rem;
4646
}
4747

4848
.borderless {
@@ -68,5 +68,5 @@ h1 {
6868
.code-block {
6969
position: relative;
7070
background-color: #eceeef;
71-
border-radius: 10px;
71+
border-radius: 1rem;
7272
}

0 commit comments

Comments
 (0)