Skip to content

Commit

Permalink
mobile styles
Browse files Browse the repository at this point in the history
  • Loading branch information
kylefox committed Oct 15, 2017
1 parent 68c0249 commit aee978a
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
html {
font-size: 18px;
}

body {
font-weight: 400;
font-family: "Nunito", "Helvetica Neue", arial, sans-serif;
Expand Down Expand Up @@ -44,7 +45,7 @@

small { color: #aaa; }
h1,h2,h3,h4 { color: #404a50; font-weight: 800; font-size: 1.75em; line-height: 1.1; margin: 0 0 1.5rem 0; }
h2 a { color: #bbb; text-decoration: none; font-weight: normal; font-size: .75em; margin-left: -1em; border: none; }
h2 a { color: #cad1d5; border: none; }
h2 a:hover { color: #fa0065; }
a { color: #fa0065; font-weight: 700; transition-duration: .2s; text-decoration: none; border-bottom: 2px solid transparent; }
a:hover { color: #22272a; border-color: #22272a; }
Expand Down Expand Up @@ -140,6 +141,14 @@
.modal p { margin: 1em 0; }
.modal a.close-modal { border: none; }

@media(max-width: 600px) {
html {
font-size: 14px;
}
pre { font-size: 11px; line-height: 1.5; }
pre code { padding: 5px; }
}

</style>
<title>jQuery Modal</title>
<meta name="description" content="jQuery Modal is the easiest way to display modal windows with jQuery. Built by Kyle Fox.">
Expand Down

0 comments on commit aee978a

Please sign in to comment.