Initial commit
This commit is contained in:
298
template/temp/new/css.php
Normal file
298
template/temp/new/css.php
Normal file
@@ -0,0 +1,298 @@
|
||||
<?php
|
||||
header("Content-type: text/css; charset: UTF-8");
|
||||
?>
|
||||
body, html{
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
text-align: center;
|
||||
background: #f4f4f4;
|
||||
}
|
||||
/* Главные контейнеры */
|
||||
#hbody {
|
||||
position: fixed;
|
||||
height: 30px;
|
||||
width: 100%;
|
||||
background: rgb(237,232,237);
|
||||
background-image: linear-gradient(bottom, rgb(194,194,194) 15%, rgb(237,232,237) 57%);
|
||||
background-image: -o-linear-gradient(bottom, rgb(194,194,194) 15%, rgb(237,232,237) 57%);
|
||||
background-image: -moz-linear-gradient(bottom, rgb(194,194,194) 15%, rgb(237,232,237) 57%);
|
||||
background-image: -webkit-linear-gradient(bottom, rgb(194,194,194) 15%, rgb(237,232,237) 57%);
|
||||
background-image: -ms-linear-gradient(bottom, rgb(194,194,194) 15%, rgb(237,232,237) 57%);
|
||||
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0.15, rgb(194,194,194)), color-stop(0.57, rgb(237,232,237)));
|
||||
color: #666;
|
||||
/* text-shadow: -1px -1px #666, 1px 1px #FFF;*/
|
||||
text-shadow: 1px 1px 3px #666, -1px -1px 3px #FFF, 1px 1px #666, -1px -1px #FFF;
|
||||
font-family: serif;
|
||||
font-size:20px;
|
||||
top:0px;
|
||||
z-index:10;
|
||||
}
|
||||
|
||||
#shome{
|
||||
position: relative;
|
||||
top: 0px;
|
||||
float: left;
|
||||
left: 0px;
|
||||
width:100px;
|
||||
}
|
||||
|
||||
|
||||
#smenu{
|
||||
position: relative;
|
||||
margin: 0px auto;
|
||||
width:400px;
|
||||
}
|
||||
|
||||
#slng{
|
||||
text-transform: uppercase;
|
||||
position: relative;
|
||||
float: right;
|
||||
width:100px;
|
||||
}
|
||||
|
||||
/*#slng {position:relative;z-index:100;}*/
|
||||
|
||||
#slng ul li a,#slng ul li a:visited {display:block;text-decoration:none;text-align:center;line-height:20px;overflow:hidden;}
|
||||
|
||||
#slng ul {padding:0;margin:0;list-style: none;}
|
||||
|
||||
#slng ul li {float:left;position:relative;width:100px;}
|
||||
|
||||
#slng ul li ul {display: none; background: rgb(237,232,237);}
|
||||
|
||||
/* specific to non IE browsers */
|
||||
#slng ul li:hover a { }
|
||||
|
||||
#slng ul li:hover ul {display:block;position:absolute;top:21px;left:0;width:50px;}
|
||||
|
||||
#slng ul li:hover ul li a.hide { }
|
||||
|
||||
#slng ul li:hover ul li:hover a.hide { }
|
||||
|
||||
#slng ul li:hover ul li ul {display: none;}
|
||||
|
||||
#slng ul li:hover ul li a {display:block;}
|
||||
|
||||
#slng ul li:hover ul li a:hover { }
|
||||
|
||||
#slng ul li:hover ul li:hover ul {display:block;position:absolute;left:50px;top:0;}
|
||||
|
||||
#slng ul li:hover ul li:hover ul.left {left:-105px;}
|
||||
|
||||
#f button{
|
||||
/**/ color:#666;
|
||||
background:none;
|
||||
cursor:pointer;
|
||||
border:0;
|
||||
text-shadow: 1px 1px 3px #666, -1px -1px 3px #FFF, 1px 1px #666, -1px -1px #FFF;
|
||||
font-family: serif;
|
||||
font-size:20px;
|
||||
}
|
||||
|
||||
#f, #f button{
|
||||
display:inline;
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
#f button:hover{
|
||||
color: rgb(153,153,153);
|
||||
text-shadow: -1px -1px #666, 1px 1px #FFF;
|
||||
}
|
||||
|
||||
|
||||
|
||||
#hbody a{
|
||||
color: #666;
|
||||
text-shadow: 1px 1px 3px #666, -1px -1px 3px #FFF, 1px 1px #666, -1px -1px #FFF;
|
||||
text-decoration: none;/**/
|
||||
}
|
||||
|
||||
#hbody a:hover{
|
||||
color: rgb(153,153,153);
|
||||
text-shadow: -1px -1px #666, 1px 1px #FFF;
|
||||
}
|
||||
|
||||
#pbody {
|
||||
min-height: 100%;
|
||||
position: relative;
|
||||
width: 95%;
|
||||
margin: 0px auto;
|
||||
background: #ffffff;
|
||||
top:50px;
|
||||
}
|
||||
|
||||
|
||||
#head {
|
||||
height: 100px;
|
||||
left:-1px;
|
||||
top:-1px;
|
||||
width: 100%;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#slogo{
|
||||
left: 5px;
|
||||
float: left;
|
||||
position: relative;
|
||||
width: 80px;
|
||||
height: 99px;
|
||||
background-image: url(/img/Raspberry_Pi_Logo.svg);
|
||||
background-repeat: no-repeat;
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
#sname{
|
||||
width:200px;
|
||||
/* max-width:10%;*/
|
||||
height: 37px;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
background-image: url(/img/rpi.svg);
|
||||
background-repeat: no-repeat;
|
||||
top: 40px;
|
||||
}
|
||||
|
||||
#sslogan{
|
||||
border: 1px solid #000000;
|
||||
overflow: hidden;
|
||||
text-align: left;
|
||||
margin-top:10px;
|
||||
}
|
||||
|
||||
#hmemo{
|
||||
position: relative;
|
||||
width: 150px;
|
||||
height: 99px;
|
||||
float: right;
|
||||
background-image: url(/img/rpi.gif);
|
||||
background-repeat: no-repeat;
|
||||
background-size: auto 100px;
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
#hmenu{
|
||||
top: -30px;
|
||||
border: 1px solid #000000;
|
||||
position: relative;
|
||||
width: 600px;
|
||||
margin: 0 auto;
|
||||
margin-bottom:0px;
|
||||
height: 30px;
|
||||
}
|
||||
|
||||
#smap{
|
||||
/* border: 1px solid #000000;
|
||||
text-align: left;*/
|
||||
position: relative;
|
||||
margin: 0 auto;
|
||||
margin-top:5px;
|
||||
width: 99%;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
#smap a{
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#fclear{
|
||||
clear:both;
|
||||
}
|
||||
#footer {
|
||||
height: 100px;
|
||||
position: relative;
|
||||
left: -1px;
|
||||
bottom: -1px;
|
||||
width: 100%;
|
||||
border: 1px solid #0ffff0;
|
||||
}
|
||||
|
||||
#left-float,
|
||||
#right-float,
|
||||
.center-float {
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
#left-float {
|
||||
float: left;
|
||||
}
|
||||
#right-float {
|
||||
float: right;
|
||||
}
|
||||
#left-float:empty,
|
||||
#right-float:empty {
|
||||
width: 0px;
|
||||
}
|
||||
#left-float:not(:empty),
|
||||
#right-float:not(:empty) {
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
.center-float {
|
||||
float: none;
|
||||
width: auto;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.bfloat{
|
||||
overflow-x: hidden;
|
||||
border: 1px solid #f44180;
|
||||
left: -1px;
|
||||
top: -1px;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
border-radius: 0 0 10px 10px;
|
||||
}
|
||||
|
||||
.cfloat{
|
||||
left: -1px;
|
||||
top: -1px;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.btitle{
|
||||
white-space: normal;
|
||||
word-wrap: break-word;
|
||||
left: -1px;
|
||||
top: -1px;
|
||||
position: relative;
|
||||
width: calc(100% + 2px);
|
||||
text-align: center;
|
||||
line-height: 30px;
|
||||
font-weight: bold;
|
||||
color: #ffffff;
|
||||
background-image: url(/img/menu_7.jpg);
|
||||
background-size: auto 100% ;
|
||||
border-radius: 10px 10px 0 0;
|
||||
}
|
||||
|
||||
.ctitle{
|
||||
left: 0px;
|
||||
top: -1px;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 20px;
|
||||
text-align: center;
|
||||
line-height: 20px;
|
||||
font-weight: bold;
|
||||
}
|
||||
.cctitle{
|
||||
left: 0px;
|
||||
top: -1px;
|
||||
margin-top: -4px;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 0px;
|
||||
line-height: 00px;
|
||||
}
|
||||
.youtubef{
|
||||
max-width:100%;
|
||||
width:650px;
|
||||
height:360px;
|
||||
{
|
||||
|
||||
62
template/temp/new/page.php
Normal file
62
template/temp/new/page.php
Normal file
@@ -0,0 +1,62 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=%encoding%" />
|
||||
<title>%sitename%</title>
|
||||
<link rel="icon" type="image/ico" href="%icon%" />
|
||||
<link href="%server%template/%template%/css.php" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="hbody">
|
||||
<div id="shome">
|
||||
<a href="%server%">Home</a>
|
||||
</div>
|
||||
<div id="slng">
|
||||
%Menu%
|
||||
</div>
|
||||
<div id="smenu">
|
||||
<a href="#">Raspberry </a>|
|
||||
<a href="#">Сайтостроение </a>|
|
||||
<a href="#">Умный дом</a>
|
||||
</div>
|
||||
</div>
|
||||
<div id="pbody">
|
||||
<div id="head">
|
||||
<div id="slogo" onClick="window.location='%home%'" style="cursor:pointer" ><!---->
|
||||
|
||||
</div>
|
||||
<div id="hmemo">
|
||||
|
||||
</div>
|
||||
<div id="sname" onClick="window.location='%home%'" style="cursor:pointer" >
|
||||
|
||||
</div>
|
||||
<div id="hmenu">
|
||||
%menu%
|
||||
</div>
|
||||
<div id="sslogan">
|
||||
Ваш ник: %User%; Ваш язык: %lng%
|
||||
</div>
|
||||
</div><!---->
|
||||
<div id="smap"><!---->
|
||||
%smap%
|
||||
</div>
|
||||
|
||||
<div id="editableArea">
|
||||
%left%
|
||||
%right%
|
||||
<div class="center-float">
|
||||
<div class="%ctitle%" id="mainTitle">
|
||||
%title%
|
||||
</div>
|
||||
<div class="%cfloat%">
|
||||
<div id="content">%content%</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="fclear"></div>
|
||||
<div id="footer">
|
||||
futer<br>%request_url%<br>%page_url%
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user