Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
da0291d940 | ||
|
|
067406719c | ||
|
|
d8172a721c | ||
|
|
d91f43748b | ||
|
|
0bf8afb865 | ||
|
|
6ddf7543ad | ||
|
|
3d838767d9 |
Generated
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="ProjectModuleManager">
|
<component name="ProjectModuleManager">
|
||||||
<modules>
|
<modules>
|
||||||
<module fileurl="file://$PROJECT_DIR$/.idea/Pereslavl_dacha.iml" filepath="$PROJECT_DIR$/.idea/Pereslavl_dacha.iml" />
|
<module fileurl="file://$PROJECT_DIR$/.idea/emil28092005.github.io.iml" filepath="$PROJECT_DIR$/.idea/emil28092005.github.io.iml" />
|
||||||
</modules>
|
</modules>
|
||||||
</component>
|
</component>
|
||||||
</project>
|
</project>
|
||||||
Generated
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="VcsDirectoryMappings">
|
<component name="VcsDirectoryMappings">
|
||||||
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
<mapping directory="" vcs="Git" />
|
||||||
</component>
|
</component>
|
||||||
</project>
|
</project>
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
let cards = document.querySelectorAll('.card');
|
|
||||||
|
|
||||||
let phrase = "ABOBA";
|
|
||||||
cards.addEventListener("click", function() {foo()})
|
|
||||||
function foo(){
|
|
||||||
document.querySelectorAll(".card__name").textContent = phrase;
|
|
||||||
}
|
|
||||||
+34
-26
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,82 +0,0 @@
|
|||||||
*{
|
|
||||||
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%;
|
|
||||||
}
|
|
||||||
@@ -31,17 +31,17 @@ p {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header__name {
|
.header-name {
|
||||||
color: #bdad60;
|
color: #bdad60;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header__description {
|
.header-description {
|
||||||
color: #bdad60;
|
color: #bdad60;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
margin-bottom: 1vh;
|
margin-bottom: 1vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header__image {
|
.header-image {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 95%;
|
width: 95%;
|
||||||
|
|
||||||
@@ -65,19 +65,19 @@ p {
|
|||||||
background-color: saddlebrown;
|
background-color: saddlebrown;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card__name {
|
.card-name {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card__image {
|
.card-image {
|
||||||
display: block;
|
display: block;
|
||||||
margin: 0 auto ;
|
margin: 0 auto;
|
||||||
width: 90%;
|
width: 90%;
|
||||||
border: solid 3px #2a1508;
|
border: solid 3px #2a1508;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card__description {
|
.card-description {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
@@ -85,20 +85,11 @@ p {
|
|||||||
.footer {
|
.footer {
|
||||||
background-color: saddlebrown;
|
background-color: saddlebrown;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
height: 25vh;
|
height: 22vh;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header__image--framed{
|
.fancy-external-border{
|
||||||
border: solid 5px #2a1508;
|
border: solid 5px #2a1508;
|
||||||
box-shadow: 10px 10px 20px #2a1508;
|
box-shadow: 10px 10px 20px #2a1508;
|
||||||
}
|
}
|
||||||
.card--framed{
|
|
||||||
border: solid 5px #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