Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1232ac13ac |
@@ -0,0 +1,7 @@
|
|||||||
|
let cards = document.querySelectorAll('.card');
|
||||||
|
|
||||||
|
let phrase = "ABOBA";
|
||||||
|
cards.addEventListener("click", function() {foo()})
|
||||||
|
function foo(){
|
||||||
|
document.querySelectorAll(".card__name").textContent = phrase;
|
||||||
|
}
|
||||||
-68
File diff suppressed because one or more lines are too long
+4
-3
@@ -10,7 +10,7 @@
|
|||||||
<header class="header">
|
<header class="header">
|
||||||
<h1 class="header__name">Станция Сосновая</h1>
|
<h1 class="header__name">Станция Сосновая</h1>
|
||||||
<h2 class="header__description">База отдыха</h2>
|
<h2 class="header__description">База отдыха</h2>
|
||||||
<img class="header__image"
|
<img class="header__image header__image--framed"
|
||||||
src="https://30.img.avito.st/image/1/1.4vLJ5La5Thv_TYwegeO6z61GTB13RcwTv0BMGXtRShk.Ewsg9tM6z2ZxLmivd2hH2Jdo76UKxxlT4qzIINkq8co"
|
src="https://30.img.avito.st/image/1/1.4vLJ5La5Thv_TYwegeO6z61GTB13RcwTv0BMGXtRShk.Ewsg9tM6z2ZxLmivd2hH2Jdo76UKxxlT4qzIINkq8co"
|
||||||
alt="заглавное фото участка">
|
alt="заглавное фото участка">
|
||||||
</header>
|
</header>
|
||||||
@@ -46,7 +46,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<footer class="footer">
|
<footer class="footer footer--framed">
|
||||||
<h3>Контактная информация <br>
|
<h3>Контактная информация <br>
|
||||||
телефон: +77777777777 <br>
|
телефон: +77777777777 <br>
|
||||||
<img src="Images/Icons/icons8-telegram.svg"
|
<img src="Images/Icons/icons8-telegram.svg"
|
||||||
@@ -55,6 +55,7 @@
|
|||||||
alt="телеграм" width="26" height="26"> https//whatsapp/smth
|
alt="телеграм" width="26" height="26"> https//whatsapp/smth
|
||||||
</h3>
|
</h3>
|
||||||
</footer>
|
</footer>
|
||||||
|
<script src="https://code.s3.yandex.net/web-code/smoothly.js"></script>
|
||||||
|
<script src="immersivity.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,82 @@
|
|||||||
|
*{
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
body,
|
||||||
|
h1,
|
||||||
|
h2,
|
||||||
|
h3,
|
||||||
|
h4,
|
||||||
|
p{
|
||||||
|
margin: 0;
|
||||||
|
font-weight: normal;
|
||||||
|
background-color: red;
|
||||||
|
font-family: 'Sans', sans-serif;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
div, header, main, footer {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.main-preview {
|
||||||
|
text-align: center;
|
||||||
|
background-color: blue;
|
||||||
|
width: 100%;
|
||||||
|
height: 80vh;
|
||||||
|
}
|
||||||
|
|
||||||
|
.main-preview-image {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
section{
|
||||||
|
background-color: darkred;
|
||||||
|
margin: auto;
|
||||||
|
text-align: center;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.card {
|
||||||
|
display: block;
|
||||||
|
background-color: saddlebrown;
|
||||||
|
margin: 20px 0 20px 0;
|
||||||
|
padding: 20px;
|
||||||
|
height: 600px;
|
||||||
|
width: 80%;
|
||||||
|
border: 1px solid lightgray;
|
||||||
|
}
|
||||||
|
|
||||||
|
.snap-left{
|
||||||
|
margin-right: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.snap-right{
|
||||||
|
margin-left: auto;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-description {
|
||||||
|
|
||||||
|
}
|
||||||
|
.card-head-block{
|
||||||
|
display: inline-block;
|
||||||
|
text-align: center;
|
||||||
|
background-color: orange;
|
||||||
|
width: 30%;
|
||||||
|
}
|
||||||
|
.card-description-box {
|
||||||
|
height: 80%;
|
||||||
|
width: 30%;
|
||||||
|
display: inline-block;
|
||||||
|
background-color: white;
|
||||||
|
margin: 0 auto 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-image{
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
-92
@@ -1,92 +0,0 @@
|
|||||||
*{
|
|
||||||
box-sizing: border-box;
|
|
||||||
}
|
|
||||||
|
|
||||||
body ,header, section, footer{
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1,h2,h3,h4,h5,h6,p{
|
|
||||||
margin: 0;
|
|
||||||
color: #e4c373;
|
|
||||||
font-family: 'MesloLGS NF', sans-serif;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
h1 {
|
|
||||||
text-align: center;
|
|
||||||
font-weight: 600;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
p {
|
|
||||||
font-weight: lighter;
|
|
||||||
}
|
|
||||||
|
|
||||||
.header {
|
|
||||||
|
|
||||||
text-align: center;
|
|
||||||
background-color: saddlebrown;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.header-name{
|
|
||||||
color: #bdad60;
|
|
||||||
}
|
|
||||||
|
|
||||||
.header-image {
|
|
||||||
display: inline-block;
|
|
||||||
width: 100%;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.section {
|
|
||||||
width: 100%;
|
|
||||||
display: inline-block;
|
|
||||||
text-align: center;
|
|
||||||
justify-content: space-evenly;
|
|
||||||
background: #bdad60;
|
|
||||||
margin: 0 auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card {
|
|
||||||
display: inline-block;
|
|
||||||
width: 300px;
|
|
||||||
height: 300px;
|
|
||||||
margin: 10px;
|
|
||||||
background-color: saddlebrown;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card-name {
|
|
||||||
margin: 0;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card-image {
|
|
||||||
display: block;
|
|
||||||
margin: 0 auto;
|
|
||||||
width: 90%;
|
|
||||||
border: solid 1px #2a1508;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card-description {
|
|
||||||
margin: 0;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.footer {
|
|
||||||
background-color: saddlebrown;
|
|
||||||
text-align: center;
|
|
||||||
height: 20vh;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fancy-external-border{
|
|
||||||
border: solid 5px #2a1508;
|
|
||||||
box-shadow: 10px 10px 20px #2a1508;
|
|
||||||
}
|
|
||||||
|
|
||||||
.telegram-icon {
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
+10
-1
@@ -85,11 +85,20 @@ p {
|
|||||||
.footer {
|
.footer {
|
||||||
background-color: saddlebrown;
|
background-color: saddlebrown;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
height: 22vh;
|
height: 25vh;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.header__image--framed{
|
||||||
|
border: solid 5px #2a1508;
|
||||||
|
box-shadow: 10px 10px 20px #2a1508;
|
||||||
|
}
|
||||||
.card--framed{
|
.card--framed{
|
||||||
border: solid 5px #2a1508;
|
border: solid 5px #2a1508;
|
||||||
box-shadow: 10px 10px 20px #2a1508;
|
box-shadow: 10px 10px 20px #2a1508;
|
||||||
}
|
}
|
||||||
|
.footer--framed{
|
||||||
|
border: solid 5px #2a1508;
|
||||||
|
box-shadow: 10px 10px 20px #2a1508;
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user