Skip to content

Commit

Permalink
Merge pull request #9 from swissbuechi/added-css-customization-support
Browse files Browse the repository at this point in the history
Added css customization support
  • Loading branch information
swissbuechi authored May 9, 2023
2 parents f4c9134 + bedff65 commit 1744619
Show file tree
Hide file tree
Showing 4 changed files with 112 additions and 112 deletions.
218 changes: 109 additions & 109 deletions static/application.css → static/css/application.css
Original file line number Diff line number Diff line change
@@ -1,110 +1,110 @@
* {
box-sizing: border-box;
}

.text-center {
text-align: center;
}

body {
min-width: 100vw;
min-height: 80vh;
font-family: 'Montserrat', sans-serif;
background-color: #5C666EFF;
-webkit-font-smoothing: antialiased;
display: grid;
margin: 0;
}

header {
align-items: center;
justify-content: center;
text-align: center;
}

main {
display: flex;
text-align: center;
justify-content: flex-start;
align-items: flex-start;
}

h1 {
font-weight: 400;
margin-bottom: 4px;
}

textarea {
border-radius: 6px;
border: none;
padding: 20px;
font-size: 20px;
transition: 50ms ease-in-out;
width: 100%;
height: 270px;
}

button {
cursor: pointer;
margin-top: 32px;
min-width: 210px;
color: white;
box-shadow: 0 2px 6px 0 rgba(5, 15, 44, 0.5);
padding: 0 20px;
display: inline-block;
border-radius: 50px;
font-size: 16px;
font-weight: 500;
height: 40px;
line-height: 40px;
border: none;
box-sizing: border-box;
position: relative;
transition: 200ms ease-in-out;
}

button:hover {
background-color: rgba(0, 103, 244, 0.7);
}

.container {
position: relative;
margin: 0 auto;
max-width: 800px;
width: 100vw;
}

.encrypt {
background-color: #0067f4;
}

.clipboard {
background-color: #0067f4;
}

.success-encrypted {
position: absolute;
top: 0;
opacity: 0;
visibility: hidden;
pointer-events: none;
width: 100%;
}

.subtitle {
margin-top: 4px;
margin-bottom: 32px;
opacity: .9;
font-weight: 400;
}

.send {
text-align: center;
color: white;
}

.logo {
margin: 10px;
height: 100px;
width: auto;
* {
box-sizing: border-box;
}

.text-center {
text-align: center;
}

body {
min-width: 100vw;
min-height: 80vh;
font-family: 'Montserrat', sans-serif;
background-color: #5C666EFF;
-webkit-font-smoothing: antialiased;
display: grid;
margin: 0;
}

header {
align-items: center;
justify-content: center;
text-align: center;
}

main {
display: flex;
text-align: center;
justify-content: flex-start;
align-items: flex-start;
}

h1 {
font-weight: 400;
margin-bottom: 4px;
}

textarea {
border-radius: 6px;
border: none;
padding: 20px;
font-size: 20px;
transition: 50ms ease-in-out;
width: 100%;
height: 270px;
}

button {
cursor: pointer;
margin-top: 32px;
min-width: 210px;
color: white;
box-shadow: 0 2px 6px 0 rgba(5, 15, 44, 0.5);
padding: 0 20px;
display: inline-block;
border-radius: 50px;
font-size: 16px;
font-weight: 500;
height: 40px;
line-height: 40px;
border: none;
box-sizing: border-box;
position: relative;
transition: 200ms ease-in-out;
}

button:hover {
background-color: rgba(0, 103, 244, 0.7);
}

.container {
position: relative;
margin: 0 auto;
max-width: 800px;
width: 100vw;
}

.encrypt {
background-color: #0067f4;
}

.clipboard {
background-color: #0067f4;
}

.success-encrypted {
position: absolute;
top: 0;
opacity: 0;
visibility: hidden;
pointer-events: none;
width: 100%;
}

.subtitle {
margin-top: 4px;
margin-bottom: 32px;
opacity: .9;
font-weight: 400;
}

.send {
text-align: center;
color: white;
}

.logo {
margin: 10px;
height: 100px;
width: auto;
}
2 changes: 1 addition & 1 deletion static/getmsg.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<!--Let browser know website is optimized for mobile-->
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<link href="https://fonts.cdnfonts.com/css/montserrat" rel="stylesheet">
<link href="/static/application.css" rel="stylesheet" />
<link href="/static/css/application.css" rel="stylesheet" />
</head>

<body>
Expand Down
2 changes: 1 addition & 1 deletion static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<!--Let browser know website is optimized for mobile-->
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<link href="https://fonts.cdnfonts.com/css/montserrat" rel="stylesheet">
<link href="/static/application.css" rel="stylesheet">
<link href="/static/css/application.css" rel="stylesheet">
</head>

<body>
Expand Down
2 changes: 1 addition & 1 deletion static/requestmsg.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<!--Let browser know website is optimized for mobile-->
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<link href="https://fonts.cdnfonts.com/css/montserrat" rel="stylesheet">
<link href="/static/application.css" rel="stylesheet" />
<link href="/static/css/application.css" rel="stylesheet" />
</head>

<body>
Expand Down

0 comments on commit 1744619

Please sign in to comment.