main
ada 2 years ago
commit de1ac2ffd4

@ -7,7 +7,7 @@
<link href="stylesheet.css" rel="stylesheet"> <link href="stylesheet.css" rel="stylesheet">
</head> </head>
<body> <body>
<h1>cards</h1> <h1>Fiction Friction</h1>
<section> <section>
<div class="card"> <div class="card">

@ -1,28 +1,28 @@
{ {
"cards" : [{ "cards" : [{
"name" : "body", "name" : "",
"text" : "Some text of this card", "text" : "Some text of this card",
"image": "4.jpg" "image": "1.jpg"
}, },
{ {
"name" : "body", "name" : "",
"text" : "Some text of this card", "text" : "Some text of this card",
"image": "4.jpg" "image": "2.jpg"
}, },
{ {
"name" : "body", "name" : "",
"text" : "Some text of this card", "text" : "Some text of this card",
"image": "4.jpg" "image": "3.jpg"
}, },
{ {
"name" : "body", "name" : "",
"text" : "Some text of this card", "text" : "Some text of this card",
"image": "4.jpg" "image": "5.jpg"
}, },
{ {
"name" : "body", "name" : "",
"text" : "Some text of this card", "text" : "Some text of this card",
"image": "4.jpg" "image": "6.jpg"
}, },
{ {
"name" : "RESISTANCE", "name" : "RESISTANCE",
@ -51,7 +51,7 @@
}, },
{ {
"name" : "", "name" : "",
"text" : "been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. Lorem lorem lorem lorem", "text" : "",
"image": "" "image": ""
}, },
] ]

@ -1,7 +1,7 @@
.card .card
{ {
width: 8.5cm; width: 7.5cm;
height: 13.5cm; height: 11.5cm;
border: solid 3px black; border: solid 3px black;
border-radius: 10px; border-radius: 10px;
float: left; float: left;
@ -9,10 +9,10 @@
margin: 2mm; margin: 2mm;
} }
.card > p.image > img { .card > p.image > img {
width: 8.5cm; width: 7.5cm;
height: 12cm; height: 10.6cm;
position: absolute; position: absolute;
top: 15mm; top: 10mm;
border-radius: 10px; border-radius: 10px;
} }
.card > h2{ .card > h2{
@ -20,8 +20,9 @@
left: 5mm; left: 5mm;
margin: 0; margin: 0;
text-align: center; text-align: center;
padding-top: 5mm; padding-top: 3mm;
font-size: 9; font-size: 15px;
font-family:monospace;
} }
.card > p.text { .card > p.text {
width: 50mm; width: 50mm;

Loading…
Cancel
Save