Initial commit
This commit is contained in:
256
themes/default/default.css
Normal file
256
themes/default/default.css
Normal file
@ -0,0 +1,256 @@
|
||||
html, body { margin: 0; padding: 0; }
|
||||
|
||||
body {
|
||||
font: 14px open-sans, 'Segoe UI', sans-serif;
|
||||
|
||||
background: #fff url(img/stripe.png);
|
||||
color: #8d8d8d;
|
||||
}
|
||||
|
||||
a { color: #1ecc88; text-decoration: none; }
|
||||
|
||||
h1 { font: 32px bebas-neue, sans-serif; letter-spacing: 10px; }
|
||||
h2 { font: 28px bebas-neue, sans-serif; letter-spacing: 4px; color: #40a5e3; }
|
||||
|
||||
img { border: 0; }
|
||||
|
||||
textarea { resize: none; height: 100px; }
|
||||
|
||||
input, button, textarea {
|
||||
font: 14px open-sans, 'Segoe UI', sans-serif;
|
||||
box-shadow: 0 0 0.4em #f0f0f0;
|
||||
border: 1px solid #b6b6b6;
|
||||
background-color: #FFF;
|
||||
margin: 1em 0 0 0;
|
||||
padding: 0.6em 10px;
|
||||
width: 210px;
|
||||
|
||||
transition: 0.25s ease-in background;
|
||||
}
|
||||
input, textarea { display: block; }
|
||||
button {
|
||||
color: #FFF;
|
||||
border: 0;
|
||||
background-color: #0776d8;
|
||||
cursor: pointer;
|
||||
width: 232px;
|
||||
}
|
||||
|
||||
|
||||
/* ENTRY EDITOR */
|
||||
form[name="entry-edit"] input { width: 978px; }
|
||||
form[name="entry-edit"] button { width: 1000px; }
|
||||
|
||||
|
||||
/* COLORED THINGS */
|
||||
button.orange { background-color: #dd823b; }
|
||||
input:hover, input:focus, textarea:hover, textarea:focus { background-color: #f0f0f0; }
|
||||
button:hover { background-color: #0560b1; }
|
||||
|
||||
|
||||
|
||||
.clear { clear: both; }
|
||||
|
||||
p.phantom {
|
||||
padding: 1.4em 0;
|
||||
text-align: center;
|
||||
background-color: #fffef2;
|
||||
}
|
||||
|
||||
#errors, #infos {
|
||||
background-color: #ff0000;
|
||||
color: #FFF;
|
||||
text-align: center;
|
||||
}
|
||||
#infos { background-color: #fffed9; color: #222222; }
|
||||
#errors ul, #infos ul { margin: 0; padding: 0; }
|
||||
#errors li, #infos li { margin: 0; padding: 0.5em 0; list-style: none; }
|
||||
|
||||
#page,
|
||||
#footer {
|
||||
min-width: 1000px;
|
||||
width: 1000px;
|
||||
|
||||
background: #FFF;
|
||||
|
||||
margin: 20px auto;
|
||||
padding: 14px;
|
||||
|
||||
box-shadow: 0 0 0.4em #999999;
|
||||
}
|
||||
|
||||
/*#main { float: left; width: 70%; }
|
||||
#sidebar { float: right; width: 28%; }*/
|
||||
|
||||
#header {
|
||||
padding: 20px;
|
||||
background: #020202;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#title {
|
||||
float: left;
|
||||
|
||||
color: #FFF;
|
||||
border-right: 1px dotted #fff;
|
||||
padding-right: 10px;
|
||||
}
|
||||
#title h1 {
|
||||
color: #FFF;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#title p { padding: 0; margin: 0; }
|
||||
|
||||
#menu {
|
||||
float: right;
|
||||
list-style: none;
|
||||
|
||||
margin: 20px 0 0 0;
|
||||
padding: 0;
|
||||
}
|
||||
#menu li {
|
||||
display: inline-block;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
#menu a {
|
||||
padding: 10px 20px;
|
||||
|
||||
color: #FFF;
|
||||
background: #020202;
|
||||
border: 1px solid transparent;
|
||||
|
||||
text-transform: uppercase;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#menu a:hover,
|
||||
#menu a.active {
|
||||
border: 1px solid #c6c6c6;
|
||||
background: #1f1f1f;
|
||||
}
|
||||
|
||||
#content {
|
||||
padding-top: 20px;
|
||||
text-align: justify;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
#content ul { list-style-type: hebrew; margin: 0; padding: 0 0 0 1.4em; }
|
||||
#content ul li { padding: 0.4em 0; }
|
||||
|
||||
#content h1 { font-size: 28px; margin: 0.2em 0 0 0; padding: 0; letter-spacing: 0.12em; }
|
||||
#content h2 { margin: 0; padding: 0; }
|
||||
#content h3 { color: #009dff; text-transform: uppercase; margin: 0; padding: 0; }
|
||||
|
||||
#content div.profile { margin-top: 1em; }
|
||||
|
||||
#content div.profile.pic {
|
||||
float: left;
|
||||
width: 290px;
|
||||
}
|
||||
|
||||
#content div.profile p,
|
||||
#content div.profile h2 { margin: 0; padding: 6px; }
|
||||
|
||||
#content div.profile.details {
|
||||
float: right;
|
||||
width: 699px;
|
||||
}
|
||||
|
||||
div.profile.details div.box {
|
||||
float: left;
|
||||
box-shadow: 0 0 0.4em #dbdbdb;
|
||||
background-color: #f5f5f5;
|
||||
margin: 1em 0 0 0;
|
||||
}
|
||||
div.profile.details div.spacer { float: left; width: 10px; height: 1px; }
|
||||
|
||||
div.box { width: 340px; min-height: 100px; border-left: 4px solid #7ad03a; }
|
||||
div.box.recent { text-transform: uppercase; }
|
||||
div.box.contact { border-left-color: #52accc; }
|
||||
div.box.introduction { border-left-color: #dd823b; width: 693px; }
|
||||
|
||||
#profile_pic {
|
||||
width: 252px;
|
||||
height: 252px;
|
||||
background-size: cover;
|
||||
border-radius: 0.4em;
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#profile_pic button {
|
||||
width: 48%;
|
||||
border: 0;
|
||||
margin: 0;
|
||||
box-shadow: none;
|
||||
opacity: 0;
|
||||
|
||||
transition: 0.25s ease-in opacity;
|
||||
}
|
||||
#profile_pic:hover button { opacity: 1; }
|
||||
|
||||
|
||||
/* ARTICLES, POSTS */
|
||||
|
||||
article { margin: 0 0 2em 0; background-color: #f3f3f3; padding: 0.4em; }
|
||||
article.full { background-color: #FFF; }
|
||||
article p.meta a,
|
||||
article p.meta time { margin: 0 1em 0 0; }
|
||||
article p.meta a:before,
|
||||
article p.meta time:before { font: 18px typicons; padding-right: 0.2em; }
|
||||
|
||||
article p.meta time:before { content: '\e120'; }
|
||||
article p.meta a.by:before { content: '\e12c'; }
|
||||
article p.meta a.pin:before { content: '\e0c9'; }
|
||||
article p.meta span.admin a.edit:before { content: '\e067'; }
|
||||
article p.meta span.admin a.delete:before { content: '\e058'; }
|
||||
|
||||
article div.content a { color: #222222; }
|
||||
article div.content a:hover { text-decoration: underline; }
|
||||
|
||||
article p.paginator a { margin: 1em 1em 0 0; }
|
||||
|
||||
/* PROFILE */
|
||||
|
||||
div.box.recent p a:before { font: 18px typicons; padding-right: 0.2em; content: '\e0bf'; }
|
||||
|
||||
#content div.profile h3 a.edit { padding-left: 1em; }
|
||||
#content div.profile h3 a.edit:before { font: 28px typicons; padding-right: 0.2em; content: '\e067'; }
|
||||
|
||||
|
||||
/* DESIGNED TABLE */
|
||||
|
||||
table.designed {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border-spacing: 0;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
table button { padding: 0.2em; margin: 0; width: 120px; }
|
||||
|
||||
table.designed td { padding: 0.4em; }
|
||||
table.designed tr:nth-child(3n+0) { background: #eaeaea; }
|
||||
table.designed tr:first-child { background: #202434; color: #FFF; font-weight: bold; }
|
||||
table.designed tr td:first-child { font-weight: bold; }
|
||||
|
||||
|
||||
#sidebar {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: 0;
|
||||
height: 100%;
|
||||
|
||||
background: rgba(0,0,0,0.8);
|
||||
text-align: center;
|
||||
}
|
||||
#sidebarSw { float: left; background-color: #000; width: 20px; height: 100%; cursor: pointer; }
|
||||
#sidebarCt { float: right; display: none; padding: 1em; }
|
||||
|
||||
#sidebar ul { margin: 0; padding: 0; }
|
||||
#sidebar ul li { list-style: none; margin: 0; padding: 0; }
|
BIN
themes/default/font/typicons.eot
Normal file
BIN
themes/default/font/typicons.eot
Normal file
Binary file not shown.
1
themes/default/font/typicons.min.css
vendored
Normal file
1
themes/default/font/typicons.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1180
themes/default/font/typicons.svg
Normal file
1180
themes/default/font/typicons.svg
Normal file
File diff suppressed because it is too large
Load Diff
After Width: | Height: | Size: 182 KiB |
BIN
themes/default/font/typicons.ttf
Normal file
BIN
themes/default/font/typicons.ttf
Normal file
Binary file not shown.
BIN
themes/default/font/typicons.woff
Normal file
BIN
themes/default/font/typicons.woff
Normal file
Binary file not shown.
12
themes/default/footer.php
Normal file
12
themes/default/footer.php
Normal file
@ -0,0 +1,12 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div id="footer">
|
||||
<p style="float:left">Copyright © <?=date('Y')?> <?=$_set['title']?><?=(!LOGGEDIN ? '<br/><a href="/login">'.$_locale["login"].'</a>' : '')?></p>
|
||||
<p style="float:right">Powered by <a href="http://sandros.hu/">Insanely</a>.</p>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
<?php get_page_extra_body(); ?>
|
||||
</body>
|
||||
</html>
|
34
themes/default/header.php
Normal file
34
themes/default/header.php
Normal file
@ -0,0 +1,34 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title><?php get_page_title(); ?></title>
|
||||
<meta charset="utf-8" />
|
||||
<link href="/includes/css/ui-lightness/jquery-ui.custom.min.css" rel="stylesheet" />
|
||||
<link href="/<?=get_theme_lib()?>/font/typicons.min.css" rel="stylesheet" />
|
||||
<link rel="stylesheet" href="/<?=get_theme_lib()?>/default.css" type="text/css" media="screen" />
|
||||
<script src="//use.edgefonts.net/bebas-neue:n4:all;open-sans:n3,i3,n4,i4,n6,i6,n7,i7,n8,i8:all.js"></script>
|
||||
<script src="/includes/js/jquery.js"></script>
|
||||
<script src="/includes/js/jquery-ui.custom.min.js"></script>
|
||||
<script src="/includes/js/functions.js"></script>
|
||||
<meta name="keywords" content="<?=($description ? $description : $_set['description'])?>" />
|
||||
<meta name="description" content="<?=($description ? $description : $_set['description'])?>" />
|
||||
<?php get_page_extra_head(); ?>
|
||||
</head>
|
||||
<body>
|
||||
<div id="page">
|
||||
<div id="header">
|
||||
<div id="title">
|
||||
<a href="/"><h1><?=$_set['title']?></h1></a>
|
||||
<p><?=$_set['tagline']?></p>
|
||||
</div>
|
||||
<ul id="menu">
|
||||
<?php get_navigation(); ?>
|
||||
</ul>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<!--[if lt IE 7]>
|
||||
<p style="background: yellow; padding: 2em; color: #000; text-align: center;">You are using an <strong>old</strong> browser. <a href="http://browsehappy.com/">Upgrade</a> your browser.</p>
|
||||
<![endif]-->
|
||||
<div id="main">
|
||||
<div id="content">
|
||||
<?php get_errors(); get_infos(); ?>
|
BIN
themes/default/img/stripe.png
Normal file
BIN
themes/default/img/stripe.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 133 B |
17
themes/default/template.php
Normal file
17
themes/default/template.php
Normal file
@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
addHead('<script src="/'.get_theme_lib().'/theme.js"></script>');
|
||||
|
||||
include get_theme_lib().'/header.php';
|
||||
|
||||
echo get_site_body();
|
||||
|
||||
?>
|
||||
<div id="sidebar">
|
||||
<div id="sidebarSw"></div>
|
||||
<div id="sidebarCt"><?php include 'includes/sidebar/sidebar.php'; ?></div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<?php
|
||||
|
||||
include get_theme_lib().'/footer.php';
|
8
themes/default/theme.js
Normal file
8
themes/default/theme.js
Normal file
@ -0,0 +1,8 @@
|
||||
$(document).ready(function(){
|
||||
$("#sidebarSw").click(function(){
|
||||
if ($("#sidebarCt").hasClass('open'))
|
||||
$("#sidebarCt").css('display', 'hidden').animate({'width': '0px'}).removeClass('open');
|
||||
else
|
||||
$("#sidebarCt").css('display', 'block').animate({'width': '300px'}).addClass('open');
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user