Spaces:
Running

sketchmaster-pro / style.css
FLEED993's picture
اصنع لي موقع رسم احترافي
c7419b0 verified
Raw History Blame Contribute Delete
706 Bytes
/* Custom styles for drawing app */
#drawingCanvas {
touch-action: none; /* Prevent scrolling on touch devices */
}
/* Tooltip styles */
.tooltip {
position: relative;
display: inline-block;
}
.tooltip .tooltiptext {
visibility: hidden;
width: 120px;
background-color: #333;
color: #fff;
text-align: center;
border-radius: 6px;
padding: 5px;
position: absolute;
z-index: 1;
bottom: 125%;
left: 50%;
margin-left: -60px;
opacity: 0;
transition: opacity 0.3s;
}
.tooltip:hover .tooltiptext {
visibility: visible;
opacity: 1;
}
/* Responsive canvas */
@media (max-width: 768px) {
#drawingCanvas {
height: 60vh;
}
}