154 lines
3.7 KiB
CSS
154 lines
3.7 KiB
CSS
/* source-sans-pro-regular - latin */
|
|
@font-face {
|
|
font-family: 'Source Sans Pro';
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
src: url('./font/source-sans-pro-v9-latin-regular.eot'); /* IE9 Compat Modes */
|
|
src: local('Source Sans Pro'), local('SourceSansPro-Regular'),
|
|
url('./font/source-sans-pro-v9-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
|
url('./font/source-sans-pro-v9-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
|
|
url('./font/source-sans-pro-v9-latin-regular.woff') format('woff'), /* Modern Browsers */
|
|
url('./font/source-sans-pro-v9-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
|
|
url('./font/source-sans-pro-v9-latin-regular.svg#SourceSansPro') format('svg'); /* Legacy iOS */
|
|
}
|
|
/* source-sans-pro-italic - latin */
|
|
@font-face {
|
|
font-family: 'Source Sans Pro';
|
|
font-style: italic;
|
|
font-weight: 400;
|
|
src: url('./font/source-sans-pro-v9-latin-italic.eot'); /* IE9 Compat Modes */
|
|
src: local('Source Sans Pro Italic'), local('SourceSansPro-It'),
|
|
url('./font/source-sans-pro-v9-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
|
url('./font/source-sans-pro-v9-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
|
|
url('./font/source-sans-pro-v9-latin-italic.woff') format('woff'), /* Modern Browsers */
|
|
url('./font/source-sans-pro-v9-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
|
|
url('./font/source-sans-pro-v9-latin-italic.svg#SourceSansPro') format('svg'); /* Legacy iOS */
|
|
}
|
|
/* source-sans-pro-600 - latin */
|
|
@font-face {
|
|
font-family: 'Source Sans Pro';
|
|
font-style: normal;
|
|
font-weight: 600;
|
|
src: url('./font/source-sans-pro-v9-latin-600.eot'); /* IE9 Compat Modes */
|
|
src: local('Source Sans Pro Semibold'), local('SourceSansPro-Semibold'),
|
|
url('./font/source-sans-pro-v9-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
|
url('./font/source-sans-pro-v9-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
|
|
url('./font/source-sans-pro-v9-latin-600.woff') format('woff'), /* Modern Browsers */
|
|
url('./font/source-sans-pro-v9-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
|
|
url('./font/source-sans-pro-v9-latin-600.svg#SourceSansPro') format('svg'); /* Legacy iOS */
|
|
}
|
|
|
|
body {
|
|
font-family: 'Source Sans Pro', arial, sans-serif;
|
|
font-size: 16px;
|
|
line-height: 1.6em;
|
|
margin: 0 auto;
|
|
padding: 30px 0 0;
|
|
width: 320px;
|
|
}
|
|
|
|
header::after,
|
|
section::after,
|
|
main::after,
|
|
footer::after {
|
|
content: '';
|
|
display: block;
|
|
clear: both;
|
|
}
|
|
|
|
footer,
|
|
header {
|
|
font-size: 0.75em;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
color: #000;
|
|
}
|
|
|
|
section { float: left; }
|
|
|
|
ul {
|
|
float: left;
|
|
margin: 0 15px 30px;
|
|
padding: 0;
|
|
}
|
|
|
|
li {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
footer li,
|
|
header li {
|
|
display: inline-block;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
footer a,
|
|
header a {
|
|
padding: 4px 8px;
|
|
}
|
|
|
|
footer li:first-of-type a,
|
|
header li:first-of-type a {
|
|
padding-left: 0;
|
|
}
|
|
|
|
.logo {
|
|
background: url("./img/ObleyMirror_100.jpg") no-repeat;
|
|
color: transparent;
|
|
float: right;
|
|
height: 100px;
|
|
width: 100px;
|
|
}
|
|
|
|
section ul li:first-child,
|
|
main ul li:first-child {
|
|
font-weight: 600;
|
|
border-bottom: 1px solid;
|
|
margin-bottom: 0.4em;
|
|
}
|
|
|
|
section ul,
|
|
main ul {
|
|
width: 290px;
|
|
}
|
|
|
|
section a::after,
|
|
main a::after {
|
|
content: "\00BB";
|
|
font-size: 0.9em;
|
|
margin: 0 0 0 4px;
|
|
position: relative;
|
|
top: -1px;
|
|
}
|
|
|
|
section a:hover::after,
|
|
main a:hover::after {
|
|
margin-left: 8px;
|
|
}
|
|
|
|
@media screen and (min-width: 768px) {
|
|
body{
|
|
width: 760px;
|
|
}
|
|
|
|
.logo {
|
|
margin-right: 15px;
|
|
}
|
|
|
|
header {
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
section ul,
|
|
main ul {
|
|
width: calc(760px / 3 - 30px);
|
|
}
|
|
|
|
ul:nth-of-type(3n) { clear: both; }
|
|
}
|