Diferencia entre revisiones de «Usuario:Hasley/styles.css»

Sin resumen de edición
(Página reemplazada por «* { font-family: Ubuntu; border-radius: 2px; }»)
Etiqueta: Reemplazo
Línea 2: Línea 2:
  font-family: Ubuntu;
  font-family: Ubuntu;
  border-radius: 2px;
  border-radius: 2px;
}
.mw-editsection {
display: none;
}
h2, h3 {
padding: .6rem;
color: #fff;
background: linear-gradient(135deg, #2c001e 20%, #772953 100%);
}
body {
  margin: 0;
  padding: 0;
  background: #ccc;
}
.nav ul {
  list-style: none;
  background-color: #262626;
  text-align: center;
  padding: 0;
  margin: 0;
}
.nav li {
  font-family: 'Oswald', sans-serif;
  font-size: 1.2em;
  line-height: 40px;
  height: 40px;
}
.nav a {
  text-decoration: none;
  color: #fff !important;
  display: block;
}
.nav li:hover {
  background-color: #5e2750;
  transition: .3s background-color;
}
/*
.nav a.active {
  background-color: #fff;
  color: #444;
  cursor: default;
}
*/
@media screen and (min-width: 600px) {
  .nav li {
    width: 120px;
    border-bottom: none;
    height: 50px;
    line-height: 50px;
    font-size: 1.4em;
  }
  /* Option 1 - Display Inline */
  .nav li {
    display: inline-block;
    margin-right: -4px;
  }
  /* Options 2 - Float
  .nav li {
    float: left;
  }
  .nav ul {
    overflow: auto;
    width: 600px;
    margin: 0 auto;
  }
  .nav {
    background-color: #444;
  }
  */
}
}

Revisión del 17:20 9 oct 2022

* {
 font-family: Ubuntu;
 border-radius: 2px;
}