avançant

This commit is contained in:
idoctnef
2016-06-04 20:12:58 +02:00
parent cc9d7a151c
commit 266fc733e0
5 changed files with 65 additions and 24 deletions

View File

@@ -5,10 +5,10 @@
<a href='#'>ENG</a> <a href='#'>ENG</a>
</div> </div>
<div class='own-menu'> <div class='own-menu'>
<a href='index.html'><img class='own-overImage-logo' src='http://placehold.it/200x50' /></a> <a href='index.html'><img class='own-overImage-logo' src='imatges/ivardialogo_invert_transparent.png' /></a>
<div class='own-menuButtons'> <div class='own-menuButtons'>
<a href="index.html">Inici</a> <a href="index.html">Inici</a>
<a href='nosaltres.html'>Nosaltres</a> <a id='a-nosaltres' href='nosaltres.html'>Nosaltres</a>
<a href='#'>Contacte</a> <a href='#'>Contacte</a>
</div> </div>
</div> </div>

View File

@@ -16,3 +16,7 @@ function OnLoadDefault(){
function OnLoadIndex(){ function OnLoadIndex(){
OnLoadDefault(); OnLoadDefault();
} }
function OnLoadNosaltres(){
OnLoadDefault();
//document.getElementById("a-nosaltres").className+=" own-currentPageMenu";
}

View File

@@ -20,7 +20,8 @@
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]--> <![endif]-->
</head> </head>
<body onload='OnLoadDefault();'> <body onload='OnLoadNosaltres();'>
<div class='container'>
<div id='HTMLmenu'></div> <div id='HTMLmenu'></div>
<br> <br>
<div class='own-nosaltresContent'> <div class='own-nosaltresContent'>
@@ -53,7 +54,7 @@
</div> </div>
</div> </div>
</div> </div>
</div><!-- /container -->
<div id='HTMLfooter'></div> <div id='HTMLfooter'></div>

45
own.css
View File

@@ -26,13 +26,27 @@ a:active {
} }
/* index */ /* index */
.own-indexBackgroundImage{
@media (min-width:550px) {
.own-indexBackgroundImage{
width: 100%; width: 100%;
/*height: 100%;*/ /*height: 100%;*/
z-index: -1; z-index: -1;
position: fixed; position: fixed;
left: 0px; left: 0px;
top: 0px; top: 0px;
}
}
@media (max-width:550px) {
.own-indexBackgroundImage{
/*width: 100%;*/
height: 100%;
z-index: -1;
position: fixed;
left: 0px;
top: 0px;
}
} }
.own-langIndex{ .own-langIndex{
text-align: right; text-align: right;
@@ -235,7 +249,9 @@ a:active {
.own-menuButtons a:hover{ .own-menuButtons a:hover{
color: #C85127; color: #C85127;
} }
.own-currentPageMenu{
color: #C85127;
}
.own-imgHeader{ .own-imgHeader{
width: 100%; width: 100%;
margin-top: 50px; margin-top: 50px;
@@ -249,7 +265,7 @@ a:active {
display: inline-block; display: inline-block;
vertical-align: top; vertical-align: top;
margin-top: 20px; margin-top: 20px;
margin-right: 20px; margin-right: 40px;
margin-bottom: 40px; margin-bottom: 40px;
max-width: 100px; max-width: 100px;
} }
@@ -261,6 +277,9 @@ a:active {
margin: 10px; margin: 10px;
margin-bottom: 30px; margin-bottom: 30px;
text-align: center; text-align: center;
border-top: 1px solid #000000;
padding-top: 20px;
width: 120px;
} }
.own-linksLeft a:visited{ .own-linksLeft a:visited{
color: #000000; color: #000000;
@@ -277,6 +296,7 @@ a:active {
text-align: left; text-align: left;
vertical-align: top; vertical-align: top;
padding: 10px; padding: 10px;
padding-bottom: 40px;
} }
.own-rightBox{ .own-rightBox{
@@ -298,7 +318,20 @@ a:active {
color: #C85127; color: #C85127;
} }
.own-textBoxLeft{ @media (max-width:960px) {
.own-textBoxLeft{
display: inline-block;
vertical-align: top;
margin-top: 20px;
margin-right: 20px;
margin-bottom: 40px;
max-width: 600px;
text-align: left;
font-weight: bold;
}
}
@media (min-width:960px) {
.own-textBoxLeft{
display: inline-block; display: inline-block;
vertical-align: top; vertical-align: top;
margin-top: 20px; margin-top: 20px;
@@ -307,7 +340,9 @@ a:active {
max-width: 100px; max-width: 100px;
text-align: left; text-align: left;
font-weight: bold; font-weight: bold;
}
} }
.own-nosaltresCenterRight{ .own-nosaltresCenterRight{
display: inline-block; display: inline-block;
max-width: 800px; max-width: 800px;
@@ -322,7 +357,7 @@ a:active {
.own-nosaltresTitle{ .own-nosaltresTitle{
font-size: 45px; font-size: 45px;
font-weight: bold; font-weight: bold;
padding-left: 15%; padding-left: 7%;
text-align: left; text-align: left;
} }
.own-nosaltresText{ .own-nosaltresText{

View File

@@ -21,6 +21,7 @@
<![endif]--> <![endif]-->
</head> </head>
<body onload='OnLoadDefault();'> <body onload='OnLoadDefault();'>
<div class='container'>
<div id='HTMLmenu'></div> <div id='HTMLmenu'></div>
<img class='own-imgHeader' src='imatges/header1.png' /> <img class='own-imgHeader' src='imatges/header1.png' />
@@ -51,7 +52,7 @@
</a> </a>
</div> </div>
</div> </div>
</div><!-- /container -->
<div id='HTMLfooter'></div> <div id='HTMLfooter'></div>