4 Commits
Author SHA1 Message Date
emil28092005 bd15db3b65 Update styles.css 2024-08-28 19:52:32 +03:00
emil28092005 b9fb4f12b4 kinda MVP1 2024-08-27 18:45:38 +03:00
emil28092005 9e4ef2afe2 second attempt 2024-08-27 10:39:35 +03:00
Эмиль 8c6fa7b2ac attepmt 1 2024-08-23 20:16:10 +03:00
6 changed files with 58 additions and 214 deletions
+14 -14
View File
@@ -1,15 +1,15 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- Generator: Adobe Illustrator 24.1.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> <!-- Generator: Adobe Illustrator 24.1.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" baseProfile="basic" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" <svg version="1.1" baseProfile="basic" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px"
y="0px" viewBox="0 0 32 32" xml:space="preserve"> y="0px" viewBox="0 0 32 32" xml:space="preserve">
<g id="Layer_2" style="display:none;"> <g id="Layer_2" style="display:none;">
</g> </g>
<g id="Layer_1"> <g id="Layer_1">
<circle style="fill:none;stroke:#000000;stroke-width:2;stroke-miterlimit:10;" cx="16" cy="16" r="12"/> <circle style="fill:none;stroke:#000000;stroke-width:2;stroke-miterlimit:10;" cx="16" cy="16" r="12"/>
<path style="fill:none;stroke:#000000;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;" d="M21.786,11 <path style="fill:none;stroke:#000000;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;" d="M21.786,11
c-4.989-0.508-11.286,2.682-13.244,5.627c1.169,1.409,3.046,1.476,5.819,1.014c0.762,2.633,3.469,4.307,5.072,4.27 c-4.989-0.508-11.286,2.682-13.244,5.627c1.169,1.409,3.046,1.476,5.819,1.014c0.762,2.633,3.469,4.307,5.072,4.27
C21.27,20.308,22.521,13.439,21.786,11z"/> C21.27,20.308,22.521,13.439,21.786,11z"/>
<line style="fill:none;stroke:#000000;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;" x1="16.755" y1="15.434" x2="14.361" y2="17.641"/> <line style="fill:none;stroke:#000000;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;" x1="16.755" y1="15.434" x2="14.361" y2="17.641"/>
</g> </g>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 914 B

After

Width:  |  Height:  |  Size: 928 B

-7
View File
@@ -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;
}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-82
View File
@@ -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%;
}
+9 -24
View File
@@ -31,17 +31,11 @@ p {
width: 100%; width: 100%;
} }
.header__name { .header-name{
color: #bdad60; color: #bdad60;
} }
.header__description { .header-image {
color: #bdad60;
line-height: 1;
margin-bottom: 1vh;
}
.header__image {
display: inline-block; display: inline-block;
width: 95%; width: 95%;
@@ -51,7 +45,7 @@ p {
width: 100%; width: 100%;
display: inline-block; display: inline-block;
text-align: center; text-align: center;
padding: 25px; padding: 20px;
justify-content: space-evenly; justify-content: space-evenly;
background: radial-gradient(circle, rgba(164,126,10,1) 0%, rgba(139,69,19,1) 100%); background: radial-gradient(circle, rgba(164,126,10,1) 0%, rgba(139,69,19,1) 100%);
margin: 0 auto; margin: 0 auto;
@@ -65,19 +59,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 +79,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;
}