File: nws.css

package info (click to toggle)
giac 1.9.0.93%2Bdfsg2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 117,732 kB
  • sloc: cpp: 404,272; ansic: 205,462; python: 30,548; javascript: 28,788; makefile: 17,997; yacc: 2,690; lex: 2,464; sh: 705; perl: 314; lisp: 216; asm: 62; java: 41; xml: 36; sed: 16; csh: 7; pascal: 6
file content (60 lines) | stat: -rw-r--r-- 1,112 bytes parent folder | download | duplicates (2)
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
* { font-family: sans-serif }

body {
    margin: 20px 15%;
    padding: 30px;
    border-radius: 45px;
    border: 8px solid #55b4d4;
}

/* pour les tous petits écrans */
@media only screen and (max-width: 500px){
    body {
        margin: 20px;
        padding: 20px;
        border-radius: 40px;
    }
}

/* pour les petits écrans */
@media only screen and (max-width: 800px){
    ul { padding-inline-start: 20px }
    h1 { text-align: center }
}

/* pour les grands écrans */
@media only screen and (min-width: 1300px){
    body {
        margin: 50px 20%;
        padding: 50px;
        border-radius: 60px;
    }
}

/* pour éviter que les boutons se touchent d'une <li> à une autre */

li {
    margin-top: 5px;
    overflow-x: auto
}

/* pour les boutons */

button {
    height: 30px;
    padding: 0px 15px;
}

input { padding: 5px 15px }

button, input {
    border: solid 0;
    border-radius: 15px;
    cursor: pointer;
    background: #86b300;
    transition: background 200ms;
}

button:hover, input:hover {
    background: #99bf4d;
}