rm css
This commit is contained in:
parent
06bcfaab90
commit
eb2597c256
@ -1,207 +0,0 @@
|
||||
@import "swiper.css";
|
||||
@import "scrollbar.css";
|
||||
@import "style-lib.css";
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
a {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
body {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: Arial, sans-serif;
|
||||
background-color: #3f3f3f;
|
||||
}
|
||||
|
||||
/*Header*/
|
||||
.header {
|
||||
background-color: transparent; /* Зеленый фон */
|
||||
padding: 10px 20px; /* Отступы */
|
||||
text-align: start; /* Выравнивание текста */
|
||||
position: fixed; /* Закрепить позицию */
|
||||
top: 0; /* Привязать к верхней части окна */
|
||||
left: 0; /* Привязать к левой стороне окна */
|
||||
right: 0; /* Привязать к правой стороне окна */
|
||||
z-index: 1000; /* Обеспечить, чтобы заголовок был поверх других элементов */
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 32px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 28px;
|
||||
}
|
||||
|
||||
.header__logo {
|
||||
font-family: Intro, serif;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
|
||||
.header__wrapper {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.nav ul {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.nav li {
|
||||
margin: 0 1rem;
|
||||
}
|
||||
|
||||
.nav {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.nav li {
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
}
|
||||
|
||||
.dropdown-content {
|
||||
display: none;
|
||||
position: absolute;
|
||||
background-color: transparent;
|
||||
min-width: 160px;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.dropdown-content a {
|
||||
float: none;
|
||||
padding: 12px 0;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.dropdown-content a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
|
||||
.dropdown:hover .dropdown-content {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.dropdown {
|
||||
float: left;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.dropdown .dropbtn {
|
||||
font-size: 16px;
|
||||
border: none;
|
||||
outline: none;
|
||||
color: inherit;
|
||||
background-color: inherit;
|
||||
font-family: inherit;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/*End header*/
|
||||
main {
|
||||
/*padding-top: 60px; !* Отступ сверху, чтобы контент не был скрыт под заголовком *!*/
|
||||
}
|
||||
|
||||
body {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.slide-text {
|
||||
text-align: start;
|
||||
z-index: 1;
|
||||
font-family: Roboto, sans-serif;
|
||||
}
|
||||
|
||||
|
||||
.down-left {
|
||||
left: 100px;
|
||||
bottom: 100px;
|
||||
}
|
||||
|
||||
.top-left {
|
||||
left: 100px;
|
||||
top: 100px;
|
||||
}
|
||||
|
||||
.center-left {
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
.slide-text p, .slide-text li {
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
|
||||
.slide-text-down-left-800px {
|
||||
width: 800px;
|
||||
position: absolute;
|
||||
left: 100px;
|
||||
bottom: 100px;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.slide-text-top-center {
|
||||
margin-top: 60px;
|
||||
width: 1200px;
|
||||
}
|
||||
|
||||
.slide-text-down-left-600px > *, .slide-text-top-left-600px > *, .slide-text-down-left-800px > * {
|
||||
text-align: start;
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.mb-1 {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.mb-2 {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.bg-white {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.arrow-down {
|
||||
margin: 0 auto;
|
||||
left: 0;
|
||||
right: 0;
|
||||
position: absolute;
|
||||
bottom: 10px;
|
||||
}
|
||||
|
||||
|
||||
.list-style-none {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.inner-gap-1 > * {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.container {
|
||||
width: 1200px;
|
||||
}
|
||||
|
||||
.card-img {
|
||||
object-fit: cover;
|
||||
width: 500px;
|
||||
height: 400px;
|
||||
}
|
||||
@ -1,238 +0,0 @@
|
||||
@import "scrollbar.css";
|
||||
@import "style-lib.css";
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
a {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: Arial, sans-serif;
|
||||
background-color: #3f3f3f;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
/*Header*/
|
||||
.header {
|
||||
background-color: transparent; /* Зеленый фон */
|
||||
padding: 10px 20px; /* Отступы */
|
||||
text-align: start; /* Выравнивание текста */
|
||||
position: fixed; /* Закрепить позицию */
|
||||
top: 0; /* Привязать к верхней части окна */
|
||||
left: 0; /* Привязать к левой стороне окна */
|
||||
right: 0; /* Привязать к правой стороне окна */
|
||||
z-index: 1000; /* Обеспечить, чтобы заголовок был поверх других элементов */
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 32px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 28px;
|
||||
}
|
||||
|
||||
.header__logo {
|
||||
font-family: Intro, serif;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
|
||||
.header__wrapper {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.nav ul {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.nav li {
|
||||
margin: 0 1rem;
|
||||
}
|
||||
|
||||
.nav {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.nav li {
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
}
|
||||
|
||||
/*End header*/
|
||||
main {
|
||||
/*padding-top: 60px; !* Отступ сверху, чтобы контент не был скрыт под заголовком *!*/
|
||||
}
|
||||
|
||||
body {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.slide-text {
|
||||
text-align: start;
|
||||
z-index: 1;
|
||||
font-family: Roboto, sans-serif;
|
||||
}
|
||||
|
||||
|
||||
.down-left {
|
||||
left: 100px;
|
||||
bottom: 100px;
|
||||
}
|
||||
|
||||
.top-left {
|
||||
left: 100px;
|
||||
top: 100px;
|
||||
}
|
||||
|
||||
.center-left {
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
.slide-text p, .slide-text li {
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
|
||||
.slide-text-down-left-800px {
|
||||
width: 800px;
|
||||
position: absolute;
|
||||
left: 100px;
|
||||
bottom: 100px;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.slide-text-top-center {
|
||||
margin-top: 60px;
|
||||
width: 1200px;
|
||||
}
|
||||
|
||||
.slide-text-down-left-600px > *, .slide-text-top-left-600px > *, .slide-text-down-left-800px > * {
|
||||
text-align: start;
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.mb-1 {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.mb-2 {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.bg-white {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.arrow-down {
|
||||
margin: 0 auto;
|
||||
left: 0;
|
||||
right: 0;
|
||||
position: absolute;
|
||||
bottom: 10px;
|
||||
}
|
||||
|
||||
|
||||
.list-style-none {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.inner-gap-1 > * {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.container {
|
||||
width: 1200px;
|
||||
}
|
||||
|
||||
.card-img {
|
||||
object-fit: cover;
|
||||
width: 500px;
|
||||
height: 400px;
|
||||
}
|
||||
|
||||
.background-image {
|
||||
filter: brightness(40%);
|
||||
object-fit: cover;
|
||||
object-position: bottom right;
|
||||
}
|
||||
|
||||
|
||||
/*swp*/
|
||||
|
||||
.swiper {
|
||||
width: 100%;
|
||||
padding-top: 50px;
|
||||
padding-bottom: 50px;
|
||||
}
|
||||
|
||||
.swiper-slide {
|
||||
background-position: center;
|
||||
background-size: cover;
|
||||
width: 450px;
|
||||
height: 400px;
|
||||
}
|
||||
|
||||
.swiper-slide img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.swiper-button-next, .swiper-button-prev {
|
||||
color: #fff; /* Цвет стрелок */
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
}
|
||||
|
||||
.swiper-button-next:after, .swiper-button-prev:after {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
/* Стиль для неактивных пуль пагинации */
|
||||
.swiper-pagination-bullet {
|
||||
background-color: #ccc; /* Цвет неактивных элементов */
|
||||
opacity: 0.5; /* Полупрозрачные неактивные элементы */
|
||||
transition: background-color 0.3s, opacity 0.3s; /* Плавное изменение цвета и прозрачности */
|
||||
}
|
||||
|
||||
/* Стиль для активной пули пагинации */
|
||||
.swiper-pagination-bullet-active {
|
||||
background-color: #fff; /* Цвет активного элемента */
|
||||
opacity: 1; /* Полностью непрозрачный активный элемент */
|
||||
}
|
||||
|
||||
.card {
|
||||
background-color: #b2b2b2;
|
||||
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.card-img {
|
||||
width: 100%;
|
||||
height: 200px;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.card-content {
|
||||
padding: 1.5rem;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.card-title {
|
||||
font-size: 1.25rem;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
@ -1,324 +0,0 @@
|
||||
|
||||
:root {
|
||||
--primary-bg: #0a0a0a;
|
||||
--secondary-bg: #1a1a1a;
|
||||
--text-color: #fff;
|
||||
--accent-color: #2a2a2a;
|
||||
--hover-color: #3a3a3a;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background-color: var(--primary-bg);
|
||||
color: var(--text-color);
|
||||
font-family: 'Roboto', sans-serif;
|
||||
}
|
||||
|
||||
h1, h2, h3, .logo {
|
||||
font-family: 'Montserrat', sans-serif;
|
||||
}
|
||||
|
||||
.header {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
background-color: rgba(10, 10, 10, 0.9);
|
||||
padding: 1rem 0;
|
||||
z-index: 1000;
|
||||
backdrop-filter: blur(3px)
|
||||
}
|
||||
|
||||
.header-content {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.logo {
|
||||
font-size: 1.5rem;
|
||||
font-weight: bold;
|
||||
color: var(--text-color);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.nav-list {
|
||||
display: flex;
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.nav-item {
|
||||
margin-left: 1.5rem;
|
||||
}
|
||||
|
||||
.nav-link {
|
||||
color: var(--text-color);
|
||||
text-decoration: none;
|
||||
transition: opacity 0.3s;
|
||||
}
|
||||
|
||||
.nav-link:hover {
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
.burger {
|
||||
display: none;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
width: 30px;
|
||||
height: 21px;
|
||||
cursor: pointer;
|
||||
z-index: 1001; /* Чтобы иконка была поверх других элементов */
|
||||
}
|
||||
|
||||
.burger span {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 3px;
|
||||
background-color: var(--text-color);
|
||||
transition: all 0.3s ease;
|
||||
transform-origin: center; /* Точка вращения — центр элемента */
|
||||
}
|
||||
|
||||
/* Адаптивные стили */
|
||||
@media (max-width: 768px) {
|
||||
.nav-list {
|
||||
top: 0;
|
||||
position: fixed;
|
||||
right: -100%;
|
||||
flex-direction: column;
|
||||
width: 200px;
|
||||
background-color: var(--secondary-bg);
|
||||
transition: right 0.3s;
|
||||
height: 100vh;
|
||||
}
|
||||
.nav-link {
|
||||
margin-left: 1.5rem;
|
||||
}
|
||||
.nav-item {
|
||||
margin: 1rem 0;
|
||||
}
|
||||
|
||||
.burger {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.nav-list.active {
|
||||
right: 0;
|
||||
}
|
||||
|
||||
/* Анимация бургер-меню */
|
||||
.burger.active span:nth-child(1) {
|
||||
transform: rotate(45deg) translate(9px, 4px); /* Правильный сдвиг */
|
||||
}
|
||||
|
||||
.burger.active span:nth-child(2) {
|
||||
opacity: 0; /* Исчезает средний элемент */
|
||||
}
|
||||
|
||||
.burger.active span:nth-child(3) {
|
||||
transform: rotate(-45deg) translate(8px, -4px); /* Правильный сдвиг */
|
||||
}
|
||||
}
|
||||
.background-image {
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
object-fit: cover;
|
||||
object-position: right bottom;
|
||||
}
|
||||
.hero {
|
||||
height: 100vh;
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.hero::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.hero-content {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.section {
|
||||
padding: 5rem 0;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
font-size: 2.5rem;
|
||||
margin-bottom: 3rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.swiper {
|
||||
width: 100%;
|
||||
padding-top: 50px;
|
||||
padding-bottom: 50px;
|
||||
}
|
||||
|
||||
.swiper-slide {
|
||||
background-position: center;
|
||||
background-size: cover;
|
||||
width: 450px;
|
||||
height: 400px;
|
||||
}
|
||||
|
||||
.swiper-slide img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.swiper-button-next, .swiper-button-prev {
|
||||
color: #fff; /* Цвет стрелок */
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
}
|
||||
|
||||
.swiper-button-next:after, .swiper-button-prev:after {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
/* Стиль для неактивных пуль пагинации */
|
||||
.swiper-pagination-bullet {
|
||||
background-color: #ccc; /* Цвет неактивных элементов */
|
||||
opacity: 0.5; /* Полупрозрачные неактивные элементы */
|
||||
transition: background-color 0.3s, opacity 0.3s; /* Плавное изменение цвета и прозрачности */
|
||||
}
|
||||
|
||||
/* Стиль для активной пули пагинации */
|
||||
.swiper-pagination-bullet-active {
|
||||
background-color: #fff; /* Цвет активного элемента */
|
||||
opacity: 1; /* Полностью непрозрачный активный элемент */
|
||||
}
|
||||
|
||||
.card {
|
||||
background-color: var(--accent-color);
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.card-img {
|
||||
width: 100%;
|
||||
height: 200px;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.card-content {
|
||||
padding: 1.5rem;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.card-title {
|
||||
font-size: 1.25rem;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.accordion-item {
|
||||
background-color: var(--accent-color);
|
||||
border: none;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.accordion-button {
|
||||
background-color: var(--secondary-bg);
|
||||
color: var(--text-color);
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.accordion-button:not(.collapsed) {
|
||||
background-color: var(--accent-color);
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.accordion-button:focus {
|
||||
box-shadow: none;
|
||||
background-color: var(--hover-color);
|
||||
}
|
||||
|
||||
.accordion-body {
|
||||
background-color: var(--accent-color);
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.contact-section {
|
||||
background-image: url('/static/cybercode/img/map.png');
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.contact-section::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background-color: rgba(10, 10, 10, 0.8);
|
||||
}
|
||||
|
||||
.contact-content {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.btn {
|
||||
display: inline-block;
|
||||
padding: 0.75rem 1.5rem;
|
||||
background-color: var(--text-color);
|
||||
color: var(--primary-bg);
|
||||
text-decoration: none;
|
||||
border-radius: 4px;
|
||||
transition: background-color 0.3s;
|
||||
}
|
||||
|
||||
.btn:hover {
|
||||
background-color: var(--secondary-bg);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.footer {
|
||||
background-color: var(--secondary-bg);
|
||||
padding: 2rem 0;
|
||||
}
|
||||
|
||||
|
||||
a {
|
||||
position: relative;
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
a::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 2px;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
background-color: #fff;
|
||||
transform: scaleX(0);
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
a:hover::before {
|
||||
transform: scaleX(1);
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user