Barra de menu.

3 participantes

Ir para baixo

Tópico resolvido Barra de menu.

Mensagem por Lancer91 05.07.18 17:44

Detalhes da questão


Endereço do fórum: http://herostory.forumeiros.com/
Versão do fórum: ModernBB

Descrição


Boas tardes.

Estou a ter um pequeno problema com a barra de menus. :S

Acontece quando tento por um icon novo, ele fica muito pequeno. é como se o forum foça-se as imagens em encolher. O segundo é que estou a tentar por a barra de menu com um fundo transparente e ficou assim:

https://i.servimg.com/u/f78/14/50/73/35/captur10.png

Gostava que o fundo da barra fica-se todo e não apenas um " rectângulo". O CSS que tenho até agora é este:


Código:

  #page-header .navbar {
    background:rgba(44,53,59,0.6)!important;
 
}


#wrap {
    background-color: rgba(0,0,0,0.70)!important;
    font-size: 1.5rem;
    margin: 0 auto;
    max-width: 1200px;
      padding: 24px 36px;
    width: 96%;
}
 
a.mainmenu[href="/faq"]{
display: none !important;
}
 
div.forabg{width: 100%!important;}
 
 
 
 
.sceditor-container iframe, .sceditor-container textarea {
background: #2c353b;
border: 0;
color: #ffffff !important;
font-family: Verdana,Arial,Helvetica,sans-serif;
font-size: 11,5px;
margin: 5px;
outline: 0;
padding: 0;
resize: none;
  }
 
 
