Шаблон:MinisterialInfo/styles.css: различия между версиями

Материал из МК14 | Space Station 14 Wiki
Нет описания правки
(Отмена правки 11166, сделанной D0r11s (обсуждение))
Метка: отмена
 
(не показано 85 промежуточных версий этого же участника)
Строка 1: Строка 1:
.total_war {
  animation: shake 3s infinite;
  animation: traitor 5s linear infinite;
  transition: 1s; /* Время эффекта */
  text-align: center;
}
.text-test {
  text-align: left;
  font-size: 25px;
  font-family: "Gill Sans", sans-serif;
}
.nazidanie {
  text-shadow: 0 0.1em #212121;
}
#infboox {
  font-family: "Gill Sans", sans-serif;
}
#terra {
  font-size: 150px;
}
.total_war:hover {
  animation: shake 3s linear infinite;
  animation: traitor 5s linear infinite;
  transform: scale(2.5);
}
.blockquote-2 {
    margin: 16px 16px 30px 16px;
    padding: 26px 24px;
    font-size: 16px;
    background: #BFE2FF;
    border-left: 5px solid;
    border-color: #337AB7;
}
.blockquote-2::after {
    content: '';
    margin-top: -30px;
    padding-top: 0;
    position: relative;
    bottom: -50px;
    left: 20px;
    border-width: 30px 0 0 30px;
    border-style: solid;
    border-color: #BFE2FF transparent;
    display: block;
    width: 0;
}
.blockquote-2 p::before {
    content: "“";
    font-family: Georgia;
    font-size: 40px;
    line-height: 0;
    display: inline-block;
}
.blockquote-2 cite {
    float: right;
    font-size: 13px;
}
.blockquote-2 cite:before {
    content: '- ';
}
.blockquote-1 {
    box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.2);
    margin: 16px 16px 30px 16px;
    padding: 16px 24px;
    position: relative;
    font-size: 16px;
    background: #efefef;
    color: #000;
    font-style: italic;
}
.blockquote-1::before {
    border: 14px solid transparent;
    border-top: 14px solid #efefef;
    border-bottom: 0;
    height: 0;
    width: 0;
    border-top-width: 25px;
    content: '';
    display: block;
    position: absolute;
    left: 40px;
    bottom: -25px;
    transform-origin: center;
    transform: rotate(90deg) skew(-25deg) translateY(17px);
}
.blockquote-1 cite {
    position: absolute;
    bottom: -24px;
    left: 62px;
    font-size: 13px;
    font-style: normal;
    font-weight: 300;
    color: #fff;
}
#hero {
  opacity: 0;
  text-align: center;
  font-weight: bold;
  animation: shake 3s infinite;
  animation: hero 5s 5s infinite;
  transition: opacity 2s;
}
@keyframes hero{
  0% {
    color: white;
  }
  90% {
    color: blue;
  } 
  to {
    color: white;
  }
}
#Traitor:hover+ #hero {
  opacity: 1;
  transition: opacity 2s;
}
.border-item {
.border-item {
position: relative;
position: relative;
Строка 7: Строка 135:
border-radius: 0 0 15px 15px;
border-radius: 0 0 15px 15px;
margin: 50px 30px 20px;
margin: 50px 30px 20px;
    text-align: left;
}
}
.border-head {
.border-head {
Строка 68: Строка 197:
   font-weight: bold;
   font-weight: bold;
   letter-Spacing: 15px;
   letter-Spacing: 15px;
   animation: traitor 5s linear 2;
   animation: traitor 5s linear infinite;
   animation-delay: 5s;
   animation-delay: 5s;
}
}
Строка 80: Строка 209:
     color: white;
     color: white;
   }
   }
   50% {
   90% {
     color: red;
     color: red;
   }   
   }   
Строка 197: Строка 326:
position: absolute;
position: absolute;
margin-left: -10px;
margin-left: -10px;
}
#nav li:hover {
background-color: black;
}
}


Строка 261: Строка 386:
}
}


p {
  font-family: Trebuchet MS, sans-serif;
}
.zagalovok{
  font-family: 'Arial Black', Gadget, sans-serif;;
  font-weight: 900;
}
.Traitor {
.Traitor {
   text-align: center;
   text-align: center;
Строка 321: Строка 454:
   background: #CD2A19;
   background: #CD2A19;
   box-shadow: 0 5px #9B111E inset;
   box-shadow: 0 5px #9B111E inset;
}
.btn2 {
  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: #49f1fc;
  transition: width 1s cubic-bezier(0, 0, 1, 1) 500ms;
}
.btn2:hover {
    background: #49f1fc;
    color: black;
    border: 0.3px;
    width: 230px;
}
.btn2:active {
  background: #49f1fc;
  box-shadow: 0 5px #49f1fc inset;
}
}


