MINT-Projekt/assets/css/main.css

57 lines
1.5 KiB
CSS
Raw Normal View History

2021-12-05 13:04:53 +00:00
/*
* Copyright (C) 2021 Eichehome
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
2022-02-01 21:56:23 +00:00
/* Styling für Handy */
@import url(normalize.css);
2022-02-01 21:56:23 +00:00
/* Popupbox stylen */
.message {
2022-02-01 21:56:52 +00:00
width: 100%;
margin: 0 auto 15px;
padding: 4px 12px;
}
2022-02-01 21:56:23 +00:00
/* Aussehen im Erfolgsfall */
.message.error {
background-color: #ffdddd;
border-left: 6px solid #f44336;
}
2022-02-01 21:56:23 +00:00
/* Aussehen im Fehlerfall */
.message.sucsses {
background-color: #ddffdd;
border-left: 6px solid #4CAF50;
}
2022-02-01 21:56:23 +00:00
/* Position der Box */
.modal {
position: relative;
z-index: 1;
left: 0;
top: 0;
width: 100%;
}
@media screen and (min-width: 600px){
2022-02-01 21:56:52 +00:00
/* Anpassung an große Bildschirme */
.message{
2022-02-01 21:56:52 +00:00
max-width: 30em;
border-radius: 10px;
margin: 10px auto 15px;
}
.message.error {
border: 3px solid #f44336;
}
.message.sucsses {
border: 3px solid #4CAF50;
}
}