a.button1, input.button1, a.button2, input.button2, button.button2 {
color: #CCCCCC;
background-color: #000000;
background-image: url(https://www.colorhexa.com/2c353b.png);
}
.forabg .topiclist dl.icon {
    background-size: unset!important;
}
#picture_legend img, #privmsgs-menu img {
    height: unset;
    width: unset;
}
.forumbg .topiclist dl.icon {
    background-size: unset!important;
}
.forumbg .topiclist dd.dterm div, .forumbg .topiclist dd.dterm .topic-author {
    margin-left: 60px;

}
}.forabg ul.forums dl.icon dd.dterm > div {
    margin-left: 125px !important;
 
ul.forums li.row dl {
min-height: 90px!important;
}

.dterm div {
margin: 50 0px 30 60px!important;
}
 
 *{box-sizing: border-box; -webkit-box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; font: 16px/1.3 sans-serif; }

/*
PURE RESPONSIVE CSS3 SLIDESHOW GALLERY by Roko C. buljan
http://stackoverflow.com/a/34696029/383904
*/

.CSSgal {
   position: relative;
   overflow: hidden;
   height: 100%; /* Or set a fixed height */
}

/* SLIDER */

.CSSgal .slider {
   height: 100%;
   white-space: nowrap;
   font-size: 0;
   transition: 0.8s;
}

/* SLIDES */

.CSSgal .slider > * {
   font-size: 1rem;
   display: inline-block;
   white-space: normal;
   vertical-align: top;
   height: 100%;
   width: 100%;
   background: none 50% no-repeat;
   background-size: cover;
}

/* PREV/NEXT, CONTAINERS & ANCHORS */

.CSSgal .prevNext {
   position: absolute;
   z-index: 1;
   top: 50%;
   width: 100%;
   height: 0;
}

.CSSgal .prevNext > div+div {
   visibility: hidden; /* Hide all but first P/N container */
}

.CSSgal .prevNext a {
   background: #fff;
   position: absolute;
   width:      60px;
   height:      60px;
   line-height: 60px; /* If you want to place numbers */
   text-align: center;
   opacity: 0.7;
   -webkit-transition: 0.3s;
               transition: 0.3s;
   -webkit-transform: translateY(-50%);
               transform: translateY(-50%);
   left: 0;
}
.CSSgal .prevNext a:hover {
   opacity: 1;
}
.CSSgal .prevNext a+a {
   left: auto;
   right: 0;
}

/* NAVIGATION */

.CSSgal .bullets {
   position: absolute;
   z-index: 2;
   bottom: 0;
   padding: 10px 0;
   width: 100%;
   text-align: center;
}
.CSSgal .bullets > a {
   display: inline-block;
   width:      30px;
   height:      30px;
   line-height: 30px;
   text-decoration: none;
   text-align: center;
   background: rgba(255, 255, 255, 1);
   -webkit-transition: 0.3s;
               transition: 0.3s;
}
.CSSgal .bullets > a+a {
   background: rgba(255, 255, 255, 0.5); /* Dim all but first */
}
.CSSgal .bullets > a:hover {
   background: rgba(255, 255, 255, 0.7) !important;
}

/* NAVIGATION BUTTONS */
/* ALL: */
.CSSgal >s:target ~ .bullets >* {      background: rgba(255, 255, 255, 0.5);}
/* ACTIVE */
#s1:target ~ .bullets >*:nth-child(1) {background: rgba(255, 255, 255,  1);}
#s2:target ~ .bullets >*:nth-child(2) {background: rgba(255, 255, 255,  1);}
#s3:target ~ .bullets >*:nth-child(3) {background: rgba(255, 255, 255,  1);}
#s4:target ~ .bullets >*:nth-child(4) {background: rgba(255, 255, 255,  1);}
/* More slides? Add here more rules */

/* PREV/NEXT CONTAINERS VISIBILITY */
/* ALL: */
.CSSgal >s:target ~ .prevNext >* {      visibility: hidden;}
/* ACTIVE: */
#s1:target ~ .prevNext >*:nth-child(1) {visibility: visible;}
#s2:target ~ .prevNext >*:nth-child(2) {visibility: visible;}
#s3:target ~ .prevNext >*:nth-child(3) {visibility: visible;}
#s4:target ~ .prevNext >*:nth-child(4) {visibility: visible;}
/* More slides? Add here more rules */

/* SLIDER ANIMATION POSITIONS */

#s1:target ~ .slider {transform: translateX(  0%); -webkit-transform: translateX(  0%);}
#s2:target ~ .slider {transform: translateX(-100%); -webkit-transform: translateX(-100%);}
#s3:target ~ .slider {transform: translateX(-200%); -webkit-transform: translateX(-200%);}
#s4:target ~ .slider {transform: translateX(-300%); -webkit-transform: translateX(-300%);}
/* More slides? Add here more rules */


/* YOU'RE THE DESIGNER!
  ____________________
  All above was mainly to get it working :)
  CSSgal CUSTOM STYLES / OVERRIDES HERE: */

.CSSgal{
   color: #fff;   
   text-align: center;
}
.CSSgal .slider h2 {
   margin-top: 40vh;
   font-weight: 200;
   letter-spacing: -0.06em;
   word-spacing: 0.2em;
   font-size: 3em;
}
.CSSgal a {
   border-radius: 50%;
   margin: 0 0px;
   color: rgba(0,0,0,0.8);
   text-decoration: none;
}
 
  .postprofile-avatar img {
    border-radius: 0;
width: 200px;
height: 350px;
margin-left: -12px;
}

Lancer91
Lancer91
*

Membro desde : 01/10/2017
Mensagens : 35
Pontos : 51

http://tailsofdestiny.forumeiros.com/

Ir para o topo Ir para baixo

Tópico resolvido Re: Barra de menu.

Mensagem por tikky 05.07.18 17:55

Olá @Lancer91,
mude o seu CSS para:
Código:
 .mainmenu img {
  height: 20px!important;
  width: 20px!important;
  }

.navbar, .is-sticky#headerbar-top {
  background-color: transparent!important;
}

 
 
#wrap {
    background-color: rgba(0,0,0,0.70)!important;
    font-size: 1.5rem;
    margin: 0 auto;
    max-width: 1200px;
      padding: 24px 36px;
    width: 96%;
}
 
