Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
midterm_princessgabi
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ysabella Panghulan
midterm_princessgabi
Commits
db551f44
Commit
db551f44
authored
May 13, 2023
by
Ysabella Panghulan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
created forms styling
parent
83378b85
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
71 additions
and
0 deletions
+71
-0
forms.css
widget_princessgabi/static/stylesheets/forms.css
+71
-0
No files found.
widget_princessgabi/static/stylesheets/forms.css
0 → 100644
View file @
db551f44
body
{
height
:
100vh
;
display
:
flex
;
align-items
:
center
;
background-color
:
#E9E3FE
;
}
.form
{
width
:
50%
;
margin-top
:
auto
;
margin-right
:
auto
;
margin-left
:
auto
;
padding
:
2rem
;
border-radius
:
0.5rem
;
background-color
:
white
;
}
.form
form
label
{
display
:
inline-block
;
vertical-align
:
middle
;
margin-bottom
:
10px
;
width
:
30%
;
text-align
:
left
;
padding-right
:
2rem
;
}
form
[
type
=
"text"
],
form
[
type
=
"number"
],
form
select
,
form
textarea
{
display
:
inline-block
;
vertical-align
:
middle
;
margin-bottom
:
10px
;
width
:
60%
;
padding
:
10px
;
border-radius
:
5px
;
border
:
1px
solid
#ccc
;
box-sizing
:
border-box
;
margin-bottom
:
20px
;
}
input
[
type
=
"submit"
]
{
display
:
block
;
background-color
:
#7448F6
;
margin
:
auto
;
padding
:
0.75rem
1.2rem
;
border-radius
:
0.4rem
;
cursor
:
pointer
;
border
:
1px
solid
#7448F6
;
transition
:
all
400ms
ease
;
color
:
white
;
}
input
[
type
=
"submit"
]
:hover
{
background-color
:
#E9E3FE
;
color
:
#7448F6
;
border-color
:
transparent
;
box-shadow
:
2px
2px
5px
rgba
(
0
,
0
,
0
,
0.3
);
transform
:
translateY
(
-5px
);
}
@media
only
screen
and
(
max-width
:
700px
)
{
form
[
type
=
"text"
],
form
[
type
=
"number"
],
form
select
,
form
textarea
{
width
:
100%
;
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment