Skip to content

Commit dfa6f39

Browse files
Merge pull request #10 from goby-lang/fixbug/layout-input-btn-in-iphone
Fix Style Layout in iPhone and Adjust Layout of Code Tabs
2 parents 47f2797 + 08917b3 commit dfa6f39

File tree

4 files changed

+16
-5
lines changed

4 files changed

+16
-5
lines changed

public/css/code-tab.css

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
#goby-lang {
2-
height: 65vh;
2+
height: 75vh;
3+
width: 85%;
4+
margin-left: auto;
5+
margin-right: auto;
36
}
47
#goby-lang > pre {
58
margin: 0;
6-
height: calc(65vh - 35pt);
9+
height: calc(75vh - 35pt);
710
overflow: auto;
11+
-webkit-overflow-scrolling: touch;
812
}
913
ul#code-tab {
1014
background-color: #FBA86F;

public/css/index.css

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ button {
2525
margin: 0;
2626
border-radius: 0;
2727
}
28+
input {
29+
-webkit-appearance: none;
30+
-webkit-border-radius: 0;
31+
border-radius:0;
32+
}
2833
input:focus, button:focus { outline: none; }
2934
ul { margin: 0; padding: 0; }
3035
li { list-style-type: none; }
@@ -33,7 +38,7 @@ a { text-decoration: none; }
3338
.to-do-app {
3439
width: 85%;
3540
margin: 0 auto;
36-
max-height: calc(65vh - 6pt);
41+
max-height: calc(75vh - 6pt);
3742
box-sizing: border-box;
3843
box-shadow: 4pt 4pt 0pt rgba(247, 255, 160, 0.5),
3944
8pt 8pt 0pt rgba(255, 194, 79, 0.65),
@@ -88,7 +93,7 @@ a { text-decoration: none; }
8893
.list-group {
8994
background-color: #eea;
9095
color: #666;
91-
max-height: calc(65vh - 46pt);
96+
max-height: calc(75vh - 46pt);
9297
overflow: auto;
9398
/* box-shadow: inset 0pt 5pt 10pt #444; */
9499
position: relative;

public/css/mc-embed-signup.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ div#mc_embed_signup > form input[type="submit"] {
4545
}
4646
div#mc_embed_signup > form input[type="submit"] {
4747
width: 20%;
48+
padding: 0;
4849
font-size: 10pt;
4950
}
5051
div#mc_embed_signup > form {

public/css/navbar.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ nav {
66
nav > .nav-wrapper a {
77
text-decoration: none;
88
font-family: 'Hero', sans-serif;
9-
color: white;
9+
color: #F88B40;
1010
}
1111
nav > .nav-wrapper > a:hover > img#logo {
1212
border-radius: 50%;
@@ -30,6 +30,7 @@ nav > #desktop-nav.nav-wrapper > a:not(#logo-link) > span {
3030
}
3131
nav > #desktop-nav.nav-wrapper > a:not(#logo-link):hover > span {
3232
background-color: rgba(255, 158, 102, 0.69);
33+
color: white;
3334
border-radius: 50%;
3435
transition: .25s;
3536
}

0 commit comments

Comments
 (0)