summaryrefslogtreecommitdiffstats
path: root/examples/webenginewidgets/spellchecker/data/style.css
blob: 38873c5a01399c84dc064697d42d8bf18318e071 (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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap');
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}


body {
    width: 100%;
    padding: 0px;
    margin: 0px;
}

.header {
    display: inline;
}

.main {
    max-width: 100%;
}

.form {
    width: 100%;
    height: 100%;
    background: #fff;
    border: 0px solid #999;
    border-radius: 8px;
    color: #46a;
    font-family: 'Titillium Web', sans-serif;
    font-size: 1rem;
    margin: auto;
    padding: 40px;
    position: relative;
    line-height: 26px;
    text-decoration: none;
}

h1 {
    padding-left: 20px;
    color: #00414A;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

h2 {
    padding-left: 20px;
    color: #00414A;
    font-size: 1.125rem;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 1.75rem;
}

span {
    font-size: 1.5rem;
    margin-left: 20px;
    color: #00414A;
    font-weight: 700;
}

input {
    width: 90%;
    display: block;
    height: 2.25rem;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 8px;
    padding-left: 10px;
    box-shadow: 1px 1px 4px 0px rgba(0, 0, 0, 0.15);
    border-radius: var(--radius-radius-minimal, 0.25rem);
    border: 1px solid var(--color-background-normal, #CCC);
    background: var(--color-text-input-background, #FFF);
}

textarea {
    width: 90%;
    max-width: 90%;
    height: 10rem;
    max-height: 14rem;
    display: block;
    margin-left: 20px;
    margin-right: 20px;
    padding-left: 10px;
    padding-top: 10px;
    box-shadow: 1px 1px 4px 0px rgba(0, 0, 0, 0.15);
    border-radius: var(--radius-radius-minimal, 0.25rem);
    border: 1px solid var(--color-background-normal, #CCC);
    background: var(--color-text-input-background, #FFF);
}

input:focus, textarea:focus {
    outline: none;
    border: 1px solid #00414A;
}

input[type=submit] {
    display: flex;
    align-items: center;
    justify-content: center; /* Add this to horizontally center the content */
    padding: 0.4444em 0.8889em;
    height: 2.4em;
    cursor: pointer;
    width: 6.5rem;
    background: #00414A;
    color: #fff;
    border-radius: 4px;
    margin-top: 28px;
    font-family: 'Titillium Web', sans-serif;
    font-size: 1.125rem;
    font-weight: 400;
    transition: color 300ms ease-out, border 300ms ease-out;
}

input[type=submit]:hover {
    background: #19545C;
}