Строка 346: Строка 504:
}
}
.link:hover:after {
.link:hover:after {
  width: 100%;
  transition: all 0.3s ease;
}
.link2 {
  position: relative;
  color: red;
}
.link2::after {
  position: absolute;
  content: '';
  animation: shake 3s infinite;
  left: 0;
  bottom: 0;
  display: block;
  width: 100%;
  height: 1px;
  background: red;
}
.link3::after {
  width: 0;
  transition: 0.3s;
}
.link3:hover:after {
  width: 100%;
  transition: all 0.3s ease;
}
.link3 {
  position: relative;
}
.link3::after {
  position: absolute;
  content: '';
  animation: shake 3s infinite;
  left: 0;
  bottom: 0;
  display: block;
  width: 100%;
  height: 1px;
  background: #49f1fc;
}
.link3::after {
  width: 0;
  transition: 0.3s;
}
.link3:hover:after {
   width: 100%;
   width: 100%;
   transition: all 0.3s ease;
   transition: all 0.3s ease;
}
}

Текущая версия от 19:09, 26 сентября 2024

.total_war {
   animation: shake 3s infinite;
   animation: traitor 5s linear infinite;
   transition: 1s; /* Время эффекта */
   text-align: center; 
}

.text-test {
   text-align: left;
   font-size: 25px;
   font-family: "Gill Sans", sans-serif;
}

.nazidanie {
   text-shadow: 0 0.1em #212121;
}

#infboox {
   font-family: "Gill Sans", sans-serif;
}

#terra {
   font-size: 150px;
}

.total_war:hover {
   animation: shake 3s linear infinite;
   animation: traitor 5s linear infinite;
   transform: scale(2.5);
}

.blockquote-2 {
    margin: 16px 16px 30px 16px;
    padding: 26px 24px;
    font-size: 16px;
    background: #BFE2FF;
    border-left: 5px solid;
    border-color: #337AB7;
}
.blockquote-2::after {
    content: '';
    margin-top: -30px;
    padding-top: 0;
    position: relative;
    bottom: -50px;
    left: 20px;
    border-width: 30px 0 0 30px;
    border-style: solid;
    border-color: #BFE2FF transparent;
    display: block;
    width: 0;
}
.blockquote-2 p::before {
    content: "“";
    font-family: Georgia;
    font-size: 40px;
    line-height: 0;
    display: inline-block;
}
.blockquote-2 cite {
    float: right;
    font-size: 13px;
}
.blockquote-2 cite:before {
    content: '- ';
}

.blockquote-1 {
    box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.2);
    margin: 16px 16px 30px 16px;
    padding: 16px 24px;
    position: relative;
    font-size: 16px;
    background: #efefef;
    color: #000;
    font-style: italic;
}
.blockquote-1::before {
    border: 14px solid transparent;
    border-top: 14px solid #efefef;
    border-bottom: 0;
    height: 0;
    width: 0;
    border-top-width: 25px;
    content: '';
    display: block;
    position: absolute;
    left: 40px;
    bottom: -25px;
    transform-origin: center;
    transform: rotate(90deg) skew(-25deg) translateY(17px);
}
.blockquote-1 cite {
    position: absolute;
    bottom: -24px;
    left: 62px;
    font-size: 13px;
    font-style: normal;
    font-weight: 300;
    color: #fff;
}

#hero {
   opacity: 0;
   text-align: center;
   font-weight: bold;
   animation: shake 3s infinite;
   animation: hero 5s 5s infinite;
   transition: opacity 2s;
}

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

#Traitor:hover+ #hero {
  opacity: 1;
  transition: opacity 2s;
}

.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;
}

p {
  font-family: Trebuchet MS, sans-serif;
}

.zagalovok{
  font-family: 'Arial Black', Gadget, sans-serif;;
  font-weight: 900;
}
.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;
}

.btn2 {
  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: #49f1fc;
  transition: width 1s cubic-bezier(0, 0, 1, 1) 500ms;
}
.btn2:hover { 
    background: #49f1fc;
    color: black;
    border: 0.3px;
    width: 230px;
}
.btn2:active {
  background: #49f1fc;
  box-shadow: 0 5px #49f1fc 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;
}

.link2 {
  position: relative;
  color: red;
}
.link2::after {
  position: absolute;
  content: '';
  animation: shake 3s infinite;
  left: 0;
  bottom: 0;
  display: block;
  width: 100%;
  height: 1px;
  background: red;
}

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

.link3 {
  position: relative;
}
.link3::after {
  position: absolute;
  content: '';
  animation: shake 3s infinite;
  left: 0;
  bottom: 0;
  display: block;
  width: 100%;
  height: 1px;
  background: #49f1fc;
}

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