Compare commits
No commits in common. "69ca9da54df41ef811fd96048e6b4c5dfd75aeae" and "be6978b5a669e29a9beef629ffe5764d01a79511" have entirely different histories.
69ca9da54d
...
be6978b5a6
3 changed files with 6 additions and 36 deletions
Binary file not shown.
|
@ -14,20 +14,12 @@ const { id, name } = Astro.props;
|
|||
|
||||
<style>
|
||||
.card {
|
||||
border: 1px solid black;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 10px;
|
||||
width: 50%;
|
||||
margin: 10px 0;
|
||||
background-color: white;
|
||||
color: black;
|
||||
border-radius: 25px;
|
||||
transition: 0.1s ease-out;
|
||||
position: relative;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.card:hover {
|
||||
top: -4px;
|
||||
}
|
||||
|
||||
.text {
|
||||
|
|
|
@ -12,38 +12,16 @@ import Card from '../components/Card.astro'
|
|||
</head>
|
||||
<body>
|
||||
<main>
|
||||
<h1>My services</h1>
|
||||
<div id="cards">
|
||||
<Card id="test1" name="Bruh">Électrocardiogramme</Card>
|
||||
<Card id="test2" name="Purasehoraderu">:)</Card>
|
||||
</div>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
<style>
|
||||
#cards {
|
||||
main {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Cantarell';
|
||||
src: url('/fonts/cantarell.otf') format('otf');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: black;
|
||||
color: white;
|
||||
font-family: 'Cantarell', sans-serif;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
main {
|
||||
width: 30%;
|
||||
align-items: center;
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Reference in a new issue