a.mainmenu[href="/faq"]{
display: none !important;
}
 
div.forabg{width: 100%!important;}
 
 
 
 
.sceditor-container iframe, .sceditor-container textarea {
background: #2c353b;
border: 0;
color: #ffffff !important;
font-family: Verdana,Arial,Helvetica,sans-serif;
font-size: 11,5px;
margin: 5px;
outline: 0;
padding: 0;
resize: none;
  }
 
 
a.button1, input.button1, a.button2, input.button2, button.button2 {
color: #CCCCCC;
background-color: #000000;
background-image: url(https://www.colorhexa.com/2c353b.png);
}
.forabg .topiclist dl.icon {
    background-size: unset!important;
}
#picture_legend img, #privmsgs-menu img {
    height: unset;
    width: unset;
}
.forumbg .topiclist dl.icon {
    background-size: unset!important;
}
.forumbg .topiclist dd.dterm div, .forumbg .topiclist dd.dterm .topic-author {
    margin-left: 60px;
 
}
}.forabg ul.forums dl.icon dd.dterm > div {
    margin-left: 125px !important;
 
ul.forums li.row dl {
min-height: 90px!important;
}
 
.dterm div {
margin: 50 0px 30 60px!important;
}
 
 *{box-sizing: border-box; -webkit-box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; font: 16px/1.3 sans-serif; }
 
/*
PURE RESPONSIVE CSS3 SLIDESHOW GALLERY by Roko C. buljan
http://stackoverflow.com/a/34696029/383904
*/
 
.CSSgal {
  position: relative;
  overflow: hidden;
  height: 100%; /* Or set a fixed height */
}
 
/* SLIDER */
 
.CSSgal .slider {
  height: 100%;
  white-space: nowrap;
  font-size: 0;
  transition: 0.8s;
}
 
/* SLIDES */
 
.CSSgal .slider > * {
  font-size: 1rem;
  display: inline-block;
  white-space: normal;
  vertical-align: top;
  height: 100%;
  width: 100%;
  background: none 50% no-repeat;
  background-size: cover;
}
 
/* PREV/NEXT, CONTAINERS & ANCHORS */
 
.CSSgal .prevNext {
  position: absolute;
  z-index: 1;
  top: 50%;
  width: 100%;
  height: 0;
}
 
.CSSgal .prevNext > div+div {
  visibility: hidden; /* Hide all but first P/N container */
}
 
.CSSgal .prevNext a {
  background: #fff;
  position: absolute;
  width:      60px;
  height:      60px;
  line-height: 60px; /* If you want to place numbers */
  text-align: center;
  opacity: 0.7;
  -webkit-transition: 0.3s;
              transition: 0.3s;
  -webkit-transform: translateY(-50%);
              transform: translateY(-50%);
  left: 0;
}
.CSSgal .prevNext a:hover {
  opacity: 1;
}
.CSSgal .prevNext a+a {
  left: auto;
  right: 0;
}
 
/* NAVIGATION */
 
.CSSgal .bullets {
  position: absolute;
  z-index: 2;
  bottom: 0;
  padding: 10px 0;
  width: 100%;
  text-align: center;
}
.CSSgal .bullets > a {
  display: inline-block;
  width:      30px;
  height:      30px;
  line-height: 30px;
  text-decoration: none;
  text-align: center;
  background: rgba(255, 255, 255, 1);
  -webkit-transition: 0.3s;
              transition: 0.3s;
}
.CSSgal .bullets > a+a {
  background: rgba(255, 255, 255, 0.5); /* Dim all but first */
}
.CSSgal .bullets > a:hover {
  background: rgba(255, 255, 255, 0.7) !important;
}
 
/* NAVIGATION BUTTONS */
/* ALL: */
.CSSgal >s:target ~ .bullets >* {      background: rgba(255, 255, 255, 0.5);}
/* ACTIVE */
#s1:target ~ .bullets >*:nth-child(1) {background: rgba(255, 255, 255,  1);}
#s2:target ~ .bullets >*:nth-child(2) {background: rgba(255, 255, 255,  1);}
#s3:target ~ .bullets >*:nth-child(3) {background: rgba(255, 255, 255,  1);}
#s4:target ~ .bullets >*:nth-child(4) {background: rgba(255, 255, 255,  1);}
/* More slides? Add here more rules */
 
/* PREV/NEXT CONTAINERS VISIBILITY */
/* ALL: */
.CSSgal >s:target ~ .prevNext >* {      visibility: hidden;}
/* ACTIVE: */
#s1:target ~ .prevNext >*:nth-child(1) {visibility: visible;}
#s2:target ~ .prevNext >*:nth-child(2) {visibility: visible;}
#s3:target ~ .prevNext >*:nth-child(3) {visibility: visible;}
#s4:target ~ .prevNext >*:nth-child(4) {visibility: visible;}
/* More slides? Add here more rules */
 
/* SLIDER ANIMATION POSITIONS */
 
#s1:target ~ .slider {transform: translateX(  0%); -webkit-transform: translateX(  0%);}
#s2:target ~ .slider {transform: translateX(-100%); -webkit-transform: translateX(-100%);}
#s3:target ~ .slider {transform: translateX(-200%); -webkit-transform: translateX(-200%);}
#s4:target ~ .slider {transform: translateX(-300%); -webkit-transform: translateX(-300%);}
/* More slides? Add here more rules */
 
 
/* YOU'RE THE DESIGNER!
  ____________________
  All above was mainly to get it working :)
  CSSgal CUSTOM STYLES / OVERRIDES HERE: */
 
.CSSgal{
  color: #fff; 
  text-align: center;
}
.CSSgal .slider h2 {
  margin-top: 40vh;
  font-weight: 200;
  letter-spacing: -0.06em;
  word-spacing: 0.2em;
  font-size: 3em;
}
.CSSgal a {
  border-radius: 50%;
  margin: 0 0px;
  color: rgba(0,0,0,0.8);
  text-decoration: none;
}
 
  .postprofile-avatar img {
    border-radius: 0;
width: 200px;
height: 350px;
margin-left: -12px;
}

Localize no seu CSS (primeiro linha):
Código:
 .mainmenu img {
  height: 20px!important;
  width: 20px!important;
}
e mude para o tamanho que você quer Muito feliz

Atenciosamente,
pedxz
tikky
tikky
Admineiro
Admineiro

Membro desde : 13/01/2017
Mensagens : 7962
Pontos : 9217

Ir para o topo Ir para baixo

Tópico resolvido Re: Barra de menu.

Mensagem por Lancer91 05.07.18 18:18

Os icons já estão maiores..... mas a Barra perdeu a cor. :S
Lancer91
Lancer91
*

Membro desde : 01/10/2017
Mensagens : 35
Pontos : 51

http://tailsofdestiny.forumeiros.com/

Ir para o topo Ir para baixo

Tópico resolvido Re: Barra de menu.

Mensagem por Neox 05.07.18 18:33

Olá,
Troque o css para este
Código:
.mainmenu img {
  height: 20px!important;
  width: 20px!important;
  }
 
.navbar, .is-sticky#headerbar-top {
  background-color: #404040!important;
}
 
 
 
