aboutsummaryrefslogtreecommitdiff
path: root/assets/css/css_old/stylebase.css
blob: 017b075a8de3570fd51d9f56e925e9b385827f29 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
:root {
    --color1: lightgrey;
    --color2: lightslategrey;
    --color3: #ececec;
    --color4: grey;
}


@keyframes alert {
    from {top: 30px;}
    to {top: -50px;}
}

body {
    margin: 0;
    font-family: sans-serif;
    background-color: var(--color4);
}


span.alert {
    position: fixed;
    background-color: var(--color1);
    z-index: 100;
    border: ridge red;
    width: 200px;
    text-align: center;
    padding: 5px;
    top: 30px;
    font-weight: bold;
    left: calc(50% - 100px);
    animation: alert 1s linear 2s forwards;
}


form{
    margin: 0;
}



nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 10;
    background-color: var(--color1);
    border: ridge;
}

div#menu {
    display: none;
}

nav:hover div#menu {
    display: block;
}

nav a {
    display: block;
}

nav a:hover {
    background-color: var(--color3);
}

nav #loginpass {
    width: 100%;
}


@media (max-width: 600px) {
    body {
        font-size: 1.3em;
    }

    input, textarea, select, button {
        font-size: 0.8em;
    }

    nav {
        display: none;
    }
    
}