mirror of
https://github.com/restoreddev/phpapprentice.git
synced 2025-08-05 06:17:37 +02:00
Tweaking fonts and home page styles
This commit is contained in:
@@ -7,20 +7,23 @@ $drop-shadow: rgba(0, 0, 0, 0.4);
|
||||
$code-background: #FDF6E3;
|
||||
|
||||
body {
|
||||
font-family: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif;
|
||||
font-family: Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif;
|
||||
font-size: 16px;
|
||||
padding-top: 1em;
|
||||
padding-bottom: 1em;
|
||||
}
|
||||
button {
|
||||
font-family: Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif;
|
||||
}
|
||||
code {
|
||||
background-color: #F0F0F0;
|
||||
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
||||
font-family: Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
||||
font-size: 14px;
|
||||
padding: 0.10em 0.25em;
|
||||
}
|
||||
pre, pre code {
|
||||
background-color: transparent;
|
||||
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
||||
font-family: Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
||||
font-size: 14px;
|
||||
margin: 0 !important;
|
||||
border-radius: 0 !important;
|
||||
@@ -49,13 +52,13 @@ ol {
|
||||
padding-left: 1em;
|
||||
}
|
||||
h1, h2, h3, h4 {
|
||||
margin: 1.414em 0 0.5em;
|
||||
font-weight: inherit;
|
||||
line-height: 1.2;
|
||||
margin: 1.414em 0 0.5em;
|
||||
font-weight: inherit;
|
||||
line-height: 1.2;
|
||||
}
|
||||
h1 {
|
||||
margin-top: 0;
|
||||
font-size: 2.441em;
|
||||
margin-top: 0;
|
||||
font-size: 2.441em;
|
||||
}
|
||||
h2 {font-size: 1.953em;}
|
||||
h3 {font-size: 1.563em;}
|
||||
@@ -88,7 +91,8 @@ button:hover .icon svg {
|
||||
background-color: $primary-color;
|
||||
color: $white;
|
||||
padding: 0.5em 1em;
|
||||
border-radius: 1em;
|
||||
border-radius: 2em;
|
||||
display: inline-block;
|
||||
}
|
||||
.button:hover {
|
||||
color: $white;
|
||||
@@ -203,6 +207,10 @@ button:hover .icon svg {
|
||||
width: 150px;
|
||||
height: 100px;
|
||||
}
|
||||
.home-buttons .menu {
|
||||
display: inline-block;
|
||||
padding: 0.5em 1em;
|
||||
}
|
||||
.menu {
|
||||
margin-bottom: 1.5em;
|
||||
}
|
||||
@@ -225,7 +233,7 @@ button:hover .icon svg {
|
||||
height: 100%;
|
||||
animation-name: animateleft;
|
||||
animation-duration: .4s;
|
||||
overflow: scroll;
|
||||
overflow: auto;
|
||||
box-shadow: 0 0 10px 0 $drop-shadow;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
Reference in New Issue
Block a user