No edit summary
No edit summary
Line 89: Line 89:
}
}


/* button styling */
.highlight {
.highlight {
   --border-right: 6px;
   --s: 0.1em;   /* the thickness of the line */
  --text-stroke-color: rgba(255,255,255,0.6);
   --c: #2c4bff; /* the color */
   --animation-color: #37FF8B;
    
   --fs-size: 2em;
   color: #0000;
   letter-spacing: 3px;
   padding-bottom: var(--s);
   text-decoration: none;
   background:  
  font-size: var(--fs-size);
    linear-gradient(90deg,var(--c) 50%,#000 0) calc(100% - var(--_p,0%))/200% 100%,
   font-family: "Arial";
    linear-gradient(var(--c) 0 0) 0% 100%/var(--_p,0%) var(--s) no-repeat;
  position: relative;
   -webkit-background-clip: text,padding-box;
  text-transform: uppercase;
          background-clip: text,padding-box;
  color: transparent;
  -webkit-text-stroke: 1px var(--text-stroke-color);
}
/* this is the text, when you hover on button */
.hover-text {
  position: absolute;
  box-sizing: border-box;
  content: attr(data-text);
  color: var(--animation-color);
  width: 0%;
  inset: 0;
  border-right: var(--border-right) solid var(--animation-color);
   overflow: hidden;
   transition: 0.5s;
   transition: 0.5s;
  -webkit-text-stroke: 1px var(--animation-color);
}
/* hover */
.highlight:hover .hover-text {
  width: 100%;
  filter: drop-shadow(0 0 23px var(--animation-color))
}
}

Revision as of 22:24, 16 July 2023

/* CSS placed here will be applied to all skins */

body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { 
  display: none; 
}

p {
  font-size: 20px !important;
}

a.external:after {
	display: none !important;
}


.card {
  padding: 5px;
  box-sizing: border-box;
  background: rgba(217, 217, 217, 0.58);
  border: 1px solid white;
  box-shadow: 12px 17px 51px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(6px);
  border-radius: 17px;
  text-align: center;
  cursor: pointer;
  transition: all 0.5s;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  font-weight: bolder;
  color: black;
}

.card:hover {
  border: 1px solid black;
  transform: scale(1.05);
}


.company-cards {
  display: flex;
  flex-direction: column;
}

.company-cards > ul {
  width: 33% !important;
  margin: auto;
}

.company-cards > ul > li {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  margin-bottom: 20px;
  flex-direction: column;
  text-align: center;
  width: 100%;
  border-radius: 10px;
  color: white;
  cursor: pointer;
  transition: 400ms;
  box-shadow: 0 0 10px gray;
  padding: 10px;
}

.company-cards > ul > li {
  font-size: 30px;
  font-weight: 700;
}

.company-cards > ul > li:hover {
  transform: scale(1.1, 1.1);
}

.company-cards > ul:hover > li:not(:hover) {
  filter: blur(2px);
  transform: scale(0.9, 0.9);
}

/* === removing default button style ===*/
.highlight {
  margin: 0;
  height: auto;
  background: transparent;
  padding: 0;
  border: none;
}

.highlight {
  --s: 0.1em;   /* the thickness of the line */
  --c: #2c4bff; /* the color */
  
  color: #0000;
  padding-bottom: var(--s);
  background: 
    linear-gradient(90deg,var(--c) 50%,#000 0) calc(100% - var(--_p,0%))/200% 100%,
    linear-gradient(var(--c) 0 0) 0% 100%/var(--_p,0%) var(--s) no-repeat;
  -webkit-background-clip: text,padding-box;
          background-clip: text,padding-box;
  transition: 0.5s;
}