Initial. Background borked. Logos borked
commit
f7a1dab2f5
Binary file not shown.
After Width: | Height: | Size: 194 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.8 MiB |
|
@ -0,0 +1,747 @@
|
|||
/* CSS RESET*/
|
||||
html, body, div, span, applet, object, iframe,
|
||||
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
||||
a, abbr, acronym, address, big, cite, code,
|
||||
del, dfn, em, img, ins, kbd, q, s, samp,
|
||||
small, strike, strong, sub, sup, tt, var,
|
||||
b, u, i, center,
|
||||
dl, dt, dd, ol, ul, li,
|
||||
fieldset, form, label, legend,
|
||||
table, caption, tbody, tfoot, thead, tr, th, td,
|
||||
article, aside, canvas, details, embed,
|
||||
figure, figcaption, footer, header, hgroup,
|
||||
menu, nav, output, ruby, section, summary,
|
||||
time, mark, audio, video {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
font-size: 100%;
|
||||
font: inherit;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
/* HTML5 display-role reset for older browsers */
|
||||
article, aside, details, figcaption, figure,
|
||||
footer, header, hgroup, menu, nav, section {
|
||||
display: block;
|
||||
}
|
||||
body {
|
||||
line-height: 1;
|
||||
}
|
||||
ol, ul {
|
||||
list-style: none;
|
||||
}
|
||||
blockquote, q {
|
||||
quotes: none;
|
||||
}
|
||||
blockquote:before, blockquote:after,
|
||||
q:before, q:after {
|
||||
content: '';
|
||||
content: none;
|
||||
}
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
|
||||
/*styles*/
|
||||
body{
|
||||
position: relative;
|
||||
color: #3c3c3b;
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
background-size: cover;
|
||||
background-image: url(fondu.svg);
|
||||
}
|
||||
|
||||
div{
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
h1{
|
||||
font-weight: 900;
|
||||
font-size: 28px;
|
||||
margin-top: 15px; /*Mirar què ficar-hi*/
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
h2{
|
||||
font-weight: 900;
|
||||
font-size: 24px;
|
||||
margin-top: 15px;
|
||||
margin-bottom: 10px;
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
h3{
|
||||
font-weight: 900;
|
||||
font-size: 28px;
|
||||
margin-top: 15px; /*Mirar què ficar-hi*/
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
p{
|
||||
width: 100%;
|
||||
font-size: 16px;
|
||||
hyphens: auto;
|
||||
line-height: initial;
|
||||
|
||||
}
|
||||
|
||||
ul{
|
||||
padding: 0;
|
||||
margin: 10px;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
li{
|
||||
margin-top: 10px;
|
||||
padding-bottom: 3px;
|
||||
padding-top: 3px;
|
||||
}
|
||||
|
||||
a{
|
||||
color: #3c3c3b;
|
||||
text-decoration: none;
|
||||
font-weight: 400;
|
||||
transition: 0.5s color;
|
||||
}
|
||||
|
||||
a:hover{
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
footer{
|
||||
padding: 30px 16px 30px 16px;
|
||||
background-color: #3c3c3b;
|
||||
color: #f5f0ed;
|
||||
}
|
||||
|
||||
.logo img{
|
||||
float: left;
|
||||
width: 160px;
|
||||
}
|
||||
|
||||
.imatge_centrada{
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
width: 400px;
|
||||
/* text-align: center; */
|
||||
}
|
||||
|
||||
img{
|
||||
display: block;
|
||||
width: 60%;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.caixa1{
|
||||
/* min-height: 465px; */
|
||||
padding: 16px;
|
||||
background-size: cover;
|
||||
|
||||
object-fit: cover;
|
||||
background-repeat: no-repeat;
|
||||
background-attachment: fixed;
|
||||
background-position: center;
|
||||
z-index: -1;
|
||||
color: #f5f0ed;
|
||||
}
|
||||
|
||||
.caixa2{
|
||||
background-color: #d03b40;
|
||||
box-sizing: border-box;
|
||||
color: #f5f0ed;
|
||||
padding: 50px 16px 50px 16px;
|
||||
max-height: 280px;
|
||||
}
|
||||
|
||||
.caixa3{
|
||||
background-color: #ded6c0;
|
||||
color: #d03b40;
|
||||
padding: 50px 16px 50px 16px;
|
||||
max-height: 280px;
|
||||
}
|
||||
|
||||
.header{
|
||||
max-height: 405px;
|
||||
padding: 16px;
|
||||
/* background-image: url(fondu.svg);
|
||||
background-repeat: no-repeat;
|
||||
background-attachment: fixed;
|
||||
background-position: center;
|
||||
background-size: cover; */
|
||||
color: #f5f0ed;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.paquet{
|
||||
margin-top: 22%;
|
||||
margin-bottom: 22%;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.contentillo{
|
||||
margin: 0;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
.lanzador-menu{
|
||||
text-decoration: none;
|
||||
color: #fff;
|
||||
padding: 8px;
|
||||
background-color: #d03b40;
|
||||
border-radius: 5px;
|
||||
float: right;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.navegacion a{
|
||||
display: block;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.boto2{
|
||||
display: block;
|
||||
text-decoration: none;
|
||||
font-size: 14px;
|
||||
border: 3px solid #f5f0ed;
|
||||
margin-top: 30px;
|
||||
padding-top: 15px;
|
||||
padding-bottom: 15px;
|
||||
padding-left: 20px;
|
||||
padding-right: 20px;
|
||||
color: #f5f0ed;
|
||||
}
|
||||
|
||||
.rodona{
|
||||
width: 100px;
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.producto{
|
||||
padding: 40px 16px 0px 16px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
#productoFinal{
|
||||
padding: 40px 16px 40px 16px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.bloc1{
|
||||
padding: 65px 16px 65px 16px;
|
||||
background-color: #ded6c0;
|
||||
color: #d03b40;
|
||||
max-height: 280px;
|
||||
}
|
||||
|
||||
.bloc2{
|
||||
padding: 65px 16px 65px 16px;
|
||||
background-color: #d03b40;
|
||||
color: #f5f0ed;
|
||||
max-height: 280px;
|
||||
}
|
||||
|
||||
#barrota{
|
||||
width: 90px;
|
||||
margin-top: 20px;
|
||||
margin-bottom: 30px;
|
||||
border-top: 1px solid;
|
||||
}
|
||||
|
||||
#sangria{
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
#negreta{
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
#hamburger{
|
||||
width: 20px;
|
||||
}
|
||||
/*MediaQueries*/
|
||||
@media screen and (max-width:600px){
|
||||
.js .navegacion{
|
||||
max-height: 0;
|
||||
overflow: hidden;
|
||||
transition: max-height .5s;
|
||||
position: absolute;
|
||||
top: 43px;
|
||||
left: 30px;
|
||||
right: 30px;
|
||||
background-color: #d03b40;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.js .navegacion a{
|
||||
padding: 5px 10px;
|
||||
color: #f5f0ed;
|
||||
}
|
||||
|
||||
.js .navegacion.menu-desplegado{
|
||||
max-height: 250px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width:601px) and (max-width: 1100px){
|
||||
h1{
|
||||
font-size: 40px;
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
width: 450px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
h2{
|
||||
font-size: 26px;
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
width: 350px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
h3{
|
||||
font-size: 22px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
p{
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
width: 550px;
|
||||
}
|
||||
|
||||
.js .navegacion{
|
||||
max-height: 0;
|
||||
overflow: hidden;
|
||||
transition: max-height .5s;
|
||||
position: absolute;
|
||||
top: 43px;
|
||||
left: 30px;
|
||||
right: 30px;
|
||||
background-color: #d03b40;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.js .navegacion a{
|
||||
padding: 5px 10px;
|
||||
color: #f5f0ed;
|
||||
}
|
||||
|
||||
.js .navegacion.menu-desplegado{
|
||||
max-height: 250px;
|
||||
}
|
||||
|
||||
footer{
|
||||
padding: 0px;
|
||||
float: left;
|
||||
min-height: 150px;
|
||||
width: 100%;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
footer p{
|
||||
position:absolute;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
padding-left: 25px;
|
||||
}
|
||||
|
||||
.caixa1{
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.textos{
|
||||
margin-top: 0px;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
width: 100%;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.caixa2{
|
||||
min-height: 250px;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
display: grid;
|
||||
align-content: center;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.caixa3{
|
||||
min-height: 250px;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
display: grid;
|
||||
align-content: center;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.caixa2 p{
|
||||
width: 415px;
|
||||
}
|
||||
|
||||
.caixa3 p{
|
||||
width: 415px;
|
||||
}
|
||||
|
||||
.header{
|
||||
min-height: 550px;
|
||||
padding: 0px;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
display: grid;
|
||||
align-content: center;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
|
||||
.productes{
|
||||
padding-left: 25px;
|
||||
padding-right: 25px;
|
||||
display: grid;
|
||||
align-content: center;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.producto{
|
||||
padding: 0px;
|
||||
box-sizing: border-box;
|
||||
min-height: 200px;
|
||||
margin-top: 10px;
|
||||
margin-bottom: 30px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.producto p{
|
||||
width: 750px;
|
||||
}
|
||||
|
||||
#productoFinal{
|
||||
padding: 0px;
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
|
||||
#productoInicial{
|
||||
padding: 0px;
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
.rodona{
|
||||
width: 110px;
|
||||
display: block;
|
||||
float: left;
|
||||
margin-right: 20px;
|
||||
margin-left: 40px;
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
.contacte{
|
||||
float: left;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.bloc1{
|
||||
padding: 0px;
|
||||
min-height: 250px;
|
||||
float: left;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
display: grid;
|
||||
align-content: center;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.bloc2{
|
||||
padding: 0px;
|
||||
min-height: 250px;
|
||||
float: left;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
display: grid;
|
||||
align-content: center;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.bloc1 p{
|
||||
width: 450px;
|
||||
}
|
||||
|
||||
.paquet{
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
.paquet p{
|
||||
width: 525px;
|
||||
}
|
||||
|
||||
.header a{
|
||||
width: 250px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
#barrota{
|
||||
margin-bottom: 30px;
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
#frase1{
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
#frase2{
|
||||
padding-left: 180px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media screen and (min-width:1101px){
|
||||
|
||||
h1{
|
||||
font-size: 44px;
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
width: 500px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
h2{
|
||||
font-size: 28px;
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
width: 350px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
h3{
|
||||
font-size: 24px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
p{
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
footer{
|
||||
padding: 0px;
|
||||
float: left;
|
||||
min-height: 170px;
|
||||
width: 100%;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
footer p{
|
||||
position:absolute;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
padding-left: 25px;
|
||||
}
|
||||
|
||||
.lanzador-menu{
|
||||
display: none;
|
||||
}
|
||||
|
||||
.navegacion{
|
||||
position: relative;
|
||||
float:right;
|
||||
}
|
||||
|
||||
.navegacion li{
|
||||
display: inline-block;
|
||||
margin-right: 15px;
|
||||
|
||||
}
|
||||
|
||||
.navegacion a{
|
||||
color: #f5f0ed;
|
||||
font-weight: bold;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.caixa1{
|
||||
padding: 25px 0px 25px 25px;
|
||||
min-height: 663px;
|
||||
}
|
||||
|
||||
.textos{
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
.textos p{
|
||||
width: 525px;
|
||||
}
|
||||
|
||||
.caixa2{
|
||||
min-height: 400px;
|
||||
width: 50%;
|
||||
float: left;
|
||||
box-sizing: border-box;
|
||||
display: grid;
|
||||
align-content: center;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.caixa2 p{
|
||||
width: 415px;
|
||||
}
|
||||
|
||||
.caixa3{
|
||||
min-height: 400px;
|
||||
width: 50%;
|
||||
float: left;
|
||||
box-sizing: border-box;
|
||||
display: grid;
|
||||
align-content: center;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.caixa3 p{
|
||||
width: 415px;
|
||||
}
|
||||
|
||||
.header{
|
||||
min-height: 550px;
|
||||
padding: 0px;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
float: left;
|
||||
display: grid;
|
||||
align-content: center;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.productes{
|
||||
padding-left: 25px;
|
||||
padding-right: 25px;
|
||||
}
|
||||
|
||||
.producto{
|
||||
padding: 0px;
|
||||
float: left;
|
||||
box-sizing: border-box;
|
||||
width: 50%;
|
||||
min-height: 200px;
|
||||
margin-top: 10px;
|
||||
margin-bottom: 30px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.producto p{
|
||||
width: 550px;
|
||||
}
|
||||
|
||||
#productoFinal{
|
||||
padding: 0px;
|
||||
margin-bottom: 60px;
|
||||
}
|
||||
|
||||
#productoInicial{
|
||||
padding: 0px;
|
||||
margin-top: 60px;
|
||||
}
|
||||
|
||||
.rodona{
|
||||
width: 140px;
|
||||
display: block;
|
||||
float: left;
|
||||
margin-right: 20px;
|
||||
margin-left: 40px;
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
.contacte{
|
||||
float: left;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.bloc1{
|
||||
padding: 0px;
|
||||
min-height: 400px;
|
||||
float: left;
|
||||
width: 50%;
|
||||
box-sizing: border-box;
|
||||
display: grid;
|
||||
align-content: center;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.bloc2{
|
||||
padding: 0px;
|
||||
min-height: 400px;
|
||||
float: left;
|
||||
width: 50%;
|
||||
box-sizing: border-box;
|
||||
display: grid;
|
||||
align-content: center;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.bloc1 p{
|
||||
width: 450px;
|
||||
}
|
||||
.paquet{
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
.paquet p{
|
||||
width: 525px;
|
||||
}
|
||||
|
||||
.header a{
|
||||
width: 250px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
#barrota{
|
||||
margin-bottom: 30px;
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
#frase1{
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
#frase2{
|
||||
padding-left: 180px;
|
||||
}
|
||||
}
|
||||
|
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 542 KiB |
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 6.5 KiB |
|
@ -0,0 +1,32 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Kinniku Studios</title>
|
||||
<meta charset="utf-8">
|
||||
<link rel="stylesheet" href="estils.css">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<style>
|
||||
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700;800&display=swap');
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header>
|
||||
<div class="logo">
|
||||
<div class="logo">
|
||||
<img src="header_kinnikustudios_logo_black.svg" alt="Kinniku Studios Logo">
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<div class="imatge_centrada">
|
||||
<img src="ComingSoon.png" alt="TankTop Coming Soon">
|
||||
</div>
|
||||
<footer>
|
||||
<p id="frase1">Septiembre 2015</p>
|
||||
<p id="frase2">Todos los derechos reservados</p>
|
||||
</footer>
|
||||
<script src="javascript.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -0,0 +1,32 @@
|
|||
/* Variables: cámbialas por los id y clase correspondiente */
|
||||
|
||||
/* id del enlace que despliega el menú */
|
||||
var lanzador = "#enlace-menu";
|
||||
|
||||
/* id del menú que será desplegado */
|
||||
var desplegable = "#menu";
|
||||
|
||||
/* clase (sin el punto) que muestra el menú */
|
||||
var despliegaClase = "menu-desplegado";
|
||||
|
||||
|
||||
/* A partir de aquí, puedes dejar el código tal cual */
|
||||
|
||||
/* declaramos las funciones */
|
||||
function nav(){
|
||||
var lanz = document.querySelector(lanzador);
|
||||
lanz.addEventListener("click", despliegaMenu, false);
|
||||
}
|
||||
|
||||
function despliegaMenu(e){
|
||||
e.preventDefault();
|
||||
var despl = document.querySelector(desplegable);
|
||||
despl.classList.toggle(despliegaClase);
|
||||
}
|
||||
|
||||
/* Agregamos la clase js a la etiqueta html para saber que JS está funcionando */
|
||||
document.querySelector("html").classList.add("js");
|
||||
|
||||
|
||||
/* ejecutamos la función principal */
|
||||
nav();
|
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 180 KiB |
Loading…
Reference in New Issue