MediaWiki:Common.css

From Lie of Wiki
Revision as of 22:53, 19 January 2024 by Admin (talk | contribs)
Jump to: navigation, search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */

body, html {

margin-right:5%;
margin-bottom:5%;
}



@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");



.skills_bar {
  width: 600px;
  background: #fff;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 2rem 2.5rem;
}
.skills_bar .bar {
  margin: 2.2rem 0;
}
.skills_bar .bar:first-child {
  margin-top: 0px;
}
.skills_bar .bar .info {
  margin-bottom: 5px;
}
.skills_bar .bar .info span {
  font-size: 1.1rem;
  font-weight: 500;
}
.skills_bar .bar .progress_line {
  height: 12px;
  width: 100%;
  background: #f0f0f0;
  border-radius: 10px;
  position: relative;
  box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.05),
    0px 1px rgba(255, 255, 255, 0.8);
  transform: scaleX(0);
  transform-origin: left;
  animation: animate 1s cubic-bezier(1, 0, 0.5, 1) forwards;
}
@keyframes animate {
  100% {
    transform: scaleX(1);
  }
}
.bar .progress_line span {
  height: 100%;
  width: 80%;
  position: absolute;
  background: #8834db;
  border-radius: 10px;
  transform: scaleX(0);
  transform-origin: left;
  animation: animate 1s 1s cubic-bezier(1, 0, 0.5, 1) forwards;
}
.progress_line.html span {
  width: 90%;
}
.progress_line.css span {
  width: 80%;
}
.progress_line.js span {
  width: 75%;
}
.progress_line.bootstrap span {
  width: 87%;
}
.progress_line.react span {
  width: 57%;
}
.progress_line.nodejs span {
  width: 67%;
}
.bar .progress_line span::before {
  position: absolute;
  content: "";
  height: 0;
  width: 0;
  border: 7px solid transparent;
  border-bottom-width: 0;
  border-right-width: 0;
  border-top-color: #000;
  right: 0;
  top: -10px;
}
.bar .progress_line span::after {
  position: absolute;
  right: 0;
  top: -35px;
  background: #000;
  color: #fff;
  padding: 1px 8px;
  border-radius: 3px;
}
.progress_line.html span::after {
  content: "95%";
}
.progress_line.css span::after {
  content: "80%";
}
.progress_line.js span::after {
  content: "75%";
}
.progress_line.bootstrap span::after {
  content: "87%";
}
.progress_line.react span::after {
  content: "57%";
}
.progress_line.nodejs span::after {
  content: "67%";
}




#bar {
 height: 20px;
 background-color: green;
 width: 30%;
}

img {
  pointer-events: none;
}

/* Infobox template style */
.infobox {
	border: 1px solid #a2a9b1;
	border-spacing: 3px;
	background-color: #f8f9fa;
	color: black;
	/* @noflip */
	margin: 0.5em 0 0.5em 1em;
	padding: 0.2em;
	/* @noflip */
	float: right;
	/* @noflip */
	clear: right;
	font-size: 88%;
	line-height: 1.5em;
	width: 22em;
}

.infobox-header,
.infobox-label,
.infobox-above,
.infobox-full-data,
.infobox-data,
.infobox-below,
.infobox-subheader,
.infobox-image,
.infobox-navbar,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox td {
	vertical-align: top;
}

.infobox-label,
.infobox-data,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox td {
	/* @noflip */
	text-align: left;
}

/* Remove .infobox when element selectors above are removed */
.infobox .infobox-above,
.infobox .infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox caption {
	font-size: 125%;
	font-weight: bold;
	text-align: center;
}

.infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox caption {
	padding: 0.2em;
}

/* Remove .infobox when element selectors above are removed */
.infobox .infobox-header,
.infobox .infobox-subheader,
.infobox .infobox-image,
.infobox .infobox-full-data,
.infobox .infobox-below {
	text-align: center;
}

/* Remove .infobox when element selectors above are removed */
.infobox .infobox-navbar {
	/* @noflip */
	text-align: right;
}