#wrap {
    background-color: rgba(0,0,0,0.70)!important;
    font-size: 1.5rem;
    margin: 0 auto;
    max-width: 1200px;
      padding: 24px 36px;
    width: 96%;
}
 
a.mainmenu[href="/faq"]{
display: none !important;
}
 
div.forabg{width: 100%!important;}
 
 
 
 
.sceditor-container iframe, .sceditor-container textarea {
background: #2c353b;
border: 0;
color: #ffffff !important;
font-family: Verdana,Arial,Helvetica,sans-serif;
font-size: 11,5px;
margin: 5px;
outline: 0;
padding: 0;
resize: none;
  }
 
 
a.button1, input.button1, a.button2, input.button2, button.button2 {
color: #CCCCCC;
background-color: #000000;
background-image: url(https://www.colorhexa.com/2c353b.png);
}
.forabg .topiclist dl.icon {
    background-size: unset!important;
}
#picture_legend img, #privmsgs-menu img {
    height: unset;
    width: unset;
}
.forumbg .topiclist dl.icon {
    background-size: unset!important;
}
.forumbg .topiclist dd.dterm div, .forumbg .topiclist dd.dterm .topic-author {
    margin-left: 60px;
 
}
}.forabg ul.forums dl.icon dd.dterm > div {
    margin-left: 125px !important;
 
ul.forums li.row dl {
min-height: 90px!important;
}
 
.dterm div {
margin: 50 0px 30 60px!important;
}
 
 *{box-sizing: border-box; -webkit-box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; font: 16px/1.3 sans-serif; }
 
/*
PURE RESPONSIVE CSS3 SLIDESHOW GALLERY by Roko C. buljan
http://stackoverflow.com/a/34696029/383904
*/
 
.CSSgal {
  position: relative;
  overflow: hidden;
  height: 100%; /* Or set a fixed height */
}
 
/* SLIDER */
 
.CSSgal .slider {
  height: 100%;
  white-space: nowrap;
  font-size: 0;
  transition: 0.8s;
}
 
/* SLIDES */
 
.CSSgal .slider > * {
  font-size: 1rem;
  display: inline-block;
  white-space: normal;
  vertical-align: top;
  height: 100%;
  width: 100%;
  background: none 50% no-repeat;
  background-size: cover;
}
 
/* PREV/NEXT, CONTAINERS & ANCHORS */
 
.CSSgal .prevNext {
  position: absolute;
  z-index: 1;
  top: 50%;
  width: 100%;
  height: 0;
}
 
.CSSgal .prevNext > div+div {
  visibility: hidden; /* Hide all but first P/N container */
}
 
.CSSgal .prevNext a {
  background: #fff;
  position: absolute;
  width:      60px;
  height:      60px;
  line-height: 60px; /* If you want to place numbers */
  text-align: center;
  opacity: 0.7;
  -webkit-transition: 0.3s;
              transition: 0.3s;
  -webkit-transform: translateY(-50%);
              transform: translateY(-50%);
  left: 0;
}
.CSSgal .prevNext a:hover {
  opacity: 1;
}
.CSSgal .prevNext a+a {
  left: auto;
  right: 0;
}
 
/* NAVIGATION */
 
.CSSgal .bullets {
  position: absolute;
  z-index: 2;
  bottom: 0;
  padding: 10px 0;
  width: 100%;
  text-align: center;
}
.CSSgal .bullets > a {
  display: inline-block;
  width:      30px;
  height:      30px;
  line-height: 30px;
  text-decoration: none;
  text-align: center;
  background: rgba(255, 255, 255, 1);
  -webkit-transition: 0.3s;
              transition: 0.3s;
}
.CSSgal .bullets > a+a {
  background: rgba(255, 255, 255, 0.5); /* Dim all but first */
}
.CSSgal .bullets > a:hover {
  background: rgba(255, 255, 255, 0.7) !important;
}
 
/* NAVIGATION BUTTONS */
/* ALL: */
.CSSgal >s:target ~ .bullets >* {      background: rgba(255, 255, 255, 0.5);}
/* ACTIVE */
#s1:target ~ .bullets >*:nth-child(1) {background: rgba(255, 255, 255,  1);}
#s2:target ~ .bullets >*:nth-child(2) {background: rgba(255, 255, 255,  1);}
#s3:target ~ .bullets >*:nth-child(3) {background: rgba(255, 255, 255,  1);}
#s4:target ~ .bullets >*:nth-child(4) {background: rgba(255, 255, 255,  1);}
/* More slides? Add here more rules */
 
/* PREV/NEXT CONTAINERS VISIBILITY */
/* ALL: */
.CSSgal >s:target ~ .prevNext >* {      visibility: hidden;}
/* ACTIVE: */
#s1:target ~ .prevNext >*:nth-child(1) {visibility: visible;}
#s2:target ~ .prevNext >*:nth-child(2) {visibility: visible;}
#s3:target ~ .prevNext >*:nth-child(3) {visibility: visible;}
#s4:target ~ .prevNext >*:nth-child(4) {visibility: visible;}
/* More slides? Add here more rules */
 
/* SLIDER ANIMATION POSITIONS */
 
#s1:target ~ .slider {transform: translateX(  0%); -webkit-transform: translateX(  0%);}
#s2:target ~ .slider {transform: translateX(-100%); -webkit-transform: translateX(-100%);}
#s3:target ~ .slider {transform: translateX(-200%); -webkit-transform: translateX(-200%);}
#s4:target ~ .slider {transform: translateX(-300%); -webkit-transform: translateX(-300%);}
/* More slides? Add here more rules */
 
 
/* YOU'RE THE DESIGNER!
  ____________________
  All above was mainly to get it working
  CSSgal CUSTOM STYLES / OVERRIDES HERE: */
 
.CSSgal{
  color: #fff;
  text-align: center;
}
.CSSgal .slider h2 {
  margin-top: 40vh;
  font-weight: 200;
  letter-spacing: -0.06em;
  word-spacing: 0.2em;
  font-size: 3em;
}
.CSSgal a {
  border-radius: 50%;
  margin: 0 0px;
  color: rgba(0,0,0,0.8);
  text-decoration: none;
}
 
  .postprofile-avatar img {
    border-radius: 0;
width: 200px;
height: 350px;
margin-left: -12px;
}

Atenciosamente.
Neox
Neox
Membro

Membro desde : 16/08/2016
Mensagens : 698
Pontos : 976

https://ajuda.forumeiros.com

Ir para o topo Ir para baixo

Tópico resolvido Re: Barra de menu.

Mensagem por Lancer91 05.07.18 18:39

Voltei ao problema inicial......

A barra de navegação ficou assim:

https://i.servimg.com/u/f78/14/50/73/35/captur11.png

Mas eu queria que fica-se assim, com este fundo transparente:

https://i.servimg.com/u/f78/14/50/73/35/captur12.png
Lancer91
Lancer91
*

Membro desde : 01/10/2017
Mensagens : 35
Pontos : 51

http://tailsofdestiny.forumeiros.com/

Ir para o topo Ir para baixo

Tópico resolvido Re: Barra de menu.

Mensagem por Neox 05.07.18 18:44

Então utilize o código fornecido pelo @Pedxz
que deixara o fundo transparente.
Neox
Neox
Membro

Membro desde : 16/08/2016
Mensagens : 698
Pontos : 976

https://ajuda.forumeiros.com

Ir para o topo Ir para baixo

Tópico resolvido Re: Barra de menu.

Mensagem por Lancer91 05.07.18 18:53

Neox escreveu:Então utilize o código fornecido pelo @Pedxz
que deixara o fundo transparente.

Acho que não me explicai bem. :S O problema da barra é que como se pode ver na primeira imagem, está lá um rectangulo que " parece " estar a flutuar na imagem.

Eu queria que a barra fica-se com as dimenções da segunda imagem. :S
Lancer91
Lancer91
*

Membro desde : 01/10/2017
Mensagens : 35
Pontos : 51

http://tailsofdestiny.forumeiros.com/

Ir para o topo Ir para baixo

Tópico resolvido Re: Barra de menu.

Mensagem por Neox 05.07.18 19:00

Agora acho que entendi,rs desculpe.
Troque seu CSS por este:
Código:
.mainmenu img {
  height: 20px!important;
  width: 20px!important;
  }
 
.navbar, .is-sticky#headerbar-top {
  background-color: #404040!important;
}
 
 
 
