update: fixing some polls css

This commit is contained in:
Benoit Alessandroni 2020-10-14 00:28:16 +02:00
parent 9f6213a295
commit f255843818
2 changed files with 14 additions and 17 deletions

View File

@ -12,27 +12,25 @@ solid-poll > div {
margin: auto; margin: auto;
.headline { .headline {
h2 { h2 {
margin: 0 20px;
font-family: "RefrigeratorDelxW01Bold"; font-family: "RefrigeratorDelxW01Bold";
font-size: 2.4rem; font-size: 2.4rem;
line-height: 3.8rem;
color: var(--color-primary); color: var(--color-primary);
float: left;
margin-top: 5px;
} }
.add-poll {
solid-link { solid-link {
float: right; display:flex;
margin-top: 10px; justify-content: end;
display: initial; margin-top: 30px;
margin-right: 75px; margin-right: 70px;
position: relative;
z-index: 1; z-index: 1;
position: relative;
.add-poll {
background-color: var(--color-add-button-background);
color: var(--color-add-button);
box-shadow: 0px 0px 4px 1px #CACACA; box-shadow: 0px 0px 4px 1px #CACACA;
height: 2rem;
font-size: 1.4rem;
text-transform: uppercase; text-transform: uppercase;
font-weight: 700; font-weight: 700;
padding: 0.55rem 2.5rem;
width: max-content;
line-height: 20px; line-height: 20px;
&::before { &::before {
font-family: "material-design-icons"; font-family: "material-design-icons";
@ -52,8 +50,7 @@ solid-poll > div {
display: block; display: block;
border-bottom: solid 1px #cacaca; border-bottom: solid 1px #cacaca;
height: 90px; height: 90px;
width: 650px; margin: 40px 25px 25px;
margin: 16px 25px 25px;
max-width: 85%; max-width: 85%;
solid-form-placeholder-text { solid-form-placeholder-text {
margin-left: 15px; margin-left: 15px;

View File

@ -20,7 +20,7 @@
color: var(--color-primary); color: var(--color-primary);
} }
.red-button { .red-button {
background-color: var(--color-secondary); background-color: var(--color-add-button-background);
} }
.black-button { .black-button {
background-color: var(--highlight-font-color); background-color: var(--highlight-font-color);