Шаблон:MinisterialInfo/styles.css

Материал из МК14 | Space Station 14 Wiki
#hero {
  opacity: 0;
   text-align: center;
   font-weight: bold;
   animation: shake 3s infinite;
   animation: hero 5s 5s infinite;
}

@keyframes hero{
  0% {
    color: white;
  }
  90% {
    color: blue;
  }  
  to {
    color: white;
  }
}

#Traitor:hover+ #hero {
  opacity: 1;
}

.border-item {
	position: relative;
	padding: 10px 30px;
	border-left: 5px solid #337AB7;
	border-bottom: 5px solid #337AB7;
	border-right: 5px solid #337AB7;
	border-radius: 0 0 15px 15px;
	margin: 50px 30px 20px;
    text-align: left;
}
.border-head {
	display: flex;
	position: absolute;
	align-items: flex-end;
	top: 0;
	left: 0;
	width: 100%;
	text-align: center;
	font-size: 22px;
	line-height: 25px;
	font-weight: bold;
	text-transform: uppercase;
	color: #337AB7;
	transform: translateY(-100%);
}
.border-head:before {
	content: "";
	flex: 1;
	height: 15px;
	margin-right: 15px;
	border-top: 5px solid #337AB7;
	border-left: 5px solid #337AB7;
	border-radius: 15px 0;
	transform: translateX(-5px);
}
.border-head:after {
	content: "";
	flex: 1;
	height: 15px;
	margin-left: 15px;
	border-top: 5px solid #337AB7;
	border-right: 5px solid #337AB7;
	border-radius: 0 15px;
	transform: translateX(5px);
}

.quote {
  padding-left: 50px;
  border-left: 4px solid #e2e2e2;
  font-family: 'Georgia', 'Times New Roman', serif;
}
.quote p {
  font-style: normal;
  font-weight: normal;
  font-size: 22px;
  line-height: 28px;
  color: #fff;
}
.quote cite {
  font-style: italic;
  font-weight: normal;
  font-size: 22px;
  line-height: 28px;
  color: #aaaaaa;
}

#Traitor {
   text-align: center;
   font-weight: bold;
   letter-Spacing: 15px;
   animation: traitor 5s linear infinite;
   animation-delay: 5s;
}

#Traitor:hover {

}

@keyframes traitor{
  0% {
    color: white;
  }
  90% {
    color: red;
  }  
  to {
    color: white;
  }
}

h4 {
	font-family: 'Trebuchet MS', Helvetica, sans-serif;
    padding-right: 40px;
}

.our_text2 {
	font-family: 'Trebuchet MS', Helvetica, sans-serif;
    padding-left: 35px;
}

.bez2 {
	font-family: 'Trebuchet MS', Helvetica, sans-serif;
    padding-left: 40px;
}


.urtop {
   text-align: left;
   background-color: white;
   color: black;
   margin-top: 40px;
   background: linear-gradient(to left, #14181f 30%, #fff);
}

.our {
   text-align: right;
   background-color: white;
   color: black;
   margin-top: 40px;
   background: linear-gradient(to right, #14181f 30%, #fff);
}

.our3 {
   text-align: left;
   padding-top: 200px;
}

.our-text {
   padding-right: 200px;
}

.bodyContent {
   background-color: white;
}

.ticker {
  position: relative;
  overflow: hidden;
}

.ticker__wrapper {
  display: flex;
}

.ticker__item {
  font-family: sans-serif;
  font-size: 70px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 0 50px;
  animation: ticker 20s linear infinite;
}

@keyframes ticker {
  0% {
    transform: translate(0%);
  }
  to {
    transform: translate(-100%, 0);
  }
}


#nav {
    position: sticky;
    top: 8.15%;
	min-width: 360px;
	height: 30px;
    background-color: #14181f;
}

#nav, #nav ul {
	list-style-type: none;
}

#nav ul {
	display: none;
}

#nav li {
	float: left;
	display: block;
    padding: 5px 5px 5px 5px;
	position: relative;
    width: auto;
	text-align: center;
    background-color: #14181f;
}

b {
	text-decoration: none;
}

#nav li:hover ul {
	display: block;
	top: 100%;
	position: absolute;
	margin-left: -10px;
}





@keyframes animationOne {
   from {
      opacity: 0;
   }

   to {
      opacity: 1;
   }
}

@keyframes text1 {
   0% {
      color: #000;
      margin-bottom: -40px;
   }

   85% {
      letter-spacing: 8px;
      margin-bottom: -40px;
   }
}

        .block-animation {
          width: 90px;
          height: 50px;
          background-color: #ffb90f;
          transition: width 1s cubic-bezier(0, 0, 1, 1) 50ms;
        }
        
        .block-animation:hover {
          width: 590px;
          background-color: red;
          animation: shake 0.5s;
          animation-iteration-count: infinite;
        }

@keyframes shake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(3px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1deg); }
  60% { transform: translate(-3px, 1px) rotate(0deg); }
  70% { transform: translate(3px, 1px) rotate(-1deg); }
  80% { transform: translate(-1px, -1px) rotate(1deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-1deg); }
}

h1 {
  font-family: Roboto, Geneva, Arial, Helvetica, sans-serif;
}

.Traitor {
   text-align: center;
   font-weight: bold;
   letter-Spacing: 15px;
}


.underline-one {
	color: #00bfff; /* Цвет обычной ссылки */
    position: relative;
    cursor: pointer;
    text-decoration: none; /* Убираем подчеркивание */
}
.underline-one:after {
	content: "";
    display: block;
    position: absolute;
    right: 0;
    bottom: -3px;
    width: 0;
    height: 1px; /* Высота линии */
    background-color: black; /* Цвет подчеркивания при исчезании линии*/
    transition: width 0.5s; /* Время эффекта */
}

.underline-one:hover:after {
	content: "";
    width: 100%;
    display: block;
    position: absolute;
    left: 0;
    bottom: -1px;
    height: 1px; /* Высота линии */
    background-color: red; /* Цвет подчеркивания при появлении линии*/
    transition: width 0.5s;  /* Время эффекта */
}

.btn {
  font-weight: 700;
  color: white;
  text-decoration: none;
  padding: .3em 0.5em calc(.3em + 0.5px);
  background: #262626;
  transition: 0.2s;
  margin: 5px;
  border: solid;
  border-radius: 0.5px;
  border-width: 0.5px;
  border-color: #86c232;
  transition: width 1s cubic-bezier(0, 0, 1, 1) 500ms;
}
.btn:hover { 
    background: #86c232;
    color: black;
    border: 0.3px;
    width: 230px;
}
.btn:active {
  background: #CD2A19;
  box-shadow: 0 5px #9B111E inset;
}

.center {
  text-align: left;
}

.link {
  position: relative;
}
.link::after {
  position: absolute;
  content: '';
  left: 0;
  bottom: 0;
  display: block;
  width: 100%;
  height: 1px;
  background: #86c232;
}

.link::after {
  width: 0;
  transition: 0.3s;
}
.link:hover:after {
  width: 100%;
  transition: all 0.3s ease;
}