Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion TPSI/savio_gabriele/CSS/es39/savio_esercizio_css_39.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ button {
position: absolute;
z-index: 10;
bottom: 60px;
left: 70%;
left: 65%;
}

.image-section {
Expand Down
100 changes: 100 additions & 0 deletions TPSI/savio_gabriele/CSS/es43/savio_esercizio_css_43.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
body {
font-family: "Courier New", Courier, monospace;
}

.container {
position: absolute;
width: 1020px;
border: 1px solid black;
left: 50%;
top: 50%;
transform: translate(-50%,-50%);
}

.cell_black {
position: absolute;
background-color: #364859;
margin: -15px;
width: 300px;
height: 80px;
top: 70px;
color: white;
text-align: left;
font-size: 30px;
padding-left: 50px;
padding-top: 25px;
}

.cell_right {
height: 775px;
width: 350px;
margin: 15px;
background-color: #c258eb;
float: left;
}

.cell1 {
position: relative;
background-color: rgb(111, 217, 184);
color: white;
width: 200px;
height: 150px;
float: left;
margin: 15px;
padding: 20px;
}

.cell2 {
position: relative;
background-color: #2eb1ff;
color: white;
width: 300px;
height: 150px;
float: left;
margin: 15px;
padding: 20px;
}

.cell3 {
position: relative;
background-color: #43d9e6;
color: white;
width: 300px;
height: 300px;
float: left;
margin: 15px;
padding: 20px;
}
.cell4 {
position: relative;
background-color: #fe5d5a;
color: white;
width: 200px;
height: 300px;
float: left;
margin: 15px;
padding: 20px;
}

.cell5 {
position: relative;
background-color: #ffbe4c;
color: white;
width: 570px;
height: 150px;
float: left;
margin: 15px;
padding: 20px;
}

hr {
border: 5px solid #fff;
width: 30px;
margin-left: 0;
}
h1 {
text-align: end;
position: relative;
left: -20px;
top: -10px;
}
41 changes: 41 additions & 0 deletions TPSI/savio_gabriele/CSS/es43/savio_esercizio_css_43.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="savio_esercizio_css_43.css" />
<title>es 34</title>
</head>
<body>
<div class="container">
<div class="cell_right">
<div class="cell_black">Gruppo<br />Momay</div>
</div>
<div class="cell1">
<h1>01</h1>
<hr />
<p>Write some text here.</p>
</div>
<div class="cell2">
<h1>02</h1>
<hr />
<p>Write some text here.</p>
</div>
<div class="cell3">
<h1>03</h1>
<hr />
<p>Write some text here.</p>
</div>
<div class="cell4">
<h1>04</h1>
<hr />
<p>Write some text here.</p>
</div>
<div class="cell5">
<h1>05</h1>
<hr />
<p>Write some text here.</p>
</div>
</div>
</body>
</html>
23 changes: 23 additions & 0 deletions TPSI/savio_gabriele/CSS/es44/savio_esercizio_css_44.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
.container {
position: absolute;
left: 50%;
top: 10%;
transform: translate(-50%, -50%);
display: flex;
width: 50%;
padding: 5px;
border: #5e5e5e solid 1px;
border-radius: 2px;
display: flex;
flex-direction: row;
justify-content: space-between;
}

.element {
background-color: #476b98;
border: 1px #6dabba solid;
border-radius: 10px;
padding: 10px;
color: #fff;
font-size: large;
}
17 changes: 17 additions & 0 deletions TPSI/savio_gabriele/CSS/es44/savio_esercizio_css_44.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="savio_esercizio_css_44.css" />
<title>es 44</title>
</head>
<body>
<div class="container">
<button class="element">Home</button>
<button class="element">About Us</button>
<button class="element">Our Products</button>
<button class="element">Contact Us</button>
</div>
</body>
</html>
29 changes: 29 additions & 0 deletions TPSI/savio_gabriele/CSS/es45/savio_esercizio_css_45.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
body {
font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
}
.container {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
display: flex;
width: 45%;
height: 40%;
padding: 8px;
border: #5e5e5e solid 1px;
border-radius: 2px;
display: flex;
flex-direction: row;
align-items: stretch;
}

.cell {
width: calc(100% / 3);
background-color: #476b98;
border: 1px #6dabba solid;
border-radius: 10px;
padding: 10px;
color: #fff;
font-size: 1.4em;
line-height: 1.8;
}
20 changes: 20 additions & 0 deletions TPSI/savio_gabriele/CSS/es45/savio_esercizio_css_45.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="savio_esercizio_css_45.css" />
<title>es 44</title>
</head>
<body>
<div class="container">
<div class="cell">I am small</div>
<div class="cell">I have more content than the very small item.</div>
<div class="cell">
I have lots of content. So much content that I don't know where it is
all going to go. I'm glad that CSS is pretty good at dealing with
situations where we end up with more words than expected!
</div>
</div>
</body>
</html>
25 changes: 25 additions & 0 deletions TPSI/savio_gabriele/CSS/es46/savio_esercizio_css_46.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
body {
font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
}
.container {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
display: flex;
width: 25%;
height: 30%;
padding: 8px;
border: #6dabba solid 2px;
border-radius: 7px;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
}

.cell {
background-color: #476b98;
padding: 10px;
color: #fff;
}
14 changes: 14 additions & 0 deletions TPSI/savio_gabriele/CSS/es46/savio_esercizio_css_46.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="savio_esercizio_css_46.css" />
<title>es 46</title>
</head>
<body>
<div class="container">
<div class="cell">Center me.</div>
</div>
</body>
</html>
21 changes: 21 additions & 0 deletions TPSI/savio_gabriele/CSS/es47/savio_esercizio_css_47.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
.container {
width: 450px;
height: 180px;
display: flex;
padding: 20px;
border: 1px solid #ccc;
border-radius: 8px;
flex-wrap: wrap;
align-content: stretch;
justify-items: stretch;
}

.cell {
margin: 10px;
background-color: #4d7cae;
color: white;
padding: 10px 20px;
border-radius: 10px;
font-size: 16px;
text-align: start;
}
23 changes: 23 additions & 0 deletions TPSI/savio_gabriele/CSS/es47/savio_esercizio_css_47.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="savio_esercizio_css_47.css" />
<title>Flexbox Example</title>
</head>
<body>
<div class="container">
<div class="cell">Turnip</div>
<div class="cell">greens</div>
<div class="cell">yarrow</div>
<div class="cell">ricebean</div>
<div class="cell">rutabaga</div>
<div class="cell">endive</div>
<div class="cell">cauliflower</div>
<div class="cell">sea lettuce</div>
<div class="cell">kohlrabi</div>
<div class="cell">amaranth</div>
</div>
</body>
</html>
28 changes: 28 additions & 0 deletions TPSI/savio_gabriele/CSS/es48/savio_esercizio_css_48.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
.container {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}

.grid {
width: 512px;
height: 512px;
display: grid;
grid-template-columns: repeat(4, 1fr);
border: 2px solid;
}

h2 {
text-align: center;
}

.cell {
display: flex;
align-items: center;
justify-content: center;
font-size: 20px;
border: 1px solid;
background-color: orange;
text-align: center;
}
32 changes: 32 additions & 0 deletions TPSI/savio_gabriele/CSS/es48/savio_esercizio_css_48.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<link rel="stylesheet" href="savio_esercizio_css_48.css" />
</head>
<body>
<div class="container">
<h2>Il gioco de 15</h2>
<div class="grid">
<div class="cell">1</div>
<div class="cell">2</div>
<div class="cell">3</div>
<div class="cell">4</div>
<div class="cell">5</div>
<div class="cell">6</div>
<div class="cell">7</div>
<div class="cell">8</div>
<div class="cell">9</div>
<div class="cell">10</div>
<div class="cell">11</div>
<div class="cell">12</div>
<div class="cell">13</div>
<div class="cell">14</div>
<div class="cell">15</div>
<div class="cell"></div>
</div>
</div>
</body>
</html>
Loading