aboutsummaryrefslogtreecommitdiff
path: root/poll/public/style.css
blob: 80f9294e5ae1d6e222c8a2bd88e37f1ad7ccb7b4 (plain) (blame)
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
27
28
29
30
31
32
33
34
35
36
37
html,
body {
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
    background-color: #eec0c6;
    background-image: linear-gradient(315deg, #eec0c6 0%, #7ee8fa 74%);
}

div {
    background: white;
}

main {
    position: absolute;
    width: 40%;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    padding: 20px;
    border-radius: 10px;
    background: white;
}

input,
button,
select {
    width: 100%;
}

@media only screen and (max-width: 700px) {
    main {
        width: calc(100% - 50px);
    }
}