Thành viên:Nguyenhai314/Nguyenhai314-6/styles.css

Bách khoa toàn thư mở Wikipedia
ul {
  list-style: none; /* Remove default bullets */
}

ul li::before {
  content: "\2022"; 
  color: white;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}
.cards {
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
}
.card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  color: white;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  width: calc(33% - 20px);
  margin-left: 20px;
}
.card-image  {
  height: 200px;
  width: 100%;
  flex-shrink: 0;
  overflow: hidden;
}
.img-1 {
  background-image: url(https://upload.wikimedia.org/wikipedia/commons/8/8b/Flower-flyOnFlower2.jpg);
  background-size: cover;
  width: 100%;
  height: 200px;
}
.img-2 {
  background-image: url(https://upload.wikimedia.org/wikipedia/commons/6/63/Tower_Bridge_from_Shad_Thames.jpg);
  background-size: cover;
  width: 100%;
  height: 200px;
}
.img-3 {
  background-image: url(https://upload.wikimedia.org/wikipedia/commons/0/05/Sea_caves_Cape_Greco_9.jpg);
  background-size: cover;
  width: 100%;
  height: 200px;
}
.card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  background-color: #343D60;
}
.card-top {
  padding: 15px 20px 0 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-title {
  font-weight: 600;
  font-size: 25px;
  word-break: break-all;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}
.card-date {
  margin-bottom: 15px;
  color: #999;
  font-weight: 400;
  font-size: 15px;
  text-transform: uppercase;
}
.card-info {
  margin-bottom: 15px;
  text-align: justify;
  word-break: break-all;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}
.card-bottom {
  margin-top: auto;
  display: flex;
  flex-shrink: 0;
  padding: 20px 15px 15px 15px;
  border-top: 1px solid #eee;
  justify-content: flex-end;
  align-items: center;
}
.card-text-bottom {
  font-size: 15px;
  line-height: 15px;
  text-transform: uppercase;
}
.card-arrow {
  width: 18px;
  height: 18px;
  background-image: url(https://upload.wikimedia.org/wikipedia/commons/a/a8/OOjs_UI_icon_arrowNext-ltr-invert.svg);
  background-size: cover;
  margin-left: 10px;
}
@media only screen and (min-width: 874px) and (max-width: 1124px) {
  .card:first-child {
	width:100%;
	flex-direction: row;
  }
  .card:first-child .card-image{
  	width: 50%;
	height: 100%;
  }
    .card:first-child .card-image .img{
  	width: 100%;
	height: 100%;
	
  }
  .card:first-child .card-content{
  	width: 50%;
  }
	.card:first-child .card-image {
		width: 50%;
	}
  .card:nth-child(2), .card:last-child{
	width:calc(50% - 20px);
	margin-top:20px;
  }
}
@media screen and (max-width: 874px) {
  .card:first-child, .card:nth-child(2), .card:last-child {
    width: 100%;
  }
  .card:first-child, .card:nth-child(2) {
    margin-bottom: 25px;
  }
}
.card-image:hover .img-1, .card-image:hover .img-2, .card-image:hover .img-3{
	transform: scale(1.04);
	transition: 0.5s ease-out;
}
.cards2 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -20px;
  margin-top: 20px;
  justify-content:space-around;
}
.card-2 {
  position: relative;
  border-radius: 50%;
  background-color: #343D60;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  width: calc(16.67% - 40px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom:20px;
  margin-left:20px;
}
.card-2 a {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  text-decoration: none;
  color:transparent;
  font-size: 0.5vw;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-2:after {
  content:"";
  padding-bottom:100%;
}
.card-2-title {
    position: absolute;
    color: white;
    font-size: 1.25vw;
    font-weight: 600;
    transform: scale(0);
    text-transform: uppercase;
}
.card-2:hover .card-2-title {
	transform: scale(1);
    transition: all 0.5s ease-in-out;
}
@media only screen and (min-width: 874px) and (max-width: 1124px) {
  .card-2 {
  	width: calc(33.33% - 40px);
  	margin-left:20px;
  }
  .card-2-title {
  	font-size: 3vw;
  }
}
@media screen and (max-width: 874px) {
  .card-2 {
  	width: calc(50% - 40px);
  	margin-left:20px;
  }
  .card-2-title {
  	font-size: 3.6vw;
  }
}
.img2-1  {
  background: url(https://upload.wikimedia.org/wikipedia/commons/d/d2/Font_Awesome_5_solid_home_white.svg);
  width: 85%;
  height: 85%;
  background-repeat: no-repeat;
  position: absolute;
  transition: all 0.5s ease-in-out;
}
.img2-2  {
  background: url(https://upload.wikimedia.org/wikipedia/commons/e/ef/Font_Awesome_5_solid_users_white.svg);
  width: 85%;
  height: 85%;
  background-repeat: no-repeat;
  position: absolute;
  transition: all 0.5s ease-in-out;
}
.img2-3  {
  background: url(https://upload.wikimedia.org/wikipedia/commons/c/c2/Font_Awesome_5_solid_object-group_white.svg);
  width: 70%;
  height: 70%;
  background-repeat: no-repeat;
  position: absolute;
  transition: all 0.5s ease-in-out;
}
.img2-4  {
  background: url(https://upload.wikimedia.org/wikipedia/commons/2/22/Font_Awesome_5_solid_comments_white.svg);
  width: 80%;
  height: 80%;
  background-repeat: no-repeat;
  position: absolute;
  transition: all 0.5s ease-in-out;
}
.img2-5  {
  background: url(https://upload.wikimedia.org/wikipedia/commons/9/91/Font_Awesome_5_solid_medal_white.svg);
  width: 70%;
  height: 70%;
  background-repeat: no-repeat;
  position: absolute;
  transition: all 0.5s ease-in-out;
}
.img2-6  {
  background: url(https://upload.wikimedia.org/wikipedia/commons/6/6a/Font_Awesome_5_solid_th_white.svg);
  width: 70%;
  height: 70%;
  background-repeat: no-repeat;
  position: absolute;
  transition: all 0.5s ease-in-out;
}
.card-2:hover .img2-1, .card-2:hover .img2-2, .card-2:hover .img2-3, .card-2:hover .img2-4, .card-2:hover .img2-5, .card-2:hover .img2-6 {
  transition: all 0.5s ease-in-out;
  transform: scale(0);
}
.cards3 {
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
}
.card-left {
  display: flex;
  flex-direction: column;
  width: calc(60% - 20px);
  margin-left: 20px;
}
.card-right {
  display: flex;
  flex-direction: column;
  width: calc(40% - 20px);
  margin-left: 20px;
}
.card-right ul {
    list-style-type: none;
    margin-left: 10px;
}
.card-right ul li {
    margin-bottom: 5px;
    margin-left: -10px;
    display: flex;
    align-items: center;
}

.card-right ul li::before {
    color: transparent;
    font-size: 1px;
    content: " ";
    margin-left: -1.3em;
    margin-right: 15px;
    padding: 5px;
    background-image: url(https://upload.wikimedia.org/wikipedia/commons/d/df/OOjs_UI_icon_next-ltr-invert.svg);
    background-size: cover;
}
.card-news {
  background-color: #343D60;
  border-radius: 20px;
  overflow: hidden;
  color: white;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  margin-bottom: 10px;
}
.card-news-top {
  display: flex;
  flex-shrink: 0;
  padding: 10px 15px 10px 15px;
  border-bottom: 1px solid #eee;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}
.card-news-top-icon-1 {
  background-image: url(https://upload.wikimedia.org/wikipedia/commons/7/7a/OOjs_UI_icon_newspaper-ltr-invert.svg);
  background-repeat: no-repeat;
  width: 25px;
  height: 25px;
  background-size: cover;
  margin-right: 10px;
}
.card-news-top-icon-2 {
  background-image: url(https://upload.wikimedia.org/wikipedia/commons/c/cb/OOjs_UI_icon_bell-invert.svg);
  background-repeat: no-repeat;
  width: 25px;
  height: 25px;
  background-size: cover;
  margin-right: 10px;
}
.card-news-top-text {
  font-size: 25px;
  font-weight: 600;
}
.card-news-middle {
  padding: 15px 15px 0 15px;
  margin-bottom: 15px;
}
.card-news-bottom {
  margin-top: auto;
  display: flex;
  flex-shrink: 0;
  padding: 20px 15px 15px 15px;
  justify-content: flex-end;
  background-color: #242a42;
}
.card-news-bottom-text {
  font-size: 15px;
  line-height: 18px;
  text-transform: uppercase;
}
.card-news-bottom-icon {
  width: 18px;
  height: 18px;
  background-image: url(https://upload.wikimedia.org/wikipedia/commons/a/a0/OOjs_UI_icon_add-invert.svg);
  background-repeat: no-repeat;
  background-size: cover;
  margin-left: 10px;
}
.card-right-box {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background-color: #343D60;
  border-radius: 20px;
  overflow: hidden;
  color: white;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  margin-bottom: 10px;
}
.tvtb-img {
  height: 180px;
  width: 180px;
  background-image: url(https://upload.wikimedia.org/wikipedia/commons/0/08/Flower_125.jpg);
  border-radius: 50%;
  background-size:cover;
  align-self: center;
  margin-top: 30px;
}
.tvtb-content {
  display: flex;
  flex-direction: column;
  margin-top: 15px;
  align-items: center;
}
.tvtb-title {
  font-size: 25px;
  font-weight: 600;
}
.tvtb-date {
  width: 100%;
  color: #999;
  font-weight: 400;
  font-size: 15px;
  text-transform: uppercase;
  text-align: center;
}
.tvtb-info {
  padding: 20px 15px 20px 15px;
  font-weight: 200;
  text-align: justify;
}
.card-right-box-top {
  margin-top: 15px;
  margin-bottom: 15px;
  margin-left: 15px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}
/*
.contact-top-logo {
  background-image: url(https://upload.wikimedia.org/wikipedia/commons/5/5f/Movie_icon.svg);
  background-repeat: no-repeat;
  width: 40px;
  height: 40px;
  background-size: cover;
  margin-right: 15px;
}
*/
.contact-top {
 margin: 15px 15px 15px 0;
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: center;
}
.card-right-box-title {
 font-size: 25px;
 font-weight: 600;
}
.contact-top-text {
 text-align: center;
 width: 100%;
}
.contact-bottom {
  padding-top: 15px;
  padding-bottom: 15px;
  width: 100%;
  text-align: center;
  background-color: #242a42;
}
.contact-bottom-text {
  display: inline-block;
  text-transform: uppercase;
  font-size: 15px;
  margin-right: 8px;
}
.contact-bottom-arrow {
  display: inline-block;
  background-image: url(https://upload.wikimedia.org/wikipedia/commons/1/19/Font_Awesome_5_solid_angle-double-right_white.svg);
  background-repeat: no-repeat;
  height: 13px;
  width: 16px;
  background-size: cover;
  transition: transform 0.3s ease;
  transform: translateX(0px);
}
.contact-bottom:hover .contact-bottom-arrow {
  transform: translateX(2.5px);
}
.faq-logo {
  background-image: url(https://upload.wikimedia.org/wikipedia/commons/f/fa/Question_mark_white_icon.svg);
  background-repeat: no-repeat;
  width: 30px;
  height: 30px;
  background-size: cover;
  margin-right: 15px;
}
.faq-top-content {
  padding: 0px 15px 0 15px;
  text-align: justify;
  margin-bottom: 15px;
}
.faq-bottom {
  padding: 15px;
  background-color: #242a42;
  display: block;
  text-align: justify;
}
.rev-logo {
  background-image: url(https://upload.wikimedia.org/wikipedia/commons/8/8a/OOjs_UI_icon_table-insert-column-rtl-invert.svg);
  background-repeat: no-repeat;
  width: 30px;
  height: 30px;
  background-size: cover;
  margin-right: 15px;
}
@media only screen and (min-width: 874px) and (max-width: 1124px) {
  .card-left, .card-right {
  width: calc(50% - 20px);
  }
}
@media screen and (max-width: 874px) {
  .card-left, .card-right {
  width: 100%;
  }
}