Kontent qismiga oʻtish

Andoza:WikiStipendiya marafoni/styles.css

Vikipediya, ochiq ensiklopediya
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 10px;
}

.grid2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 10px;
}

.span-4 {
  grid-column: span 4 / auto;
}

.span-2 {
  grid-column: span 2 / auto;
}

.span-3 {
  grid-row: span 2 / auto;
}

@media screen and (max-width: 675px) {
  .grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 10px;
  }

  .grid2 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 10px;
  }

  .span-4 {
    grid-column: auto;
  }

  .span-2 {
    grid-column: auto;
  }

  .span-3 {
    grid-row: auto;
  }
}

/*

*/

.nav {
	  font-family: "Tajawal", sans-serif;
}

.nav-links {
  display: flex;
  list-style: none;
  width: 100%;
  margin: auto;
  padding: 10px;
  justify-content: center;
  align-items: center;
}

.nav-links ul a {
  text-decoration: none;
}

.nav ul li {
  border: 1px solid #e0e0e0;
  border-radius: 15px;
  padding: 5px;
  width: 150px;
  text-align: center;
  font-size: 105%;
  font-weight: bold;
  margin: 5px;
}

.nav ul li:hover {
  background: #e0e0e0;
}

li.content-title:hover {
  width: 200px;
  background: #007bff;
  color: white;
  transition-duration: 0.5s;
}

li.content-title a {
  color: #000;
}

li.content-title.blue-b {
  background: #007bff;
}

.content-title.blue-b a {
  color: white;
}

li.content-title.red-b {
  background: #da4453;
}

.content-title.red-b a {
  color: white;
}

li.content-title.green-b {
  background: #189771;
}

.content-title.green-b a {
  color: white;
}

.nav p {
  font-family: "Tajawal", sans-serif;
  font-size: 35px;
  font-weight: bold;
  text-align: center;
  line-height: 5px;
}

@media screen and (max-width: 675px) {
  .nav-links {
    flex-direction: column;
  }
}
/*

*/

.card-head {
  padding: 5px;
  background: #007bff;
  align-content: center;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  line-height: 10px;
}

.card-head.red {
  background: #da4453;
}

.card-head.green {
  background: #189771;
}

.title-p {
  font-family: "Tajawal", sans-serif;
  color: white;
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  line-height: 5px;
  padding: 15px;
}

.subtitle-p {
  color: white;
  font-family: "Tajawal", sans-serif;
  text-align: center;
  line-height: 15px;
  padding: 15px;
  font-size: 18px;
}

.card {
  border: 1px solid #e0e0e0;
  border-radius: 5px;
}

.card-dark {
  background: #fbfbfb;
}


/*

*/

.big-number {
  margin: 10px;
  font-family: "Tajawal", sans-serif;
  text-align: center;
  font-size: 40px;
  font-weight: bold;
}

p.n-desc {
  text-align: left;
  vertical-align: top;
  margin: 10px;
  font-family: "Tajawal", sans-serif;
  font-size: 20px;
  font-weight: normal;
}

.small-icon {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 75px;
}

.lbtn {
  display: inline-block;
  font-family: "Tajawal", sans-serif;
  float: left;
  width: 100px;
  border: 1px solid #e0e0e0;
  border-radius: 15px;
  margin: 5px;
  padding: 1px;
  text-align: center;
  font-size: 85%;
}

.lbtn:hover {
  background: #e0e0e0;
  cursor: pointer;
}

.lbtn a {
  color: #424242;
}

.subtitle-p a {
  text-decoration: none;
  color: #000;
}

.info-icon {
  float: right;
  width: 20px;
  height: 20px;
  color: grey;
  font-weight: bold;
  text-align: center;
  vertical-align: top;
  margin: 5px 5px 0px 0px;
  border-radius: 50%;
  text-indent: 0px;
  font-size: small;
}

.more {
  padding: 0px;
  margin: 5px;
  width: 95%;
  font-family: "Markazi Text", sans-serif;
  text-align: center;
  border-top: 1px solid #e0e0e0;
}

.cat {
  width: 100%;
  margin: auto;
  padding: 10px;
}

.cat ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}

.cat ul li a {
  display: inline-block;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 15px;
  padding: 5px;
  min-width: 150px;
  text-align: center;
  font-size: 95%;
  margin: 2px 5px;
  cursor: pointer;
  text-decoration: none;
}

.cat .mw-selflink {
  background: #4ca40b;
  color: #ffffff;
}

.cat ul li a:hover {
  width: 220px;
  background: #e0e0e0;
  color: #000000;
  transition-duration: 0.5s;
}