mirror of
https://github.com/kremalicious/krtmn.git
synced 2024-12-22 01:03:28 +01:00
kick out old styling, start fresh
This commit is contained in:
parent
3e9d10e289
commit
25613db412
31
index.php
31
index.php
@ -17,35 +17,34 @@ $items = yourls_api_stats( 'last', 1 );
|
||||
<title>krt.mn</title>
|
||||
<meta name="description" content="personal url shortener of web & ui designer matthias kretschmann">
|
||||
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<link rel="stylesheet" href="user/css/h5bp.css">
|
||||
<link href='//fonts.googleapis.com/css?family=Lato:100' rel='stylesheet' type='text/css'>
|
||||
<link rel="stylesheet" href="user/css/krtmn.css">
|
||||
<link rel="stylesheet" href="<?php yourls_site_url(); ?>/user/css/h5bp.css">
|
||||
<link rel="stylesheet" href="<?php yourls_site_url(); ?>/user/css/krtmn.css">
|
||||
<link rel="stylesheet" href="<?php yourls_site_url(); ?>/user/css/public.css">
|
||||
|
||||
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="/apple-touch-icon-114x114-precomposed.png">
|
||||
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="/apple-touch-icon-72x72-precomposed.png">
|
||||
<link rel="shortcut icon" href="/apple-touch-icon-precomposed.png">
|
||||
<link rel="shortcut icon" href="/favicon.ico">
|
||||
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="<?php yourls_site_url(); ?>/apple-touch-icon-114x114-precomposed.png">
|
||||
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="<?php yourls_site_url(); ?>/apple-touch-icon-72x72-precomposed.png">
|
||||
<link rel="shortcut icon" href="<?php yourls_site_url(); ?>/apple-touch-icon-precomposed.png">
|
||||
<link rel="shortcut icon" href="<?php yourls_site_url(); ?>/favicon.ico">
|
||||
|
||||
</head>
|
||||
|
||||
<body id="public">
|
||||
|
||||
<article class="content">
|
||||
<header>
|
||||
<h1><i class="icon-bookmark"></i><a href="/admin">krt.mn</a></h1>
|
||||
<h1><i class="icon-bookmark"></i><a href="<?php yourls_site_url(); ?>/admin">krt.mn</a></h1>
|
||||
</header>
|
||||
<article role="main">
|
||||
<main role="main">
|
||||
<?php foreach( $items['links'] as $item ) { ?>
|
||||
<p>Latest short url: <a href="<?php echo $item['shorturl']; ?>"><?php echo $item['shorturl']; ?> <span class="title"><?php echo $item['title']; ?></span></a></p>
|
||||
<?php } ?>
|
||||
|
||||
</article>
|
||||
</main>
|
||||
<footer>
|
||||
|
||||
<p><small>personal url shortener of web & ui designer <a href="http://mkretschmann.com">matthias kretschmann</a>. You should follow me on <a href="http://twitter.com/kremalicious">twitter</a>.</small></p>
|
||||
<p><small>icon font <a href="http://fortawesome.github.com/Font-Awesome/">Font Awesome</a></small></p>
|
||||
|
||||
<p><small>personal url shortener of designer & developer <a href="https://matthiaskretschmann.com">matthias kretschmann</a>. You should follow me on <a href="https://twitter.com/kremalicious">twitter</a>.</small></p>
|
||||
</footer>
|
||||
</article>
|
||||
|
||||
<script>
|
||||
var _gaq=[['_setAccount','UA-1441794-9'],['_trackPageview']];
|
||||
|
File diff suppressed because it is too large
Load Diff
12
user/css/public.css
Normal file
12
user/css/public.css
Normal file
@ -0,0 +1,12 @@
|
||||
|
||||
#public {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
.content {
|
||||
max-width: 35em;
|
||||
}
|
@ -28,10 +28,10 @@ function krtmn_change_title( $value, $title ) {
|
||||
|
||||
|
||||
// custom css
|
||||
yourls_add_action( 'html_head', 'krtmn_css' );
|
||||
yourls_add_action( 'html_head', 'krtmn_assets' );
|
||||
|
||||
function krtmn_css() {
|
||||
echo '<link rel="stylesheet" href="/user/css/krtmn.css" />';
|
||||
function krtmn_assets() {
|
||||
echo '<link rel="stylesheet" href="'. YOURLS_SITE .'/user/css/krtmn.css" />';
|
||||
}
|
||||
|
||||
// favicon & touch icons
|
||||
@ -49,7 +49,7 @@ function krtmn_touch_icons() {
|
||||
yourls_add_action( 'html_head', 'krtmn_viewport' );
|
||||
|
||||
function krtmn_viewport() {
|
||||
echo '<meta name="viewport" content="width=device-width">';
|
||||
echo '<meta name="viewport" content="width=device-width, initial-scale=1">';
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user