060520 Theme optimization and mobile layout changes
This commit is contained in:
@ -64,9 +64,11 @@
|
||||
}
|
||||
</style>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" media='screen and (min-width: 801px)' href='./<?php echo themes("file","css/style.css")?>?id=<?php echo mt_rand(1000, 2500); ?>' />
|
||||
<link rel="stylesheet" media='screen and (max-width: 800px)' href='./<?php echo themes("file","css/mobile.css")?>?id=<?php echo mt_rand(1000, 2500); ?>' />
|
||||
<link rel="stylesheet" href='./<?php echo ($user_settings['theme'] == "custom" ? themes("file","css/color.php") : themes("file","css/color.css"))?>?id=<?php echo mt_rand(1000, 2500); ?>' />
|
||||
<link rel="stylesheet" media='screen and (min-width: 801px)' href='./css/style.css?id=<?php echo mt_rand(1000, 2500); ?>' />
|
||||
<link rel="stylesheet" media='screen and (max-width: 800px)' href='./css/mobile.css?id=<?php echo mt_rand(1000, 2500); ?>' />
|
||||
<?php if (file_exists("themes/".$user_settings['theme']."/css/style.css")) { ?><link rel="stylesheet" media='screen and (min-width: 801px)' href='./<?php echo themes("file","css/style.css")?>?id=<?php echo mt_rand(1000, 2500); ?>' /><?php } ?>
|
||||
<?php if (file_exists("themes/".$user_settings['theme']."/css/mobile.css")) { ?><link rel="stylesheet" media='screen and (max-width: 800px)' href='./<?php echo themes("file","css/mobile.css")?>?id=<?php echo mt_rand(1000, 2500); ?>' /><?php } ?>
|
||||
<link rel="stylesheet" href="./css/animation.css"><!--[if IE 7]><link rel="stylesheet" href="css/" + font.fontname + "-ie7.css"><![endif]-->
|
||||
<link rel="stylesheet" href="./css/animate.css">
|
||||
|
||||
@ -79,9 +81,9 @@ if ($logedin) {
|
||||
?>
|
||||
|
||||
<div id='hiddenside'></div>
|
||||
<div class='gotop'><a href='#top'>▲</a></div>
|
||||
<div class='gotop desktop'><a href='#top'>▲</a></div>
|
||||
<div class="topbar" style='text-align:center; background-color:none;'>
|
||||
<div class="topbar" style='position:fixed; top:0px; left:0px; height:45px; z-index:99;'>
|
||||
<div class="topbar" style='height:45px; z-index:99;'>
|
||||
<span style='float:left; line-height:45px;padding-left:10px;' class='appname'>
|
||||
<a href="./<?php echo ($logedin ? "?mode=home" : ""); ?>" style="font-family: 'patua', serif; font-weight:bold; color:white; font-size:20px; text-decoration:none" ><?php echo $setting['appname']; ?></a>
|
||||
</span>
|
||||
@ -115,7 +117,7 @@ if ($logedin) {
|
||||
<span style='float:right; margin-right:20px; height:100%;'>
|
||||
<?php if ($logedin): ?>
|
||||
<span class="topbutton desktop" style='position:relative;'>
|
||||
<div style='position:absolute; left:-200px; display:none;' class="search"><form method='get'><input type='text' name='search' style='width:150px' placeholder='Type your search here'><input type='submit' value='' class='fontello'></form></div>
|
||||
<div style='position:absolute; left:-200px; display:none; height: 50%; background-color:white; border-radius:10px; padding: 2px; margin-top: 8px;' class="search"><form method='get' style="margin-top:-11px;"><input type='text' name='search' style='margin-left:3px; width:150px' placeholder='Type your search here'><input type='submit' value='' class='fontello'></form></div>
|
||||
<a href='?page=search' class='searchform fontello topicon' onClick='return false'></a>
|
||||
</span>
|
||||
|
||||
@ -132,7 +134,7 @@ if ($logedin) {
|
||||
|
||||
<span class="topbutton" id="usermenu">
|
||||
<span class='fontello topicon' style='display:inline; font-size:20px;'></span>
|
||||
<div class='menu postMenu'>
|
||||
<div class='menu'>
|
||||
<ul>
|
||||
<?php if ($logedin): ?>
|
||||
<li class='mobile' style=''><a class='fontello ldr link' href='?mode=federated' onClick='return false'> Federated</a></li>
|
||||
@ -146,8 +148,8 @@ if ($logedin) {
|
||||
<li class='mobile' style=''><a class='fontello searchmobiletoggle link' href='?page=search' onClick='return false;'> Search</a></li>
|
||||
<li class='mobile' style=''></li>
|
||||
<?php endif; ?>
|
||||
<li style=''><a class='fontello ldr link' href='?page=settings' onClick='return false'> Settings</a></li>
|
||||
<li style=''><a class='fontello link' href='./logout'> Log Out</a></li>
|
||||
<li><a class='fontello ldr link' href='?page=settings' onClick='return false'> Settings</a></li>
|
||||
<li><a class='fontello link' href='./logout'> Log Out</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</span>
|
||||
@ -187,7 +189,7 @@ endif; ?>
|
||||
<div id='posts'>
|
||||
<?php if ($logedin) { ?>
|
||||
<div class='element' id="searchmobile">
|
||||
<div class='avatar' style='background-image:url(:avatar:) :style:'></div>
|
||||
<div class='avatar desktop' style='background-image:url(:avatar:) :style:'></div>
|
||||
<div class='searchmobile' style="padding-top: 15px; padding-bottom: 15px;">
|
||||
<form method="get">
|
||||
<span class="searchmobiletoggle" style='padding-left:0px;padding-right:5px;font-weight:bold;'>X</span>
|
||||
@ -199,7 +201,7 @@ endif; ?>
|
||||
|
||||
|
||||
<div class='element' id='postform' style=''>
|
||||
<div class='avatar' style='background-image:url(<?php echo $user_settings['avatar']; ?>)'></div>
|
||||
<div class='avatar desktop' style='background-image:url(<?php echo $user_settings['avatar']; ?>)'></div>
|
||||
<div class='postform form' style='display:block;'>
|
||||
<div style='text-align:right; width:95%; margin: 13px auto; display:block;'>
|
||||
<form action='status.php' method='post' enctype='multipart/form-data'>
|
||||
|
Reference in New Issue
Block a user