Files
web-project/css/parts.css
T
bob bob e5d4d5dfe3 new file: .cache/replit/nix/env.json
new file:   .config/configstore/update-notifier-npm.json
	new file:   .config/configstore/update-notifier-npm.json.2701252402
	new file:   .replit
	new file:   .vscode/launch.json
	new file:   Internet.html
	new file:   about.html
	new file:   case.html
	new file:   cooling.html
	new file:   cpu.html
	new file:   css/about.css
	new file:   css/home.css
	new file:   css/log copy.css
	new file:   css/log.css
	new file:   css/parts.css
	new file:   css/pc.css
	new file:   css/profile.css
	new file:   global.css
	new file:   global.js
	new file:   gpu.html
	new file:   hdd.html
	new file:   home.html
	new file:   images/pc-case.png
	new file:   images/sal.jpeg
	new file:   includes/dbh.inc.php
	new file:   includes/functions.inc.php
	new file:   includes/login.inc.php
	new file:   includes/signup.inc.php
	new file:   index.html
	new file:   js/log copy.js
	new file:   js/log.js
	new file:   keyb.html
	new file:   log copy.html
	new file:   log.html
	new file:   monitor.html
	new file:   mouse.html
	new file:   pc.html
	new file:   profile.html
	new file:   psu.html
	new file:   ram.html
	new file:   register.html
	new file:   replit.nix
	new file:   ssd.html
2023-02-18 23:15:53 +00:00

55 lines
1.0 KiB
CSS

body{
min-height:100vw;
}
/*card grid to allow cards to be displayed in a grid*/
.list-grid {
display: grid;
grid-template-columns: repeat(2, 320px);
gap: 45px;
}
/* card design for information pallets as first collumn*/
.list {
background-color: #EADDCF;
width: 280px;
height: 180px;
margin-bottom: 25px;
margin-left: 60px;
border: 6px solid #CEBBA9;
padding: 5px;
text-align: center;
border-radius: 20px;
transition: 0.6s;
}
/* makes the cards highlight themselves when you hover over them*/
.list:hover {
box-shadow: 0 10px 16px 0 rgba(0,0,0,0.4);
background-color: #7FC8AB;
border: 6px solid #236E44;
transition: 0.6s;
}
/* text body above buttons */
.lb {
display: flex;
flex-direction: row;
align-items: center;
gap: 10px;
}
.lb-text {
display: flex;
padding-left: 5px;
flex-direction: column;
}
/* for the image next to the text body */
.lb-image {
margin-top: 10px;
height: 80px;
}