Encara bastante el bootstrap y procesa el form por php
This commit is contained in:
parent
afa582e549
commit
e040678301
46
contact-old.html
Normal file
46
contact-old.html
Normal file
@ -0,0 +1,46 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>6to Coloquio Uruguayo de Matémática</title>
|
||||
<meta name="description" content="website description" />
|
||||
<meta name="keywords" content="website keywords, website keywords" />
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
|
||||
<link rel="stylesheet" type="text/css" href="style/style.css" />
|
||||
<script type="text/javascript" src="js/jquery-3.2.1.min.js"></script>
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
|
||||
<script type="text/javascript" src="js/app.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="main">
|
||||
<header id="header"></div>
|
||||
<div id="site_content" class="container">
|
||||
<div class="row">
|
||||
|
||||
<div id="content" class="col-xs-12 col-sm-8">
|
||||
<h1>Contáctenos</h1>
|
||||
<form id="contactform" action="contact.php" method="post">
|
||||
<div class="form_settings">
|
||||
<p><span>Nombre</span><input class="contact" type="text" name="nombre" value="" required/></p>
|
||||
<p><span>Email:</span><input class="contact" type="email" name="email" value="" required/></p>
|
||||
<p><span>Mensage</span><textarea class="contact textarea" rows="8" cols="50" name="mensage" required></textarea></p>
|
||||
<p style="padding-top: 15px"><span> </span><input class="submit" type="submit" name="contact_submitted" value="submit" /></p>
|
||||
</div>
|
||||
</form>
|
||||
<br/>
|
||||
<div id="statusmsg" class="alert alert-success">
|
||||
<strong>Success!</strong> Indicates a successful or positive action.
|
||||
</div>
|
||||
</div>
|
||||
<div id="sidebar" class="sidebar col-xs-12 col-sm-4"></div>
|
||||
</div>
|
||||
</div>
|
||||
<footer id="footer">
|
||||
|
||||
</footer>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
48
contact.html
48
contact.html
@ -2,34 +2,50 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>6to Coloquio Uruguayo de Matémática-Contacto</title>
|
||||
<title>6to Coloquio Uruguayo de Matémática</title>
|
||||
<meta name="description" content="website description" />
|
||||
<meta name="keywords" content="website keywords, website keywords" />
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">-->
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
|
||||
<link rel="stylesheet" type="text/css" href="style/style.css" />
|
||||
<script type="text/javascript" src="js/jquery-3.2.1.min.js"></script>
|
||||
<!-- Latest compiled and minified JavaScript -->
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
|
||||
<script type="text/javascript" src="js/app.js"></script>
|
||||
</head>
|
||||
|
||||
|
||||
<body>
|
||||
<div id="main">
|
||||
<div id="header" class="row"></div>
|
||||
<header id="header"></div>
|
||||
<div id="site_content" class="container">
|
||||
<div class="row">
|
||||
<div class="sidebar" class="col-xs-12 col-sm-4"></div>
|
||||
|
||||
<div id="content" class="col-xs-12 col-sm-8">
|
||||
<h1>Contáctenos</h1>
|
||||
<form id="contactform" action="contact.php" method="post">
|
||||
<div class="form_settings">
|
||||
<p><span>Nombre</span><input class="contact" type="text" name="nombre" value="" required/></p>
|
||||
<p><span>Email:</span><input class="contact" type="email" name="email" value="" required/></p>
|
||||
<p><span>Mensage</span><textarea class="contact textarea" rows="8" cols="50" name="mensage" required></textarea></p>
|
||||
<p style="padding-top: 15px"><span> </span><input class="submit" type="submit" name="contact_submitted" value="submit" /></p>
|
||||
<form id="contactform" action="contact.php" method="post" class="form-horizontal">
|
||||
<div class="form-group">
|
||||
<label class="control-label col-sm-2" for="nombre">Nombre:</label>
|
||||
<div class="col-sm-8">
|
||||
<input type="text" class="form-control" name="nombre" id="nombre" placeholder="Juan Perez" required>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="control-label col-sm-2" for="email">Email:</label>
|
||||
<div class="col-sm-8">
|
||||
<input type="email" class="form-control" name="email" id="email" placeholder="mail@example.com" required>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="control-label col-sm-2" for="mensage">Mensaje:</label>
|
||||
<div class="col-sm-8">
|
||||
<textarea class="form-control" rows="5" name="mensage"
|
||||
id="mensaje" placeholder="Los contacto por...." required></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="col-sm-offset-2 col-sm-8 text-right">
|
||||
<button type="submit" class="btn btn-primary">Enviar</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<br/>
|
||||
@ -37,12 +53,12 @@
|
||||
<strong>Success!</strong> Indicates a successful or positive action.
|
||||
</div>
|
||||
</div>
|
||||
<div id="sidebar" class="sidebar col-xs-12 col-sm-4"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="footer">
|
||||
<p><a href="index.html">Home</a> | <a href="examples.html">Examples</a> | <a href="page.html">A Page</a> | <a href="another_page.html">Another Page</a> | <a href="contact.html">Contact Us</a></p>
|
||||
<p>Copyright © night_sky_2 | <a href="http://validator.w3.org/check?uri=referer">HTML5</a> | <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a> | <a href="http://www.html5webtemplates.co.uk">Website templates</a></p>
|
||||
</div>
|
||||
<footer id="footer">
|
||||
|
||||
</footer>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
27
index.html
27
index.html
@ -7,33 +7,22 @@
|
||||
<meta name="keywords" content="website keywords, website keywords" />
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">-->
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
|
||||
<link rel="stylesheet" type="text/css" href="style/style.css" />
|
||||
<script type="text/javascript" src="js/jquery-3.2.1.min.js"></script>
|
||||
<!-- Latest compiled and minified JavaScript -->
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
|
||||
<script type="text/javascript" src="js/app.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="main">
|
||||
<div id="header" class="row"></div>
|
||||
<header id="header"></div>
|
||||
<div id="site_content" class="container">
|
||||
<div class="row">
|
||||
<div id="sidebar" class="sidebar col-xs-12 col-sm-4"></div>
|
||||
|
||||
<div id="content" class="col-xs-12 col-sm-8">
|
||||
<h1><strong>Bienvenidos al 6º Coloquio Uruguayo de Matemática 2017</strong></h1>
|
||||
<!--<p>This standards compliant, simple, fixed width website template is released as an 'open source' design (under a <a href="http://creativecommons.org/licenses/by/3.0">Creative Commons Attribution 3.0 Licence</a>), which means that you are free to download and use it for anything you want (including modifying and amending it). All I ask is that you leave the 'design from HTML5webtemplates.co.uk' link in the footer of the template, but other than that...</p>
|
||||
<p>This template is written entirely in <strong>HTML5</strong> and <strong>CSS</strong>, and can be validated using the links in the footer.</p>
|
||||
<p>You can view more free HTML5 web templates <a href="http://www.html5webtemplates.co.uk">here</a>.</p>
|
||||
<p>This template is a fully functional 5 page website, with an <a href="examples.html">examples</a> page that gives examples of all the styles available with this design.</p>
|
||||
<h2>Browser Compatibility</h2>
|
||||
<p>This template has been tested in the following browsers:</p>
|
||||
<ul>
|
||||
<li>Internet Explorer 8</li>
|
||||
<li>FireFox 3</li>
|
||||
<li>Google Chrome 13</li>
|
||||
</ul>-->
|
||||
|
||||
|
||||
<h2>Comité organizador</h2>
|
||||
<ul>
|
||||
@ -44,12 +33,12 @@
|
||||
<li>Martín Reiris</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="sidebar" class="sidebar col-xs-12 col-sm-4"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="footer">
|
||||
<p><a href="index.html">Home</a> | <a href="examples.html">Examples</a> | <a href="page.html">A Page</a> | <a href="another_page.html">Another Page</a> | <a href="contact.html">Contact Us</a></p>
|
||||
<p>Copyright © night_sky_2 | <a href="http://validator.w3.org/check?uri=referer">HTML5</a> | <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a> | <a href="http://www.html5webtemplates.co.uk">Website templates</a></p>
|
||||
</div>
|
||||
<footer id="footer">
|
||||
|
||||
</footer>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -12,9 +12,14 @@ function showmsg(msgTxt,ok){
|
||||
$("#statusmsg").show();
|
||||
}
|
||||
$(document).ready(function(){
|
||||
alert(window.location.pathname);
|
||||
$("#statusmsg").hide();
|
||||
$("#header").load("snippets/header.html");
|
||||
$("#footer").load("snippets/footer.html");
|
||||
$(".sidebar").load("snippets/sidebar.html");
|
||||
$("#menu li a").click(function(){
|
||||
$(this).addClass("selected").siblings().removeClass("selected");
|
||||
});
|
||||
$('#contactform').submit(function(event){
|
||||
$("#statusmsg").hide();
|
||||
event.preventDefault();
|
||||
|
@ -2,27 +2,24 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>6to Coloquio Uruguayo de Matémática-Registro</title>
|
||||
<title>6to Coloquio Uruguayo de Matémática</title>
|
||||
<meta name="description" content="website description" />
|
||||
<meta name="keywords" content="website keywords, website keywords" />
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">-->
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
|
||||
<link rel="stylesheet" type="text/css" href="style/style.css" />
|
||||
<script type="text/javascript" src="js/jquery-3.2.1.min.js"></script>
|
||||
<!-- Latest compiled and minified JavaScript -->
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
|
||||
<script type="text/javascript" src="js/app.js"></script>
|
||||
|
||||
</head>
|
||||
|
||||
|
||||
<body>
|
||||
<div id="main">
|
||||
<div id="header" class="row"></div>
|
||||
<header id="header"></div>
|
||||
<div id="site_content" class="container">
|
||||
<div class="row">
|
||||
<div class="sidebar" class="col-xs-12 col-sm-4"></div>
|
||||
|
||||
<div id="content" class="col-xs-12 col-sm-8">
|
||||
<h1>Registrarse</h1>
|
||||
<form id="registerform" action="register.php" method="post">
|
||||
@ -78,12 +75,12 @@
|
||||
<strong>Success!</strong> Indicates a successful or positive action.
|
||||
</div>
|
||||
</div>
|
||||
<div id="sidebar" class="sidebar col-xs-12 col-sm-4"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="footer">
|
||||
<p><a href="index.html">Home</a> | <a href="examples.html">Examples</a> | <a href="page.html">A Page</a> | <a href="another_page.html">Another Page</a> | <a href="contact.html">Contact Us</a></p>
|
||||
<p>Copyright © night_sky_2 | <a href="http://validator.w3.org/check?uri=referer">HTML5</a> | <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a> | <a href="http://www.html5webtemplates.co.uk">Website templates</a></p>
|
||||
</div>
|
||||
<footer id="footer">
|
||||
|
||||
</footer>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
57
register.php
57
register.php
@ -1,5 +1,4 @@
|
||||
<?php
|
||||
// process.php
|
||||
|
||||
$errors = array(); // array to hold validation errors
|
||||
$data = array(); // array to pass back data
|
||||
@ -12,14 +11,14 @@ function setheaders() {
|
||||
fputcsv($fp,$cabezal);
|
||||
fclose($fp);
|
||||
}
|
||||
|
||||
function registrar($fila) {
|
||||
$fp = fopen('registro.csv', 'w');
|
||||
$fp = fopen('registro.csv', 'a');
|
||||
fputcsv($fp,$fila);
|
||||
fclose($fp);
|
||||
}
|
||||
|
||||
// validate the variables ======================================================
|
||||
// if any of these variables don't exist, add an error to our $errors array
|
||||
$data['nombre'] = $_POST['nombre'];
|
||||
$data['apellido'] = $_POST['apellido'];
|
||||
$data['tipodoc'] = $_POST['doctype'];
|
||||
@ -37,46 +36,48 @@ function registrar($fila){
|
||||
$errors['nombre'] = 'Nombre is required.';
|
||||
|
||||
if (empty($_POST['apellido']))
|
||||
$errors['nombre'] = 'Apellido is required.';
|
||||
$errors['apellido'] = 'Apellido is required.';
|
||||
|
||||
if (empty($_POST['doctype']))
|
||||
$errors['doctype'] = 'No seleccionó un tipo de doc';
|
||||
|
||||
if (empty($_POST['docnro']))
|
||||
$errors['docnro'] = 'No ingreso un documento';
|
||||
|
||||
if (empty($_POST['dir']))
|
||||
$errors['dir'] = 'No ingreso una direccion';
|
||||
|
||||
if (empty($_POST['pais']))
|
||||
$errors['pais'] = 'Ingrese el pais de presedencia';
|
||||
|
||||
if (empty($_POST['ciudad']))
|
||||
$errors['ciudad'] = 'Ingrese ciudad de presedencia';
|
||||
|
||||
if (empty($_POST['tel']))
|
||||
$errors['ciudad'] = 'Telefono de contacto vacio o incorrecto';
|
||||
|
||||
if (empty($_POST['email']))
|
||||
$errors['email'] = 'Email is required.';
|
||||
$errors['email'] = 'E-Mail de contacto vacio o incorrecto';
|
||||
|
||||
if (empty($_POST['mensage']))
|
||||
$errors['mensage'] = 'Mensaje is required.';
|
||||
if (empty($_POST['profesion']))
|
||||
$errors['email'] = 'indique profesion';
|
||||
|
||||
if( !file_exists("registro.csv")){
|
||||
if( !file_exists("registro.csv"))
|
||||
setheaders();
|
||||
}
|
||||
|
||||
|
||||
//$fp = fopen("registro.csv", "w");
|
||||
|
||||
|
||||
// return a response ===========================================================
|
||||
|
||||
// if there are any errors in our errors array, return a success boolean of false
|
||||
if ( ! empty($errors)) {
|
||||
|
||||
// if there are items in our errors array, return those errors
|
||||
$data['success'] = false;
|
||||
$data['errors'] = $errors;
|
||||
} else {
|
||||
$fila = array();
|
||||
|
||||
|
||||
// if there are no errors process our form, then return a message
|
||||
|
||||
// DO ALL YOUR FORM PROCESSING HERE
|
||||
// THIS CAN BE WHATEVER YOU WANT TO DO (LOGIN, SAVE, UPDATE, WHATEVER)
|
||||
|
||||
// show a message of success and provide a true success variable
|
||||
|
||||
|
||||
|
||||
}
|
||||
else {
|
||||
$fila = $data;
|
||||
registrar($fila);
|
||||
$data['success'] = true;
|
||||
$data['message'] = 'Registro exitoso';
|
||||
|
||||
}
|
||||
|
||||
// return all our data to an AJAX call
|
||||
|
@ -1 +1,2 @@
|
||||
Nombre,Apellido,TipoDoc,Documento,Pais,Ciudad,Profesión,Telefono,Email,Financiación,"Detalle Financiación"
|
||||
Nombre,Apellido,TipoDoc,Documento,Direccion,Pais,Ciudad,Telefono,Email,Profesión,Financiación,"Detalle Financiación"
|
||||
German,Correa,C.I,4596793-2,"Salvador Garcia Pintos 1114",Uruguay,Montevideo,091432378,german.correa.balier@gmail.com,Estudiante,no,
|
||||
|
|
2
snippets/footer.html
Normal file
2
snippets/footer.html
Normal file
@ -0,0 +1,2 @@
|
||||
<p><a href="index.html">Home</a> | <a href="examples.html">Examples</a> | <a href="page.html">A Page</a> | <a href="another_page.html">Another Page</a> | <a href="contact.html">Contact Us</a></p>
|
||||
<p>Copyright © night_sky_2 | <a href="http://validator.w3.org/check?uri=referer">HTML5</a> | <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a> | <a href="http://www.html5webtemplates.co.uk">Website templates</a></p>
|
@ -1,16 +1,16 @@
|
||||
|
||||
<div id="logo">
|
||||
<div id="logo_text" class="row">
|
||||
<div id="logo" class="jumbotron">
|
||||
<div id="logo_text">
|
||||
<!-- class="logo_colour", allows you to change the colour of the text -->
|
||||
<h1><a href="/">6to<span class="logo_colour"> Coloquio Uruguayo de Matemática</span></a></h1>
|
||||
<h1><a href="/"><span class="logo_init">VI</span><span class="logo_colour"> Coloquio Uruguayo de Matemática</span></a></h1>
|
||||
<h2 style="font-size:29px;"><strong>20, 21 y 22 de Diciembre</strong></h2>
|
||||
</div>
|
||||
</div>
|
||||
<div id="menubar" class="row">
|
||||
<ul id="menu">
|
||||
<nav class="navbar navbar-inverse" id="menubar">
|
||||
<ul class="nav navbar-nav" id="menu">
|
||||
<li class="selected"><a href="/">Inicio</a></li>
|
||||
<li><a href="contact.html">Contacto</a></li>
|
||||
<li><a href="register.html">Registrarse</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
@ -4,7 +4,6 @@ body
|
||||
{ font-family: "lucida sans", arial, sans-serif;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
font-size: 13px;
|
||||
background: #090708;
|
||||
color: #5D5D5D;
|
||||
|
||||
@ -16,16 +15,10 @@ body{
|
||||
rgba(0, 0, 0, 0.8)
|
||||
),
|
||||
url(background.jpg);*/
|
||||
background-color: white;
|
||||
background-color: lightgray;
|
||||
|
||||
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1200px) {
|
||||
.container{
|
||||
width: 970px;
|
||||
}
|
||||
}
|
||||
p
|
||||
{ margin: 0px;
|
||||
padding: 0px 0px 16px 0px;
|
||||
@ -119,20 +112,23 @@ ol li
|
||||
margin-right: auto;}
|
||||
|
||||
#main
|
||||
{ padding-bottom: 40px;}
|
||||
{ /*padding-bottom: 40px;*/}
|
||||
|
||||
#header
|
||||
{ /*background: transparent url(logo.jpg) no-repeat;*/}
|
||||
{ /*background: transparent url(logo.jpg) no-repeat;*/
|
||||
background-color: #FC9C04;
|
||||
}
|
||||
|
||||
#logo
|
||||
{ width: 860px;
|
||||
position: relative;
|
||||
height: 200px;}
|
||||
{ /*width: 860px;*/
|
||||
/*position: relative*/;
|
||||
/*height: 200px;*/
|
||||
background:inherit;}
|
||||
|
||||
#logo #logo_text
|
||||
{ position: absolute;
|
||||
{ /*position: absolute;
|
||||
top: 47px;
|
||||
left: 0;}
|
||||
left: 0;*/}
|
||||
|
||||
#logo h1, #logo h2
|
||||
{ font: normal 300% 'century gothic', arial, sans-serif;
|
||||
@ -151,7 +147,13 @@ ol li
|
||||
}
|
||||
|
||||
#logo_text h1 a .logo_colour
|
||||
{ color: #4baabe;;}
|
||||
{ color: black;}
|
||||
#logo_text h1 a .logo_init
|
||||
{
|
||||
font-size: 80px;
|
||||
font-family: "Times New Roman", Georgia, Serif;
|
||||
color: #4baabe;
|
||||
}
|
||||
|
||||
#logo_text a:hover .logo_colour
|
||||
{ color: #FFF;}
|
||||
@ -162,17 +164,22 @@ ol li
|
||||
color: #fff;}
|
||||
|
||||
#menubar
|
||||
{ width: 870px;
|
||||
height: 46px;
|
||||
padding-top: 55px;
|
||||
padding-left: 4px;}
|
||||
|
||||
{
|
||||
border-radius: 0px;
|
||||
}
|
||||
@media screen and (max-width: 768px){
|
||||
ul#menu{
|
||||
margin:auto!important;
|
||||
float:none!important;
|
||||
}
|
||||
}
|
||||
ul#menu
|
||||
{ float: right;
|
||||
margin: 0px;
|
||||
margin-right:10px;
|
||||
/*margin: 0px;
|
||||
background: black;
|
||||
padding: 4px;
|
||||
margin-top: 20px;
|
||||
margin-top: 20px;*/
|
||||
}
|
||||
|
||||
ul#menu li
|
||||
@ -196,30 +203,42 @@ ul#menu li a
|
||||
|
||||
ul#menu li.selected a
|
||||
{ height: 20px;
|
||||
padding: 7px 15px 4px 15px;}
|
||||
padding: 7px 15px 4px 15px;
|
||||
}
|
||||
|
||||
ul#menu li.selected
|
||||
{ margin: 7px 0 0 0;}
|
||||
|
||||
ul#menu li.selected a, ul#menu li.selected a:hover
|
||||
ul#menu li.selected a, ul#menu li.selected a:hover, ul#menu li a:active
|
||||
{ color: #FC9C04;}
|
||||
|
||||
ul#menu li a:hover
|
||||
{ color: #FC9C04;}
|
||||
|
||||
@media screen and (min-width: 1200px){
|
||||
.container {
|
||||
width:970px;}
|
||||
}
|
||||
#site_content
|
||||
{ /*width: 858px;*/
|
||||
overflow: hidden;
|
||||
{ /*width: 858px;
|
||||
overflow: hidden;*/
|
||||
margin: 0 auto 0 auto;
|
||||
padding: 10px 20px 20px 20px;
|
||||
/*padding: 0px 15px 0px 30px;*/
|
||||
background: #F6F6F0 url(back.png) repeat-y;
|
||||
border: 15px solid #FFF;}
|
||||
border: 15px solid #FFF;*/}
|
||||
|
||||
.sidebar
|
||||
{ float: right;
|
||||
width: 190px;
|
||||
padding: 0 15px 20px 15px;}
|
||||
|
||||
{ /*float: right;
|
||||
width: 190px;*/
|
||||
padding: 0 15px 20px 15px;
|
||||
background:#ededed;
|
||||
border-left: 1px solid;
|
||||
}
|
||||
@media screen and (max-width: 640px){
|
||||
.sidebar {
|
||||
border:none;
|
||||
}
|
||||
}
|
||||
.sidebar ul
|
||||
{ width: 178px;
|
||||
padding: 4px 0 0 0;
|
||||
@ -240,8 +259,8 @@ ul#menu li a:hover
|
||||
|
||||
#content
|
||||
{ text-align: left;
|
||||
width: 615px;
|
||||
padding: 0;}
|
||||
/*width: 615px;*/
|
||||
}
|
||||
|
||||
#content ul
|
||||
{ margin: 2px 0 22px 0px;}
|
||||
@ -254,7 +273,7 @@ ul#menu li a:hover
|
||||
line-height: 1.5em;}
|
||||
|
||||
#footer
|
||||
{ width: 916px;
|
||||
{ /*width: 916px;*/
|
||||
font-family: 'trebuchet ms', sans-serif;
|
||||
font-size: 90%;
|
||||
height: 28px;
|
||||
|
Loading…
Reference in New Issue
Block a user