New Font Ubuntu for headers

This commit is contained in:
Krivchikov Dmitry 2014-11-16 09:52:36 +03:00
parent e34c3a8fcd
commit 3482540b5e
4 changed files with 7 additions and 1 deletions

View File

@ -36,6 +36,7 @@
</script> </script>
<?php endif; ?> <?php endif; ?>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Ubuntu:400&subset=Cyrillic">
</head> </head>
<body> <body>

View File

@ -22,6 +22,8 @@
<?php endforeach; ?> <?php endforeach; ?>
</script> </script>
<?php endif; ?> <?php endif; ?>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Ubuntu:400&subset=Cyrillic">
</head> </head>
<body style="padding: 10px 25px; overflow-y: scroll;"> <body style="padding: 10px 25px; overflow-y: scroll;">

View File

@ -107,7 +107,7 @@
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-12">
<a href="/page/point/id/<?= $randomPoint->id ?>" style="float: left; margin: 0 20px 0 0;"><img src="<?= $randomPoint->getImg() ?>" style="width: 200px;"/></a> <a href="/page/point/id/<?= $randomPoint->id ?>" style="float: left; margin: 0 20px 0 0;"><img src="<?= $randomPoint->getImg() ?>" style="width: 200px;"/></a>
<h2 style="margin-top: 0;">Это интересно: <?= $randomPoint->name ?></h2> <h3 style="margin-top: 0;">Это интересно: <?= $randomPoint->name ?></h3>
<p> <p>
<?= mb_substr($randomPoint->description, 0, 400, 'UTF-8') ?>... <?= mb_substr($randomPoint->description, 0, 400, 'UTF-8') ?>...
<a class="" href="/page/point/id/<?= $randomPoint->id ?>" role="button"><nobr> читать далее »</nobr></a> <a class="" href="/page/point/id/<?= $randomPoint->id ?>" role="button"><nobr> читать далее »</nobr></a>

View File

@ -8,6 +8,9 @@
html {height: 100%;} html {height: 100%;}
body {margin: 0; padding: 0; height: 100%; width: 100%; overflow: hidden;} body {margin: 0; padding: 0; height: 100%; width: 100%; overflow: hidden;}
html body h1 {font-family: Ubuntu, inherit;}
html body h2 {font-family: Ubuntu, inherit;}
html body h3 {font-family: Ubuntu, inherit;}
div#map {width: 100%; position: absolute; top: 0; bottom: 0px;} div#map {width: 100%; position: absolute; top: 0; bottom: 0px;}
body.openBox div#map {right: 250px;} body.openBox div#map {right: 250px;}
div.clear {clear: both;} div.clear {clear: both;}