#wrap {
    background-color: rgba(0,0,0,0.70)!important;
    font-size: 1.5rem;
    margin: 0 auto;
    max-width: 1200px;
      padding: 24px 46px;
    width: 96%;
}
 
a.mainmenu[href="/faq"]{
display: none !important;
}
 
div.forabg{width: 100%!important;}
 
 
 
 
.sceditor-container iframe, .sceditor-container textarea {
background: #2c353b;
border: 0;
color: #ffffff !important;
font-family: Verdana,Arial,Helvetica,sans-serif;
font-size: 11,5px;
margin: 5px;
outline: 0;
padding: 0;
resize: none;
  }
 
 
a.button1, input.button1, a.button2, input.button2, button.button2 {
color: #CCCCCC;
background-color: #000000;
background-image: url(https://www.colorhexa.com/2c353b.png);
}
.forabg .topiclist dl.icon {
    background-size: unset!important;
}
#picture_legend img, #privmsgs-menu img {
    height: unset;
    width: unset;
}
.forumbg .topiclist dl.icon {
    background-size: unset!important;
}
.forumbg .topiclist dd.dterm div, .forumbg .topiclist dd.dterm .topic-author {
    margin-left: 60px;
 
}
}.forabg ul.forums dl.icon dd.dterm > div {
    margin-left: 125px !important;
 
ul.forums li.row dl {
min-height: 90px!important;
}
 
.dterm div {
margin: 50 0px 30 60px!important;
}
 
 *{box-sizing: border-box; -webkit-box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; font: 16px/1.3 sans-serif; }
 
/*
PURE RESPONSIVE CSS3 SLIDESHOW GALLERY by Roko C. buljan
http://stackoverflow.com/a/34696029/383904
*/
 
.CSSgal {
  position: relative;
  overflow: hidden;
  height: 100%; /* Or set a fixed height */
}
 
/* SLIDER */
 
.CSSgal .slider {
  height: 100%;
  white-space: nowrap;
  font-size: 0;
  transition: 0.8s;
}
 
/* SLIDES */
 
.CSSgal .slider > * {
  font-size: 1rem;
  display: inline-block;
  white-space: normal;
  vertical-align: top;
  height: 100%;
  width: 100%;
  background: none 50% no-repeat;
  background-size: cover;
}
 
/* PREV/NEXT, CONTAINERS & ANCHORS */
 
.CSSgal .prevNext {
  position: absolute;
  z-index: 1;
  top: 50%;
  width: 100%;
  height: 0;
}
 
.CSSgal .prevNext > div+div {
  visibility: hidden; /* Hide all but first P/N container */
}
 
.CSSgal .prevNext a {
  background: #fff;
  position: absolute;
  width:      60px;
  height:      60px;
  line-height: 60px; /* If you want to place numbers */
  text-align: center;
  opacity: 0.7;
  -webkit-transition: 0.3s;
              transition: 0.3s;
  -webkit-transform: translateY(-50%);
              transform: translateY(-50%);
  left: 0;
}
.CSSgal .prevNext a:hover {
  opacity: 1;
}
.CSSgal .prevNext a+a {
  left: auto;
  right: 0;
}
 
/* NAVIGATION */
 
.CSSgal .bullets {
  position: absolute;
  z-index: 2;
  bottom: 0;
  padding: 10px 0;
  width: 100%;
  text-align: center;
}
.CSSgal .bullets > a {
  display: inline-block;
  width:      30px;
  height:      30px;
  line-height: 30px;
  text-decoration: none;
  text-align: center;
  background: rgba(255, 255, 255, 1);
  -webkit-transition: 0.3s;
              transition: 0.3s;
}
.CSSgal .bullets > a+a {
  background: rgba(255, 255, 255, 0.5); /* Dim all but first */
}
.CSSgal .bullets > a:hover {
  background: rgba(255, 255, 255, 0.7) !important;
}
 
/* NAVIGATION BUTTONS */
/* ALL: */
.CSSgal >s:target ~ .bullets >* {      background: rgba(255, 255, 255, 0.5);}
/* ACTIVE */
#s1:target ~ .bullets >*:nth-child(1) {background: rgba(255, 255, 255,  1);}
#s2:target ~ .bullets >*:nth-child(2) {background: rgba(255, 255, 255,  1);}
#s3:target ~ .bullets >*:nth-child(3) {background: rgba(255, 255, 255,  1);}
#s4:target ~ .bullets >*:nth-child(4) {background: rgba(255, 255, 255,  1);}
/* More slides? Add here more rules */
 
/* PREV/NEXT CONTAINERS VISIBILITY */
/* ALL: */
.CSSgal >s:target ~ .prevNext >* {      visibility: hidden;}
/* ACTIVE: */
#s1:target ~ .prevNext >*:nth-child(1) {visibility: visible;}
#s2:target ~ .prevNext >*:nth-child(2) {visibility: visible;}
#s3:target ~ .prevNext >*:nth-child(3) {visibility: visible;}
#s4:target ~ .prevNext >*:nth-child(4) {visibility: visible;}
/* More slides? Add here more rules */
 
/* SLIDER ANIMATION POSITIONS */
 
#s1:target ~ .slider {transform: translateX(  0%); -webkit-transform: translateX(  0%);}
#s2:target ~ .slider {transform: translateX(-100%); -webkit-transform: translateX(-100%);}
#s3:target ~ .slider {transform: translateX(-200%); -webkit-transform: translateX(-200%);}
#s4:target ~ .slider {transform: translateX(-300%); -webkit-transform: translateX(-300%);}
/* More slides? Add here more rules */
 
 
/* YOU'RE THE DESIGNER!
  ____________________
  All above was mainly to get it working
  CSSgal CUSTOM STYLES / OVERRIDES HERE: */
 
.CSSgal{
  color: #fff;
  text-align: center;
}
.CSSgal .slider h2 {
  margin-top: 40vh;
  font-weight: 200;
  letter-spacing: -0.06em;
  word-spacing: 0.2em;
  font-size: 3em;
}
.CSSgal a {
  border-radius: 50%;
  margin: 0 0px;
  color: rgba(0,0,0,0.8);
  text-decoration: none;
}
 
  .postprofile-avatar img {
    border-radius: 0;
width: 200px;
height: 350px;
margin-left: -12px;
}

Atenciosamente.
Neox
Neox
Membro

Membro desde : 16/08/2016
Mensagens : 698
Pontos : 976

https://ajuda.forumeiros.com

Ir para o topo Ir para baixo

Tópico resolvido Re: Barra de menu.

Mensagem por Lancer91 05.07.18 19:04

Continua com este espaço dos lados e em cima. :S

https://i.servimg.com/u/f78/14/50/73/35/captur14.png
Lancer91
Lancer91
*

Membro desde : 01/10/2017
Mensagens : 35
Pontos : 51

http://tailsofdestiny.forumeiros.com/

Ir para o topo Ir para baixo

Tópico resolvido Re: Barra de menu.

Mensagem por Lancer91 05.07.18 19:50

Tive a fazer uma " experiências " ( mexer as cegas XD ) e acabei por conseguir o que queria....

Obrigado e podem fechar. Feliz
Lancer91
Lancer91
*

Membro desde : 01/10/2017
Mensagens : 35
Pontos : 51

http://tailsofdestiny.forumeiros.com/

Ir para o topo Ir para baixo

Tópico resolvido Re: Barra de menu.

Mensagem por tikky 05.07.18 19:50

Tópico resolvido


Movido para "Questões resolvidas".
tikky
tikky
Admineiro
Admineiro

Membro desde : 13/01/2017
Mensagens : 7962
Pontos : 9217

Ir para o topo Ir para baixo

Ir para o topo

- Tópicos semelhantes

 
Permissões neste sub-fórum
Não podes responder a tópicos