summaryrefslogtreecommitdiff
path: root/day9/task5/static/css/ContentBoxStyle.css
blob: 78c37d66a8f1c18ff4daec7b3ec68972bc7ec432 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
.contentBox {
    padding: 20px;
    width: 500px;
    height: 520px;
    background-color: #f0f0f0;
    border-radius: 10px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
}

.backgroundTint {
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
}

.shown {
    display: inline;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hidden {
    display: none;
}